summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/m32r_pcc.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-07-19 22:25:04 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-07-19 22:25:04 (GMT)
commite2df8b7f6665075f7fe93613897117743c7bf0ba (patch)
treefdab625d9866cfbbde1ca10d1e2dde4201632d5a /drivers/pcmcia/m32r_pcc.h
parentd6d9ca0fec6aea0f2e4064474a1c5cdbed873c63 (diff)
downloadlinux-fsl-qoriq-e2df8b7f6665075f7fe93613897117743c7bf0ba.tar.xz
ks8842: Fix ks8842_tx_frame() for 16bit case.
As reported by Andrew: drivers/net/ks8842.c: In function 'ks8842_handle_rx': drivers/net/ks8842.c:428: warning: 'status' may be used uninitialized in this function Just use the 32-bit status for all reads, and delete the useless cast to 'int' when reading a u16 into 'len'. Reported-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pcmcia/m32r_pcc.h')
0 files changed, 0 insertions, 0 deletions