commit | 0bdb1288fae54833367f00a1c76244a30731b8c9 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon May 02 10:11:43 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 03 14:11:15 2016 -0700 |
tree | 11fdbdc1022ed93a63f9dd6b2c4a60fda7cf2877 | |
parent | 9ec148da5fcb04456e883cb243fa1e872d47d385 [diff] |
staging: comedi: mite: use prefered form for passing a struct size Add a local variable to mite_buf_change() so that the prefered form of passing a struct size, sizeof(*p), can be used. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>