summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/libertas/if_sdio.c
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2013-03-05 17:13:44 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-11 21:21:05 +0400
commit564c526a1bed5e42b5cd52cfe1752c4296ef17a6 (patch)
treeab9c61808ef49e5804eb58d50bd0b96d05ef68c1 /drivers/net/wireless/libertas/if_sdio.c
parentaa1e1234826e21197f818ca0abf519775ad4eb5c (diff)
downloadlinux-564c526a1bed5e42b5cd52cfe1752c4296ef17a6.tar.xz
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 <dan.carpenter@oracle.com> Cc: stable <stable@vger.kernel.org> # 3.8 onwards Cc: Anders Blomdell <anders.blomdell@control.lth.se> Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wireless/libertas/if_sdio.c')
0 files changed, 0 insertions, 0 deletions