linux-yocto/fs/aufs
Bin Lan af6f5709fc fs/aufs: fix a build warning in sysrq.c when running make allyesconfig
When building linux yocto with allyesconfig, a build warning is found:

s/aufs/sysrq.c:120:27: error: initialization of ‘void (*)(u8)’ {aka
‘void (*)(unsigned char)’} from incompatible pointer type ‘void
(*)(int)’ [-Werror=incompatible-pointer-types]
  120 |         .handler        = au_sysrq,
      |                           ^~~~~~~~
fs/aufs/sysrq.c:120:27: note: (near initialization for
‘au_sysrq_op.handler’)
cc1: all warnings being treated as errors

The first parameter, key, in the function au_sysrq() is unused.
Therefore, change its type to u8.

Signed-off-by: Bin Lan <bin.lan.cn@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-06-11 11:19:33 -04:00
..
aufs.h
branch.c
branch.h
conf.mk
cpup.c
cpup.h
dbgaufs.c
dbgaufs.h
dcsub.c
dcsub.h
debug.c fs/aufs: fix a build error in debug.c when running make allyesconfig 2025-06-11 11:19:32 -04:00
debug.h
dentry.c
dentry.h
dinfo.c
dir.c
dir.h
dirren.c
dirren.h
dynop.c
dynop.h
export.c
f_op.c
fhsm.c
file.c
file.h
finfo.c
fsctx.c
fstype.h
hbl.h
hfsnotify.c
hfsplus.c
hnotify.c
i_op_add.c aufs6: adapt to v6.6 i_op->ctime changes 2023-11-20 23:33:20 -05:00
i_op_del.c aufs6: adapt to v6.6 i_op->ctime changes 2023-11-20 23:33:20 -05:00
i_op_ren.c aufs6: adapt to v6.6 i_op->ctime changes 2023-11-20 23:33:20 -05:00
i_op.c aufs6: adapt to v6.6 i_op->ctime changes 2023-11-20 23:33:20 -05:00
iinfo.c
inode.c
inode.h
ioctl.c
Kconfig
lcnt.h
loop.c
loop.h
magic.mk
Makefile aufs6: fix magic.mk include path 2023-11-20 23:33:19 -05:00
module.c
module.h
mvdown.c
opts.c
opts.h
plink.c
poll.c
posix_acl.c
procfs.c
rdu.c
rwsem.h
sbinfo.c
super.c
super.h
sysaufs.c
sysaufs.h
sysfs.c
sysrq.c fs/aufs: fix a build warning in sysrq.c when running make allyesconfig 2025-06-11 11:19:33 -04:00
vdir.c
vfsub.c
vfsub.h aufs6: adapt to v6.6 i_op->ctime changes 2023-11-20 23:33:20 -05:00
wbr_policy.c
whout.c
whout.h
wkq.c
wkq.h
xattr.c
xino.c