lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 20 Nov 2008 02:01:18 -0800 (PST) From: David Miller <davem@...emloft.net> To: harvey.harrison@...il.com Cc: jeff@...zik.org, netdev@...r.kernel.org Subject: Re: [PATCH] net: tulip/de2104x.c replace register macros with static inlines From: Harvey Harrison <harvey.harrison@...il.com> Date: Tue, 18 Nov 2008 13:35:53 -0800 > Signed-off-by: Harvey Harrison <harvey.harrison@...il.com> > --- > I noticed this while checking out the sparse warning about do-while not > being a compound statement, maybe a bit silly, but I had it done, so I'll > see if you want to apply it. Not really. :) This is a common idiom, hiting the device private pointer variable purely inside of the macro definition. Probably more than at least 10 drivers do this, and trust me it saves a lot of typing. :) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists