]> git.baikalelectronics.ru Git - kernel.git/commit
qlge: Fix sparse endian warning for inbound packet control block flags.
authorRon Mercer <ron.mercer@qlogic.com>
Tue, 6 Jan 2009 02:18:22 +0000 (18:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jan 2009 02:18:22 +0000 (18:18 -0800)
commita303ce0972d04036316e85568682a2b89fe123d9
treed532177ae6549de9d6360da8eb366d3de3add588
parent8306c952a523ad2f87c101427c3ece91176b822c
qlge: Fix sparse endian warning for inbound packet control block flags.

Changed flags element from __le32 to 3 reserved bytes and one byte of
flags.  Changed flags bit definitions to reflect byte width instead of
__le32 width.

Warnings:
drivers/net/qlge/qlge_main.c:1206:16: warning: restricted degrades to integer
drivers/net/qlge/qlge_main.c:1207:16: warning: restricted degrades to integer
drivers/net/qlge/qlge_main.c:1233:17: warning: restricted degrades to integer
drivers/net/qlge/qlge_main.c:1276:17: warning: restricted degrades to integer
drivers/net/qlge/qlge_main.c:1349:19: warning: restricted degrades to integer

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge.h
drivers/net/qlge/qlge_dbg.c