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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16/06/15 15:22, Gujulan Elango, Hari Prasath (H.) wrote:
From: Hari Prasath Gujulan Elango <hgujulan@xxxxxxxxxxx>

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@xxxxxxxxxxx>
---
  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@xxxxxxxxx> )=-
-=(                          Web: http://www.mev.co.uk/  )=-
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux