Re: [PATCH] gpio: mcp23s08: Trivial: Fixed coding style issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 12, 2014 at 9:16 PM, Gerhard Sittig <gsi@xxxxxxx> wrote:

>  'sizeof' is an operator, very much like a unary minus or
> unary ampersand which neither require parentheses.  So either of
> "sizeof(x)" as well as "sizeof x" are legal with regard to the C
> language.  It's just that the community prefers "sizeof(x)" for
> the improved readability.

You're right, amazingly. Thanks for teaching me something new
today!

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux