summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-08-11 18:33:54 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-08-12 10:57:59 -0700
commitbd72866b8da499e60633ff28f8a4f6e09ca78efe (patch)
tree1f7b056bf3d9722808933dce6e364f0a8fe36bbf /include
parentfe81417596fa8b6577fedb7e206ff3e4c7015c13 (diff)
downloadlinux-stable-bd72866b8da499e60633ff28f8a4f6e09ca78efe.tar.gz
linux-stable-bd72866b8da499e60633ff28f8a4f6e09ca78efe.tar.bz2
linux-stable-bd72866b8da499e60633ff28f8a4f6e09ca78efe.zip
alpha: fix annotation of io{read,write}{16,32}be()
These accessors must be used to read/write a big-endian bus. The value returned or written is native-endian. However, these accessors are defined using be{16,32}_to_cpu() or cpu_to_be{16,32}() to make the endian conversion but these expect a __be{16,32} when none is present. Keeping them would need a force cast that would solve nothing at all. So, do the conversion using swab{16,32}, like done in asm-generic for similar situations. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Matt Turner <mattst88@gmail.com> Cc: Stephen Boyd <sboyd@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de> Link: http://lkml.kernel.org/r/20200622114232.80039-1-luc.vanoostenryck@gmail.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions