[LinuxPPS] 12 Jul 21:33 - cifs: fix wksidarr declaration to be big-endian friendly
linuxpps: Jeff Layton <>
webmaster at enneenne.com
Sun Jul 20 13:15:07 CEST 2008
cifs: fix wksidarr declaration to be big-endian friendly
The current definition of wksidarr works fine on little endian arches
(since cpu_to_le32 is a no-op there), but on big-endian arches, it fails
to compile with this error:
error: braced-group within expression allowed only inside a function
The problem is that this static declaration has cpu_to_le32 embedded
within it, and that expands into a function macro. We need to use
__constant_cpu_to_le32() instead.
Signed-off-by: Jeff Layton
Cc: Steven French
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
fs/cifs/cifsacl.c
URL: http://gitweb.enneenne.com/?p=linuxpps;a=commit;h=536abdb0802f3fac1b217530741853843d63c281
More information about the LinuxPPS
mailing list