* [PATCH] Staging: comedi: fixed warning shown by checkpatch tool on cb_das16_cs.c file
@ 2014-05-19 16:11 Raghavendra Ganiga
2014-05-19 16:58 ` Ian Abbott
0 siblings, 1 reply; 2+ messages in thread
From: Raghavendra Ganiga @ 2014-05-19 16:11 UTC (permalink / raw)
To: abbotti, hsweeten, gregkh, devel; +Cc: linux-kernel, Raghavendra Ganiga
This is a patch to fix the warnings shown by checkpatch tool on
file cb_das16_cs.c
Signed-off-by: Raghavendra Chandra Ganiga <ravi23ganiga@gmail.com>
---
drivers/staging/comedi/drivers/cb_das16_cs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/comedi/drivers/cb_das16_cs.c b/drivers/staging/comedi/drivers/cb_das16_cs.c
index 645fcb0..eb1b92d 100644
--- a/drivers/staging/comedi/drivers/cb_das16_cs.c
+++ b/drivers/staging/comedi/drivers/cb_das16_cs.c
@@ -184,6 +184,7 @@ static int das16cs_ao_winsn(struct comedi_device *dev,
for (bit = 15; bit >= 0; bit--) {
int b = (d >> bit) & 0x1;
+
b <<= 1;
outw(status1 | b | 0x0000, dev->iobase + DAS16CS_MISC1);
udelay(1);
--
1.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging: comedi: fixed warning shown by checkpatch tool on cb_das16_cs.c file
2014-05-19 16:11 [PATCH] Staging: comedi: fixed warning shown by checkpatch tool on cb_das16_cs.c file Raghavendra Ganiga
@ 2014-05-19 16:58 ` Ian Abbott
0 siblings, 0 replies; 2+ messages in thread
From: Ian Abbott @ 2014-05-19 16:58 UTC (permalink / raw)
To: Raghavendra Ganiga, hsweeten, gregkh, devel; +Cc: linux-kernel
On 2014-05-19 17:11, Raghavendra Ganiga wrote:
> This is a patch to fix the warnings shown by checkpatch tool on
> file cb_das16_cs.c
>
> Signed-off-by: Raghavendra Chandra Ganiga <ravi23ganiga@gmail.com>
> ---
> drivers/staging/comedi/drivers/cb_das16_cs.c | 1 +
> 1 file changed, 1 insertion(+)
Thanks!
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@mev.co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-19 16:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-19 16:11 [PATCH] Staging: comedi: fixed warning shown by checkpatch tool on cb_das16_cs.c file Raghavendra Ganiga
2014-05-19 16:58 ` Ian Abbott
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.