[PATCH 14/17] sfc: Clean up efx_nic::irq_zero_count

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ben Hutchings
Date: Wednesday, April 28, 2010 - 12:30 pm

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>
---
 drivers/net/sfc/net_driver.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h
index bdea03c..d68331c 100644
--- a/drivers/net/sfc/net_driver.h
+++ b/drivers/net/sfc/net_driver.h
@@ -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).
@@ -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;
-- 
1.6.2.5


-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 06/17] sfc: Extend the legacy interrupt workarounds, Ben Hutchings, (Wed Apr 28, 12:28 pm)
[PATCH 10/17] sfc: Update MCDI protocol definitions, Ben Hutchings, (Wed Apr 28, 12:29 pm)
[PATCH 14/17] sfc: Clean up efx_nic::irq_zero_count, Ben Hutchings, (Wed Apr 28, 12:30 pm)
[PATCH 16/17] sfc: Test only the first pair of TX queues, Ben Hutchings, (Wed Apr 28, 12:30 pm)
[PATCH 17/17] sfc: Create multiple TX queues, Ben Hutchings, (Wed Apr 28, 12:30 pm)
Re: [PATCH 10/17] sfc: Update MCDI protocol definitions, David Miller, (Wed Apr 28, 12:46 pm)
Re: [PATCH 14/17] sfc: Clean up efx_nic::irq_zero_count, David Miller, (Wed Apr 28, 12:46 pm)
Re: [PATCH 17/17] sfc: Create multiple TX queues, David Miller, (Wed Apr 28, 12:46 pm)