diff options
author | Pali Rohár <pali@kernel.org> | 2024-12-25 17:54:22 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2025-01-20 04:34:00 +0300 |
commit | 4e2ee328291585b7224ac8cc025625841ccfbf03 (patch) | |
tree | f4f22dd3e1edd174459f988a091c4fcb080fc59b /lib/mpi/mpi-sub-ui.c | |
parent | 015683d4ed0d23698c71f2194f09bd17dbfad044 (diff) | |
download | linux-4e2ee328291585b7224ac8cc025625841ccfbf03.tar.xz |
cifs: Fix endian types in struct rfc1002_session_packet
All fields in struct rfc1002_session_packet are in big endian. This is
because all NetBIOS packet headers are in big endian as opposite of SMB
structures which are in little endian.
Therefore use __be16 and __be32 types instead of __u16 and __u32 in
struct rfc1002_session_packet.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions