* [PATCH 2/2] staging: comedi: drivers.c: Fix missing a blank line, after declarations warning
@ 2014-03-31 20:55 Yves Deweerdt
0 siblings, 0 replies; only message in thread
From: Yves Deweerdt @ 2014-03-31 20:55 UTC (permalink / raw)
To: linux-kernel; +Cc: Ian Abbott, H Hartley Sweeten, Greg Kroah-Hartman, devel
Signed-off-by: Yves Deweerdt <yves.deweerdt.linux@gmail.com>
---
drivers/staging/comedi/drivers.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/comedi/drivers.c b/drivers/staging/comedi/drivers.c
index ab0e8ed..cb5d214 100644
--- a/drivers/staging/comedi/drivers.c
+++ b/drivers/staging/comedi/drivers.c
@@ -258,6 +258,7 @@ static int insn_rw_emulate_bits(struct comedi_device *dev,
const unsigned base_bitfield_channel =
(chan < channels_per_bitfield) ? 0 : chan;
unsigned int new_data[2];
+
memset(new_data, 0, sizeof(new_data));
memset(&new_insn, 0, sizeof(new_insn));
new_insn.insn = INSN_BITS;
--
1.8.3.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-03-31 20:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-31 20:55 [PATCH 2/2] staging: comedi: drivers.c: Fix missing a blank line, after declarations warning Yves Deweerdt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox