summaryrefslogtreecommitdiffstats
path: root/Documentation/sgi-visws.txt
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2010-10-28 03:03:47 +0200
committerGrant Likely <grant.likely@secretlab.ca>2010-12-24 09:25:54 +0100
commit194588604765ac803f98fb9d19a36f6b835f4620 (patch)
tree940c6a26436c7dfa38152a8479d0641e9a19d7df /Documentation/sgi-visws.txt
parentof/address: use proper endianess in get_flags (diff)
downloadlinux-194588604765ac803f98fb9d19a36f6b835f4620.tar.xz
linux-194588604765ac803f98fb9d19a36f6b835f4620.zip
of/mdio: Fix some endianness problems.
In of_mdiobus_register(), the __be32 *addr variable is dereferenced. This will not work on little-endian targets. Also since it is unsigned, checking for less than zero is redundant. Fix these two issues. Signed-off-by: David Daney <ddaney@caviumnetworks.com> [grant.likely@secretlab.ca: removed goto] Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation/sgi-visws.txt')
0 files changed, 0 insertions, 0 deletions