Skip to content

Commit

Permalink
sfc: Clean up efx_nic::irq_zero_count
Browse files Browse the repository at this point in the history
There is no need for this to be unsigned long; make it unsigned int.
It does need a line in kernel-doc, so add that.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Apr 28, 2010
1 parent 3d07df1 commit c28884c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/sfc/net_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ union efx_multicast_hash {
* This register is written with the SMP processor ID whenever an
* interrupt is handled. It is used by efx_nic_test_interrupt()
* to verify that an interrupt has occurred.
* @irq_zero_count: Number of legacy IRQs seen with queue flags == 0
* @fatal_irq_level: IRQ level (bit number) used for serious errors
* @spi_flash: SPI flash device
* This field will be %NULL if no flash device is present (or for Siena).
Expand Down Expand Up @@ -756,7 +757,7 @@ struct efx_nic {

struct efx_buffer irq_status;
volatile signed int last_irq_cpu;
unsigned long irq_zero_count;
unsigned irq_zero_count;
unsigned fatal_irq_level;

struct efx_spi_device *spi_flash;
Expand Down

0 comments on commit c28884c

Please sign in to comment.