Thread (50 messages) 50 messages, 7 authors, 2015-09-30

Re: [PATCH 02/23] usb-gadget: use per-attribute show and store methods

From: Felipe Balbi <hidden>
Date: 2015-09-30 16:32:19

On Wed, Sep 30, 2015 at 12:20:46PM -0400, Tejun Heo wrote:
On Wed, Sep 30, 2015 at 11:19:25AM -0500, Felipe Balbi wrote:
quoted
On Mon, Sep 28, 2015 at 03:35:14PM +0200, Christoph Hellwig wrote:
quoted
On Sun, Sep 27, 2015 at 10:50:53AM -0500, Felipe Balbi wrote:
quoted
this (and the other helper below) could be macros just fine.
They could, but they shouldn't.  Inlines are always preferable over
function-like macros.
says who ? And why ?
Documentation/CodingStyle
container_of() is type-safe, what is an inline function bringing as benefit ?

-- 
balbi

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help