aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2013-03-05 13:13:44 +0000
committerGreg Kroah-Hartman <[email protected]>2013-03-11 17:21:05 +0000
commit564c526a1bed5e42b5cd52cfe1752c4296ef17a6 (patch)
treeab9c61808ef49e5804eb58d50bd0b96d05ef68c1 /net/unix/af_unix.c
parentstaging/vt6656: Fix too large integer constant warning on 32-bit (diff)
downloadkernel-564c526a1bed5e42b5cd52cfe1752c4296ef17a6.tar.gz
kernel-564c526a1bed5e42b5cd52cfe1752c4296ef17a6.zip
staging: comedi: dt9812: use CR_CHAN() for channel number
As pointed out by Dan Carpenper in <http://driverdev.linuxdriverproject.org/pipermail/devel/2013-February/036025.html>, the dt9812 comedi driver's use of the `chanspec` member of `struct comedi_insn` as a channel number is incorrect. Change it to use `CR_CHAN(insn->chanspec)` as the channel number (where `insn` is a pointer to the `struct comedi_insn` being processed). Reported-by: Dan Carpenter <[email protected]> Cc: stable <[email protected]> # 3.8 onwards Cc: Anders Blomdell <[email protected]> Signed-off-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions