diff options
author | Jeff Layton <jlayton@redhat.com> | 2008-07-12 13:48:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-12 14:33:42 -0700 |
commit | 536abdb0802f3fac1b217530741853843d63c281 (patch) | |
tree | 17697bc4a3f4a05ebb5e134bc8d89985cf27c92d /drivers/char/briq_panel.c | |
parent | e911d0cc877ff027d5bd09fc33148ab76f0fdf0e (diff) |
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 <jlayton@redhat.com>
Cc: Steven French <sfrench@us.ibm.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/briq_panel.c')
0 files changed, 0 insertions, 0 deletions