summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorQianfeng Rong <rongqianfeng@vivo.com>2025-08-29 16:37:48 +0300
committerMikulas Patocka <mpatocka@redhat.com>2025-09-02 12:19:12 +0300
commit4466dd3d719cca113308e8ae539adf7b3d68c985 (patch)
tree457a3e72d326fdcf8da6aad788c50884db8266b4 /net/unix/af_unix.c
parent9f5c33bdddcdb1d83a38cb3ff405dba8c9fde9b8 (diff)
downloadlinux-4466dd3d719cca113308e8ae539adf7b3d68c985.tar.xz
dm-pcache: use int type to store negative error codes
Change the 'ret' variable from u32 to int to store negative error codes or zero returned by cache_kset_close(). Storing the negative error codes in unsigned type, doesn't cause an issue at runtime but it's ugly. Additionally, assigning negative error codes to unsigned type may trigger a GCC warning when the -Wsign-conversion flag is enabled. No effect on runtime. Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions