diff options
author | Sven Van Asbroeck <thesven73@gmail.com> | 2019-04-30 11:25:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-30 17:40:34 +0200 |
commit | be7d6b03602eb0d3dccae0bbce4c796526c51661 (patch) | |
tree | 582cacc61eff89e6541d479d977c22b796061df9 /init | |
parent | d5d66cfea2ca281d53e63360b459f84b5fff5e12 (diff) |
staging: fieldbus: anybus-s: keep device bus id in bus endianness
"Normal" bus structures such as USB or PCI keep device bus ids
in bus endinanness, and driver bus ids in host endianness.
Endianness conversion happens each time bus_match() is called.
Modify anybus-s to conform to this pattern. As a pleasant side-
effect, sparse warnings will now disappear.
This was suggested by Al Viro.
Link: https://lkml.org/lkml/2019/4/30/834
Signed-off-by: Sven Van Asbroeck <TheSven73@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions