1. 10 8月, 2010 3 次提交
    • D
      qlcnic: clean up qlcnic_init_pci_info() · ca315ac2
      Dan Carpenter 提交于
      In the original code we allocated memory conditionally and freed it in
      the error handling unconditionally.  It turns out that this function is
      only called during initialization and "adapter->npars" and
      "adapter->eswitch" are always NULL at the start of the function.  I
      removed those checks.
      
      Also since I was cleaning things, I changed the error handling for
      qlcnic_get_pci_info() and pulled everything in an indent level.
      Signed-off-by: NDan Carpenter <error27@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ca315ac2
    • R
      phy.c: fix kernel-doc warnings · 00c7d920
      Randy Dunlap 提交于
      Fix phy.c kernel-doc notation:
      
      Warning(drivers/net/phy/phy.c:313): No description found for parameter 'ifr'
      Warning(drivers/net/phy/phy.c:313): Excess function parameter 'mii_data' description in 'phy_mii_ioctl'
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      00c7d920
    • D
      farsync: Fix compile warnings. · 5d337d6f
      David S. Miller 提交于
      drivers/net/wan/farsync.c: In function 'fst_intr_rx':
      drivers/net/wan/farsync.c:1312: warning: cast to pointer from integer of different size
      drivers/net/wan/farsync.c: In function 'do_bottom_half_tx':
      drivers/net/wan/farsync.c:1407: warning: cast to pointer from integer of different size
      
      The "skb" and "mem" arguments being passed here are DMA addresses
      being programmed into the hardware registers, so pass them as the type
      that they actually are.  And use the correct printf formatting in
      debug logging statements for these things to match the type change.
      Reported-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5d337d6f
  2. 09 8月, 2010 2 次提交
  3. 08 8月, 2010 4 次提交
  4. 07 8月, 2010 2 次提交
  5. 06 8月, 2010 6 次提交
  6. 05 8月, 2010 23 次提交