summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/compression.c
diff options
context:
space:
mode:
authorSebastian Siewior <bigeasy@linutronix.de>2010-12-01 00:54:46 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-12-09 05:36:30 +0100
commit982cf00412a890ca738c2d78528b652ca431ad1a (patch)
tree794ebad40110ab26fc2a490fd61bdad60a001605 /fs/btrfs/compression.c
parentpowerpc/pci: Use printf extension %pR for struct resource (diff)
downloadlinux-982cf00412a890ca738c2d78528b652ca431ad1a.tar.xz
linux-982cf00412a890ca738c2d78528b652ca431ad1a.zip
of/address: Use propper endianess in get_flags
This patch changes u32 to __be32 for all "ranges", "prop" and "addr" and such. Those variables are pointing to the device tree which containts intergers in big endian format. Most functions are doing it right because of_read_number() is doing the right thing for them. of_bus_isa_get_flags(), of_bus_pci_get_flags() and of_bus_isa_map() were accessing the data directly and were doing it wrong. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions