mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-12-18 08:36:21 +01:00
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>
|
||
|---|---|---|
| .. | ||
| aufs.h | ||
| branch.c | ||
| branch.h | ||
| conf.mk | ||
| cpup.c | ||
| cpup.h | ||
| dbgaufs.c | ||
| dbgaufs.h | ||
| dcsub.c | ||
| dcsub.h | ||
| debug.c | ||
| 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 | ||
| i_op_del.c | ||
| i_op_ren.c | ||
| i_op.c | ||
| iinfo.c | ||
| inode.c | ||
| inode.h | ||
| ioctl.c | ||
| Kconfig | ||
| lcnt.h | ||
| loop.c | ||
| loop.h | ||
| magic.mk | ||
| Makefile | ||
| 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 | ||
| vdir.c | ||
| vfsub.c | ||
| vfsub.h | ||
| wbr_policy.c | ||
| whout.c | ||
| whout.h | ||
| wkq.c | ||
| wkq.h | ||
| xattr.c | ||
| xino.c | ||