]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] i4l: warning fixes
authorKarsten Keil <kkeil@suse.de>
Fri, 3 Feb 2006 11:04:48 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:11 +0000 (08:32 -0800)
commit473a2a0ef9c7b8272eefa8d7b1b7443d240258cc
tree97a6798ce4481c485a4d258e656be08c90636299
parentfc068c8ad2883528d6698925b62c5405d4a3cd7d
[PATCH] i4l: warning fixes

drivers/isdn/hisax/hscx_irq.c: In function `hscx_interrupt':
drivers/isdn/hisax/hscx_irq.c:201: warning: comparison is always 1 due to width of bit-field

It's due to

(PACKET_NOACK != bcs->tx_skb->pkt_type)

pkt_type is only three bit wide.

I think this should fix it for the moment, pkt_type 7 is not used yet and
this is only used internal in hisax.

Signed-off-by: Karsten keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/isdn/hisax/hisax.h