From: Ricardo Ribalda Delgado
Date: Thu, 29 Jan 2015 15:52:02 +0100
> Function like macros cannot be assigned to function pointers. This patch
> convert the function-like macros into object-macros, that the
> precompiler will replace with the name of the final function.
>
> With this patch this
From: Ricardo Ribalda Delgado ricardo.riba...@gmail.com
Date: Thu, 29 Jan 2015 15:52:02 +0100
Function like macros cannot be assigned to function pointers. This patch
convert the function-like macros into object-macros, that the
precompiler will replace with the name of the final function.
Hello Arnd
On Thu, Jan 29, 2015 at 5:02 PM, Arnd Bergmann wrote:
> I suspect such code is broken on a lot of platforms:
>
> arch/alpha/include/asm/io.h:#define ioread32be(p) be32_to_cpu(ioread32(p))
> arch/arm/include/asm/io.h:#define ioread32be(p) ({ __u32 __v =
> be32_to_cpu((__force
On Thursday 29 January 2015 15:52:02 Ricardo Ribalda Delgado wrote:
> Function like macros cannot be assigned to function pointers. This patch
> convert the function-like macros into object-macros, that the
> precompiler will replace with the name of the final function.
>
> With this patch this
Function like macros cannot be assigned to function pointers. This patch
convert the function-like macros into object-macros, that the
precompiler will replace with the name of the final function.
With this patch this kind of code will work:
if (priv->mode_big_endian)
priv.read =
Hello Arnd
On Thu, Jan 29, 2015 at 5:02 PM, Arnd Bergmann a...@arndb.de wrote:
I suspect such code is broken on a lot of platforms:
arch/alpha/include/asm/io.h:#define ioread32be(p) be32_to_cpu(ioread32(p))
arch/arm/include/asm/io.h:#define ioread32be(p) ({ __u32 __v =
Function like macros cannot be assigned to function pointers. This patch
convert the function-like macros into object-macros, that the
precompiler will replace with the name of the final function.
With this patch this kind of code will work:
if (priv-mode_big_endian)
priv.read =
On Thursday 29 January 2015 15:52:02 Ricardo Ribalda Delgado wrote:
Function like macros cannot be assigned to function pointers. This patch
convert the function-like macros into object-macros, that the
precompiler will replace with the name of the final function.
With this patch this kind
8 matches
Mail list logo