Thread (20 messages) flat view 20 messages, 5 authors, 2014-01-09

Re: [net-next 3/7] ixgbe: Use static inlines instead of macros

From: Scott Feldman <hidden>
Date: 2014-01-08 08:47:53

On Jan 7, 2014, at 11:40 PM, Aaron Brown [off-list ref] wrote:
From: Mark Rustad <redacted>

-#define IXGBE_WRITE_REG(a, reg, value) writel((value), ((a)->hw_addr + (reg)))
+static inline void IXGBE_WRITE_REG(struct ixgbe_hw *hw, u32 reg, u32 value)
Bummer, now you have a all-caps func name.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help