]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifsd: fix memdup.cocci warnings
authorkernel test robot <lkp@intel.com>
Fri, 2 Apr 2021 03:17:24 +0000 (12:17 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Mon, 12 Apr 2021 05:32:21 +0000 (14:32 +0900)
commit94d2b51fafab9d1a1f214f61e407498caf850658
treec8bac474da4943221b8fb230d8ac4596b1ebe3aa
parentf2f0c0a2026a4b227736e4531cecaa8969efa5d4
cifsd: fix memdup.cocci warnings

fs/cifsd/smb2pdu.c:1177:27-34: WARNING opportunity for kmemdup

 Use kmemdup rather than duplicating its implementation

Generated by: scripts/coccinelle/api/memdup.cocci

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/smb2pdu.c