Re: Linux-wireless: why use macro to call functions

2013-12-22 Thread Daniel Baluta
On Mon, Dec 23, 2013 at 8:05 AM, Fred Chou wrote: > Hi, > > I was studying the Linux wireless subsystem code and noticed this code (in > ieee80211_rx_handlers): > > It first defines the macro: > > #define CALL_RXH(rxh) \ > do {\ > res = rxh(rx); \

Linux-wireless: why use macro to call functions

2013-12-22 Thread Fred Chou
Hi, I was studying the Linux wireless subsystem code and noticed this code (in ieee80211_rx_handlers): It first defines the macro: #define CALL_RXH(rxh) \ do {\ res = rxh(rx); \ if (res != RX_CONTINUE) \ goto rx

Re: how to find kernel patch applied on existing build kernel

2013-12-22 Thread Alexandru Juncu
On 22 December 2013 06:56, Vipul Jain wrote: > Hi, > > If I would like to find out if any particular build kernel has a particular > patch applied to that kernel how to go about it? > > Regards, > Vipul. Hello! You can do a git log on the kernel's repo and see when it was applied. Or do a git