]> git.baikalelectronics.ru Git - kernel.git/commit
bna: fix sparse warnings/errors
authorstephen hemminger <shemminger@vyatta.com>
Wed, 4 Jan 2012 13:02:24 +0000 (13:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jan 2012 18:23:00 +0000 (13:23 -0500)
commitabce37b0a5b5c0d986045a87fe96d847eeaccdb1
tree60caa3f37801b440f2918c05ae838e9480482f43
parentdacd7f183a5b56696370e9b7836b5053177a424c
bna: fix sparse warnings/errors

This fixes a several sparse warnings.
  * the __iomem tag was being used incorrectly (needs to be a prefix)
  * several variables should have been static since local to one file
  * the firmware was not being forwared declared
    and was const one place and not the other

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bna_types.h
drivers/net/ethernet/brocade/bna/bnad.c
drivers/net/ethernet/brocade/bna/bnad.h
drivers/net/ethernet/brocade/bna/cna_fwimg.c