Skip to content
Commit 14ab9b86 authored by Peter Hagervall's avatar Peter Hagervall Committed by David S. Miller
Browse files

[BNX2]: Possible sparse fixes, take two



This patch contains the following possible cleanups/fixes:

- use C99 struct initializers
- make a few arrays and structs static
- remove a few uses of literal 0 as NULL pointer
- use convenience function instead of cast+dereference in bnx2_ioctl()
- remove superfluous casts to u8 * in calls to readl/writel

Signed-off-by: default avatarPeter Hagervall <hager@cs.umu.se>
Acked-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 07dc3f07
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment