claw: fix minor findings from code analysis tool
authorAndrew H. Richter <richtera@us.ibm.com>
Tue, 24 Mar 2009 03:27:51 +0000 (03:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2009 22:24:50 +0000 (15:24 -0700)
commitb9d2fceecb6afd9dead4fd2488a543b302a3272e
treeddfa9fc2bea3673c141f01eac894b77f20f2290a
parente2fc8cb4fedf57a63c05cd1e0f6e4f0e0238614a
claw: fix minor findings from code analysis tool

This patch fixes two problems in the claw driver identified by
static code analysis:
o Change in case differentiation of received sense codes
o Use correct data length in claw hard_start_xmit routine

Signed-off-by: Andrew H. Richter <richtera@us.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/claw.c