Skip to contentSkip to conversation

RDMA/nes: Fix for a Sparse generated warning

PATCH New Tatyana Nikolova 1 participant 1 message Dec 7, 2011 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RDMA/nes: Fix for a Sparse generated warning

Fix for a source code warning generated by Sparse

---
 drivers/infiniband/hw/nes/nes_utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/infiniband/hw/nes/nes_utils.c +1 -1
index cd10968..8b4c2ff 100644
@@ -56,7 +56,7 @@ static u16 nes_read16_eeprom(void __iomem *addr, u16 offset);
 u32 mh_detected;
 u32 mh_pauses_sent;
 
-u32 nes_set_pau(struct nes_device *nesdev)
+static u32 nes_set_pau(struct nes_device *nesdev)
 {
 	u32 ret = 0;
 	u32 counter;
Signature · 6 lines
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html