]> Gentwo Git Trees - linux/.git/commit
smb: fix some warnings reported by scripts/checkpatch.pl
authorChenXiaoSong <chenxiaosong@kylinos.cn>
Sun, 2 Nov 2025 07:30:59 +0000 (15:30 +0800)
committerSteve French <stfrench@microsoft.com>
Mon, 1 Dec 2025 03:11:45 +0000 (21:11 -0600)
commite7e60e8bfcc5bfff0dc40a3b8ab275a4da6990a0
tree296a1cc59f77f1559689a4a32cdee5420b6e5bee
parent95e8c1bfa56ebbc243779ee23782b30744da02f6
smb: fix some warnings reported by scripts/checkpatch.pl

Fix the following warnings:

  WARNING: __always_unused or __maybe_unused is preferred over \
                                    __attribute__((__unused__))
  WARNING: Prefer __packed over __attribute__((packed))

Signed-off-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifspdu.h
fs/smb/client/connect.c
fs/smb/client/ntlmssp.h
fs/smb/client/rfc1002pdu.h
fs/smb/common/smbacl.h