]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Use help macro to get the header preamble size
authorZhang Xiaoxu <zhangxiaoxu5@huawei.com>
Tue, 23 Aug 2022 12:52:00 +0000 (20:52 +0800)
committerSteve French <stfrench@microsoft.com>
Thu, 25 Aug 2022 03:29:59 +0000 (22:29 -0500)
commit116a89d3ee7ffefe9bd8811b9ea2d065e94f4b09
tree2ff02511b4a0cb0b131b3927dc5b785762b06735
parentbba95d7cef42dab28d873d66e37e818e84c19b23
cifs: Use help macro to get the header preamble size

It's better to use HEADER_PREAMBLE_SIZE because the unfolded expression
too long. No actual functional changes, minor readability improvement.

Signed-off-by: Zhang Xiaoxu <zhangxiaoxu5@huawei.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsencrypt.c
fs/cifs/cifsglob.h
fs/cifs/connect.c
fs/cifs/transport.c