[PATCH] staging: comedi: fix warning to use BIT Macro

Ian Abbott abbotti at mev.co.uk
Tue Jun 16 16:07:22 UTC 2015


On 16/06/15 15:22, Gujulan Elango, Hari Prasath (H.) wrote:
> From: Hari Prasath Gujulan Elango <hgujulan at visteon.com>
>
> This patch fixes the checkpatch warning that suggests to use the BIT
> macro for the shifting operation.
>
> Signed-off-by: Hari Prasath Gujulan Elango <hgujulan at visteon.com>
> ---
>   drivers/staging/comedi/comedi.h | 10 +++++-----
>   1 file changed, 5 insertions(+), 5 deletions(-)

The comedi.h file is intended to end up in include/uapi/linux/ 
eventually, and I don't think the BIT macro is supposed to be used there.

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-


More information about the devel mailing list