summaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-07-12 22:48:00 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-12 23:33:42 +0200
commit536abdb0802f3fac1b217530741853843d63c281 (patch)
tree17697bc4a3f4a05ebb5e134bc8d89985cf27c92d /lib/bitmap.c
parentcifs: fix inode leak in cifs_get_inode_info_unix (diff)
downloadlinux-536abdb0802f3fac1b217530741853843d63c281.tar.xz
linux-536abdb0802f3fac1b217530741853843d63c281.zip
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 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions