Buildresult: linus/axs103_smp_defconfig/arcv2-gcc6 built on Jun 5 2020, 16:23
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Jun 5 2020, 16:23
Duration:
0:02:58.653172
Builder:
ka1
Revision:
Merge branch 'exec-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace (
15a2bc4dbb9cfed1c661a657fcb10798150b7598)
Target:
linus/axs103_smp_defconfig/arcv2-gcc6
Branch:
linus
Compiler:
arcv2-gcc6
(arc-linux-gcc.br_real (Buildroot 2016.11-git-00613-ge98b4dd) 6.2.1 20160824 / GNU ld (GNU Binutils) 2.27.51.20160928)
Config:
axs103_smp_defconfig
(
download
)
Log:
Download original
Possible errors
#define KERN_ERR KERN_SOH "3" /* error conditions */ kernel/module.c:3593:2: error: implicit declaration of function 'module_enable_ro' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:267: kernel/module.o] Error 1 make[1]: *** [Makefile:1735: kernel] Error 2 #define KERN_ERR KERN_SOH "3" /* error conditions */ #define KERN_ERR KERN_SOH "3" /* error conditions */ #define KERN_ERR KERN_SOH "3" /* error conditions */ make: *** [Makefile:180: sub-make] Error 2
Possible warnings (102)
init/main.c:612:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] init/main.c:616:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] init/main.c:1083:37: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type '__kernel_size_t {aka unsigned int}' [-Wformat=] init/main.c:1281:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/dev_printk.h:232:23: warning: format '%zu' expects argument of type 'size_t', but argument 8 has type 'unsigned int' [-Wformat=] kernel/dma/direct.c:407:9: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=] include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=] mm/percpu.c:1306:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:1321:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:1328:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:1334:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:1593:17: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] mm/percpu.c:1593:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=] #define KERN_WARNING KERN_SOH "4" /* warning conditions */ include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] #define KERN_WARNING KERN_SOH "4" /* warning conditions */ mm/percpu.c:2166:27: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:2166:32: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] mm/percpu.c:2166:37: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] mm/percpu.c:2166:42: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] mm/percpu.c:2166:52: warning: format '%zu' expects argument of type 'size_t', but argument 7 has type 'unsigned int' [-Wformat=] mm/percpu.c:2166:56: warning: format '%zu' expects argument of type 'size_t', but argument 8 has type 'unsigned int' [-Wformat=] mm/percpu.c:2297:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:2303:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:2309:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:2315:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=] include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast mm/dmapool.c:93:46: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] mm/dmapool.c:93:51: warning: format '%zu' expects argument of type 'size_t', but argument 7 has type 'unsigned int' [-Wformat=] drivers/tty/n_tty.c:2037:14: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] drivers/tty/n_tty.c:2037:14: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] drivers/tty/n_tty.c:2037:14: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] drivers/tty/n_tty.c:2037:14: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] drivers/tty/n_tty.c:2059:14: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] drivers/tty/n_tty.c:2059:14: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] drivers/tty/n_tty.c:2059:14: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] drivers/tty/n_tty.c:2059:14: warning: format '%zu' expects argument of type 'size_t', but argument 7 has type 'unsigned int' [-Wformat=] drivers/tty/n_tty.c:2059:14: warning: format '%zu' expects argument of type 'size_t', but argument 8 has type 'unsigned int' [-Wformat=] include/linux/kern_levels.h:5:18: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=] include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast fs/ext4/xattr.c:482:8: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] drivers/base/regmap/regmap.c:1534:22: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] drivers/gpu/drm/drm_dp_helper.c:757:18: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] drivers/gpu/drm/drm_dp_helper.c:790:18: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] drivers/gpu/drm/drm_dp_helper.c:844:18: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] drivers/base/regmap/regcache.c:715:20: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] include/linux/kern_levels.h:5:18: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'size_t {aka const unsigned int}' [-Wformat=] drivers/base/component.c:195:24: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] drivers/gpu/drm/drm_dp_dual_mode_helper.c:203:16: warning: format '%zd' expects argument of type 'signed size_t', but argument 5 has type 'ssize_t {aka int}' [-Wformat=] drivers/gpu/drm/drm_dp_dual_mode_helper.c:222:16: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'ssize_t {aka int}' [-Wformat=] include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast include/linux/overflow.h:59:15: warning: comparison of distinct pointer types lacks a cast include/linux/overflow.h:60:15: warning: comparison of distinct pointer types lacks a cast drivers/dma-buf/dma-buf.c:404:26: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] include/drm/drm_print.h:120:24: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] drivers/usb/host/ehci-q.c:376:2: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] drivers/usb/host/ehci-q.c:376:2: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] net/sunrpc/xprtsock.c:2481:16: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast drivers/gpu/drm/drm_atomic_uapi.c:131:21: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] drivers/gpu/drm/drm_managed.c:67:23: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] include/linux/overflow.h:59:15: warning: comparison of distinct pointer types lacks a cast include/linux/overflow.h:60:15: warning: comparison of distinct pointer types lacks a cast drivers/gpu/drm/drm_managed.c:205:23: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] drivers/gpu/drm/drm_gem_cma_helper.c:108:21: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] drivers/gpu/drm/drm_gem_cma_helper.c:503:18: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] net/sunrpc/svc.c:1440:33: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=] include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast fs/buffer.c:229:10: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=]
Full Log
# git rev-parse -q --verify 15a2bc4dbb9cfed1c661a657fcb10798150b7598^{commit} 15a2bc4dbb9cfed1c661a657fcb10798150b7598 already have revision, skipping fetch # git checkout -q -f -B kisskb 15a2bc4dbb9cfed1c661a657fcb10798150b7598 # git clean -qxdf # < git log -1 # commit 15a2bc4dbb9cfed1c661a657fcb10798150b7598 # Merge: 9ff7258575d5 3977e285ee89 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Thu Jun 4 14:07:08 2020 -0700 # # Merge branch 'exec-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace # # Pull execve updates from Eric Biederman: # "Last cycle for the Nth time I ran into bugs and quality of # implementation issues related to exec that could not be easily be # fixed because of the way exec is implemented. So I have been digging # into exec and cleanup up what I can. # # I don't think I have exec sorted out enough to fix the issues I # started with but I have made some headway this cycle with 4 sets of # changes. # # - promised cleanups after introducing exec_update_mutex # # - trivial cleanups for exec # # - control flow simplifications # # - remove the recomputation of bprm->cred # # The net result is code that is a bit easier to understand and work # with and a decrease in the number of lines of code (if you don't count # the added tests)" # # * 'exec-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace: (24 commits) # exec: Compute file based creds only once # exec: Add a per bprm->file version of per_clear # binfmt_elf_fdpic: fix execfd build regression # selftests/exec: Add binfmt_script regression test # exec: Remove recursion from search_binary_handler # exec: Generic execfd support # exec/binfmt_script: Don't modify bprm->buf and then return -ENOEXEC # exec: Move the call of prepare_binprm into search_binary_handler # exec: Allow load_misc_binary to call prepare_binprm unconditionally # exec: Convert security_bprm_set_creds into security_bprm_repopulate_creds # exec: Factor security_bprm_creds_for_exec out of security_bprm_set_creds # exec: Teach prepare_exec_creds how exec treats uids & gids # exec: Set the point of no return sooner # exec: Move handling of the point of no return to the top level # exec: Run sync_mm_rss before taking exec_update_mutex # exec: Fix spelling of search_binary_handler in a comment # exec: Move the comment from above de_thread to above unshare_sighand # exec: Rename flush_old_exec begin_new_exec # exec: Move most of setup_new_exec into flush_old_exec # exec: In setup_new_exec cache current in the local variable me # ... # < /opt/cross/kisskb/br-arcle-hs38-full-2016.08-613-ge98b4dd/bin/arc-linux-gcc --version # < /opt/cross/kisskb/br-arcle-hs38-full-2016.08-613-ge98b4dd/bin/arc-linux-ld --version # < git log --format=%s --max-count=1 15a2bc4dbb9cfed1c661a657fcb10798150b7598 # < make -s -j 8 ARCH=arc O=/kisskb/build/linus_axs103_smp_defconfig_arcv2 CROSS_COMPILE=/opt/cross/kisskb/br-arcle-hs38-full-2016.08-613-ge98b4dd/bin/arc-linux- axs103_smp_defconfig # Added to kconfig CONFIG_INITRAMFS_SOURCE="" # < make -s -j 8 ARCH=arc O=/kisskb/build/linus_axs103_smp_defconfig_arcv2 CROSS_COMPILE=/opt/cross/kisskb/br-arcle-hs38-full-2016.08-613-ge98b4dd/bin/arc-linux- help # make -s -j 8 ARCH=arc O=/kisskb/build/linus_axs103_smp_defconfig_arcv2 CROSS_COMPILE=/opt/cross/kisskb/br-arcle-hs38-full-2016.08-613-ge98b4dd/bin/arc-linux- olddefconfig # make -s -j 8 ARCH=arc O=/kisskb/build/linus_axs103_smp_defconfig_arcv2 CROSS_COMPILE=/opt/cross/kisskb/br-arcle-hs38-full-2016.08-613-ge98b4dd/bin/arc-linux- /kisskb/src/init/main.c: In function 'setup_command_line': /kisskb/src/init/main.c:612:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] panic("%s: Failed to allocate %zu bytes\n", __func__, len + ilen); ^ /kisskb/src/init/main.c:616:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] panic("%s: Failed to allocate %zu bytes\n", __func__, len); ^ /kisskb/src/init/main.c: In function 'initcall_blacklist': /kisskb/src/init/main.c:1083:37: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type '__kernel_size_t {aka unsigned int}' [-Wformat=] panic("%s: Failed to allocate %zu bytes\n", ^ /kisskb/src/init/main.c: In function 'do_initcalls': /kisskb/src/init/main.c:1281:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] panic("%s: Failed to allocate %zu bytes\n", __func__, len); ^ In file included from /kisskb/src/include/linux/list.h:9:0, from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/ipc/msgutil.c:7: /kisskb/src/ipc/msgutil.c: In function 'alloc_msg': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/ipc/msgutil.c:52:9: note: in expansion of macro 'min' alen = min(len, DATALEN_MSG); ^~~ /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/ipc/msgutil.c:67:10: note: in expansion of macro 'min' alen = min(len, DATALEN_SEG); ^~~ /kisskb/src/ipc/msgutil.c: In function 'load_msg': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/ipc/msgutil.c:95:9: note: in expansion of macro 'min' alen = min(len, DATALEN_MSG); ^~~ /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/ipc/msgutil.c:102:10: note: in expansion of macro 'min' alen = min(len, DATALEN_SEG); ^~~ /kisskb/src/ipc/msgutil.c: In function 'store_msg': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/ipc/msgutil.c:155:9: note: in expansion of macro 'min' alen = min(len, DATALEN_MSG); ^~~ /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/ipc/msgutil.c:162:10: note: in expansion of macro 'min' alen = min(len, DATALEN_SEG); ^~~ In file included from /kisskb/src/include/asm-generic/bug.h:19:0, from /kisskb/src/arch/arc/include/asm/bug.h:29, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/include/linux/pagewalk.h:5, from /kisskb/src/fs/proc/task_mmu.c:2: /kisskb/src/fs/proc/task_mmu.c: In function 'pagemap_read': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/fs/proc/task_mmu.c:1574:9: note: in expansion of macro 'min' len = min(count, PM_ENTRY_BYTES * pm.pos); ^~~ In file included from /kisskb/src/arch/arc/include/asm/bug.h:29:0, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/include/linux/memblock.h:13, from /kisskb/src/kernel/dma/direct.c:7: /kisskb/src/kernel/dma/direct.c: In function 'dma_direct_map_page': /kisskb/src/include/linux/dev_printk.h:232:23: warning: format '%zu' expects argument of type 'size_t', but argument 8 has type 'unsigned int' [-Wformat=] WARN_ONCE(condition, "%s %s: " format, \ ^ /kisskb/src/include/asm-generic/bug.h:87:47: note: in definition of macro '__WARN_printf' warn_slowpath_fmt(__FILE__, __LINE__, taint, arg) ^~~ /kisskb/src/include/asm-generic/bug.h:155:3: note: in expansion of macro 'WARN' WARN(1, format); \ ^~~~ /kisskb/src/include/linux/dev_printk.h:232:2: note: in expansion of macro 'WARN_ONCE' WARN_ONCE(condition, "%s %s: " format, \ ^~~~~~~~~ /kisskb/src/kernel/dma/direct.c:366:3: note: in expansion of macro 'dev_WARN_ONCE' dev_WARN_ONCE(dev, 1, ^~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/device.h:15:0, from /kisskb/src/include/linux/dma-mapping.h:7, from /kisskb/src/include/linux/dma-direct.h:5, from /kisskb/src/kernel/dma/direct.c:10: /kisskb/src/kernel/dma/direct.c: In function 'dma_direct_map_resource': /kisskb/src/kernel/dma/direct.c:407:9: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] "DMA addr %pad+%zu overflow (mask %llx, bus limit %llx).\n", ^ /kisskb/src/include/linux/dev_printk.h:19:22: note: in definition of macro 'dev_fmt' #define dev_fmt(fmt) fmt ^~~ /kisskb/src/include/linux/dev_printk.h:133:3: note: in expansion of macro 'dev_err' dev_level(dev, fmt, ##__VA_ARGS__); \ ^~~~~~~~~ /kisskb/src/include/linux/dev_printk.h:151:2: note: in expansion of macro 'dev_level_once' dev_level_once(dev_err, dev, fmt, ##__VA_ARGS__) ^~~~~~~~~~~~~~ /kisskb/src/kernel/dma/direct.c:406:3: note: in expansion of macro 'dev_err_once' dev_err_once(dev, ^~~~~~~~~~~~ In file included from /kisskb/src/include/linux/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/include/linux/dma-mapping.h:7, from /kisskb/src/include/linux/dma-direct.h:5, from /kisskb/src/kernel/dma/remap.c:6: /kisskb/src/kernel/dma/remap.c: In function 'dma_atomic_pool_init': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH' #define KERN_INFO KERN_SOH "6" /* informational */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:368:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/kernel/dma/remap.c:133:2: note: in expansion of macro 'pr_info' pr_info("DMA: preallocated %zu KiB pool for atomic allocations\n", ^~~~~~~ /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:11:18: note: in expansion of macro 'KERN_SOH' #define KERN_ERR KERN_SOH "3" /* error conditions */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:338:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~ /kisskb/src/kernel/dma/remap.c:146:2: note: in expansion of macro 'pr_err' pr_err("DMA: failed to allocate %zu KiB pool for atomic coherent allocation\n", ^~~~~~ /kisskb/src/mm/percpu.c: In function 'pcpu_alloc_first_chunk': /kisskb/src/mm/percpu.c:1306:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] panic("%s: Failed to allocate %zu bytes\n", __func__, ^ /kisskb/src/mm/percpu.c:1321:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] panic("%s: Failed to allocate %zu bytes\n", __func__, ^ /kisskb/src/mm/percpu.c:1328:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] panic("%s: Failed to allocate %zu bytes\n", __func__, ^ /kisskb/src/mm/percpu.c:1334:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] panic("%s: Failed to allocate %zu bytes\n", __func__, ^ In file included from /kisskb/src/arch/arc/include/asm/bug.h:29:0, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/include/linux/memblock.h:13, from /kisskb/src/mm/percpu.c:67: /kisskb/src/mm/percpu.c: In function 'pcpu_alloc': /kisskb/src/mm/percpu.c:1593:17: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] WARN(do_warn, "illegal size (%zu) or align (%zu) for percpu allocation\n", ^ /kisskb/src/include/asm-generic/bug.h:87:47: note: in definition of macro '__WARN_printf' warn_slowpath_fmt(__FILE__, __LINE__, taint, arg) ^~~ /kisskb/src/mm/percpu.c:1593:3: note: in expansion of macro 'WARN' WARN(do_warn, "illegal size (%zu) or align (%zu) for percpu allocation\n", ^~~~ /kisskb/src/mm/percpu.c:1593:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] WARN(do_warn, "illegal size (%zu) or align (%zu) for percpu allocation\n", ^ /kisskb/src/include/asm-generic/bug.h:87:47: note: in definition of macro '__WARN_printf' warn_slowpath_fmt(__FILE__, __LINE__, taint, arg) ^~~ /kisskb/src/mm/percpu.c:1593:3: note: in expansion of macro 'WARN' WARN(do_warn, "illegal size (%zu) or align (%zu) for percpu allocation\n", ^~~~ In file included from /kisskb/src/include/linux/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/bitmap.h:10, from /kisskb/src/mm/percpu.c:66: /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:12:22: note: in expansion of macro 'KERN_SOH' #define KERN_WARNING KERN_SOH "4" /* warning conditions */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:348:9: note: in expansion of macro 'KERN_WARNING' printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~~ /kisskb/src/mm/percpu.c:1727:3: note: in expansion of macro 'pr_warn' pr_warn("allocation failed, size=%zu align=%zu atomic=%d, %s\n", ^~~~~~~ /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:12:22: note: in expansion of macro 'KERN_SOH' #define KERN_WARNING KERN_SOH "4" /* warning conditions */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:348:9: note: in expansion of macro 'KERN_WARNING' printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~~ /kisskb/src/mm/percpu.c:1727:3: note: in expansion of macro 'pr_warn' pr_warn("allocation failed, size=%zu align=%zu atomic=%d, %s\n", ^~~~~~~ /kisskb/src/mm/percpu.c: In function 'pcpu_dump_alloc_info': /kisskb/src/mm/percpu.c:2166:27: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] printk("%spcpu-alloc: s%zu r%zu d%zu u%zu alloc=%zu*%zu", ^ /kisskb/src/mm/percpu.c:2166:32: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] printk("%spcpu-alloc: s%zu r%zu d%zu u%zu alloc=%zu*%zu", ^ /kisskb/src/mm/percpu.c:2166:37: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] printk("%spcpu-alloc: s%zu r%zu d%zu u%zu alloc=%zu*%zu", ^ /kisskb/src/mm/percpu.c:2166:42: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] printk("%spcpu-alloc: s%zu r%zu d%zu u%zu alloc=%zu*%zu", ^ /kisskb/src/mm/percpu.c:2166:52: warning: format '%zu' expects argument of type 'size_t', but argument 7 has type 'unsigned int' [-Wformat=] printk("%spcpu-alloc: s%zu r%zu d%zu u%zu alloc=%zu*%zu", ^ /kisskb/src/mm/percpu.c:2166:56: warning: format '%zu' expects argument of type 'size_t', but argument 8 has type 'unsigned int' [-Wformat=] printk("%spcpu-alloc: s%zu r%zu d%zu u%zu alloc=%zu*%zu", ^ /kisskb/src/mm/percpu.c: In function 'pcpu_setup_first_chunk': /kisskb/src/mm/percpu.c:2297:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] panic("%s: Failed to allocate %zu bytes\n", __func__, ^ /kisskb/src/mm/percpu.c:2303:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] panic("%s: Failed to allocate %zu bytes\n", __func__, ^ /kisskb/src/mm/percpu.c:2309:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] panic("%s: Failed to allocate %zu bytes\n", __func__, ^ /kisskb/src/mm/percpu.c:2315:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] panic("%s: Failed to allocate %zu bytes\n", __func__, ^ In file included from /kisskb/src/include/linux/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/bitmap.h:10, from /kisskb/src/mm/percpu.c:66: /kisskb/src/mm/percpu.c: In function 'pcpu_embed_first_chunk': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH' #define KERN_INFO KERN_SOH "6" /* informational */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:368:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/mm/percpu.c:2767:2: note: in expansion of macro 'pr_info' pr_info("Embedded %zu pages/cpu s%zu r%zu d%zu u%zu\n", ^~~~~~~ /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH' #define KERN_INFO KERN_SOH "6" /* informational */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:368:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/mm/percpu.c:2767:2: note: in expansion of macro 'pr_info' pr_info("Embedded %zu pages/cpu s%zu r%zu d%zu u%zu\n", ^~~~~~~ /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH' #define KERN_INFO KERN_SOH "6" /* informational */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:368:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/mm/percpu.c:2767:2: note: in expansion of macro 'pr_info' pr_info("Embedded %zu pages/cpu s%zu r%zu d%zu u%zu\n", ^~~~~~~ /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH' #define KERN_INFO KERN_SOH "6" /* informational */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:368:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/mm/percpu.c:2767:2: note: in expansion of macro 'pr_info' pr_info("Embedded %zu pages/cpu s%zu r%zu d%zu u%zu\n", ^~~~~~~ /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH' #define KERN_INFO KERN_SOH "6" /* informational */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:368:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/mm/percpu.c:2767:2: note: in expansion of macro 'pr_info' pr_info("Embedded %zu pages/cpu s%zu r%zu d%zu u%zu\n", ^~~~~~~ In file included from /kisskb/src/include/linux/list.h:9:0, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/net/core/scm.c:8: /kisskb/src/net/core/scm.c: In function 'put_cmsg': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/net/core/scm.c:248:10: note: in expansion of macro 'min' cmlen = min(CMSG_SPACE(len), msg->msg_controllen); ^~~ In file included from /kisskb/src/include/asm-generic/bug.h:19:0, from /kisskb/src/arch/arc/include/asm/bug.h:29, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/net/core/sysctl_net_core.c:9: /kisskb/src/net/core/sysctl_net_core.c: In function 'flow_limit_cpu_sysctl': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/net/core/sysctl_net_core.c:176:9: note: in expansion of macro 'min' len = min(sizeof(kbuf) - 1, *lenp); ^~~ In file included from /kisskb/src/drivers/tty/serial/earlycon.c:14:0: /kisskb/src/drivers/tty/serial/earlycon.c: In function 'earlycon_init': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/drivers/tty/serial/earlycon.c:71:32: note: in expansion of macro 'min' strlcpy(earlycon->name, name, min(len + 1, sizeof(earlycon->name))); ^~~ In file included from /kisskb/src/include/asm-generic/bug.h:19:0, from /kisskb/src/arch/arc/include/asm/bug.h:29, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/linux/umh.h:4, from /kisskb/src/include/linux/kmod.h:9, from /kisskb/src/net/core/dev_ioctl.c:2: /kisskb/src/net/core/dev_ioctl.c: In function 'dev_ifsioc_locked': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/net/core/dev_ioctl.c:131:11: note: in expansion of macro 'min' min(sizeof(ifr->ifr_hwaddr.sa_data), ^~~ /kisskb/src/net/core/dev_ioctl.c: In function 'dev_ifsioc': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/net/core/dev_ioctl.c:262:10: note: in expansion of macro 'min' min(sizeof(ifr->ifr_hwaddr.sa_data), ^~~ /kisskb/src/mm/dmapool.c: In function 'show_pools': /kisskb/src/mm/dmapool.c:93:46: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] temp = scnprintf(next, size, "%-16s %4u %4zu %4zu %2u\n", ^ /kisskb/src/mm/dmapool.c:93:51: warning: format '%zu' expects argument of type 'size_t', but argument 7 has type 'unsigned int' [-Wformat=] temp = scnprintf(next, size, "%-16s %4u %4zu %4zu %2u\n", ^ In file included from /kisskb/src/include/linux/kernel.h:15:0, from /kisskb/src/include/asm-generic/bug.h:19, from /kisskb/src/arch/arc/include/asm/bug.h:29, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/signal.h:5, from /kisskb/src/drivers/tty/n_tty.c:34: /kisskb/src/drivers/tty/n_tty.c: In function 'canon_copy_from_read_buf': /kisskb/src/drivers/tty/n_tty.c:2037:14: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] n_tty_trace("%s: nr:%zu tail:%zu n:%zu size:%zu\n", ^ /kisskb/src/include/linux/printk.h:137:10: note: in definition of macro 'no_printk' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/drivers/tty/n_tty.c:2037:2: note: in expansion of macro 'n_tty_trace' n_tty_trace("%s: nr:%zu tail:%zu n:%zu size:%zu\n", ^~~~~~~~~~~ /kisskb/src/drivers/tty/n_tty.c:2037:14: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] n_tty_trace("%s: nr:%zu tail:%zu n:%zu size:%zu\n", ^ /kisskb/src/include/linux/printk.h:137:10: note: in definition of macro 'no_printk' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/drivers/tty/n_tty.c:2037:2: note: in expansion of macro 'n_tty_trace' n_tty_trace("%s: nr:%zu tail:%zu n:%zu size:%zu\n", ^~~~~~~~~~~ /kisskb/src/drivers/tty/n_tty.c:2037:14: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] n_tty_trace("%s: nr:%zu tail:%zu n:%zu size:%zu\n", ^ /kisskb/src/include/linux/printk.h:137:10: note: in definition of macro 'no_printk' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/drivers/tty/n_tty.c:2037:2: note: in expansion of macro 'n_tty_trace' n_tty_trace("%s: nr:%zu tail:%zu n:%zu size:%zu\n", ^~~~~~~~~~~ /kisskb/src/drivers/tty/n_tty.c:2037:14: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] n_tty_trace("%s: nr:%zu tail:%zu n:%zu size:%zu\n", ^ /kisskb/src/include/linux/printk.h:137:10: note: in definition of macro 'no_printk' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/drivers/tty/n_tty.c:2037:2: note: in expansion of macro 'n_tty_trace' n_tty_trace("%s: nr:%zu tail:%zu n:%zu size:%zu\n", ^~~~~~~~~~~ /kisskb/src/drivers/tty/n_tty.c:2059:14: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] n_tty_trace("%s: eol:%zu found:%d n:%zu c:%zu tail:%zu more:%zu\n", ^ /kisskb/src/include/linux/printk.h:137:10: note: in definition of macro 'no_printk' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/drivers/tty/n_tty.c:2059:2: note: in expansion of macro 'n_tty_trace' n_tty_trace("%s: eol:%zu found:%d n:%zu c:%zu tail:%zu more:%zu\n", ^~~~~~~~~~~ /kisskb/src/drivers/tty/n_tty.c:2059:14: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] n_tty_trace("%s: eol:%zu found:%d n:%zu c:%zu tail:%zu more:%zu\n", ^ /kisskb/src/include/linux/printk.h:137:10: note: in definition of macro 'no_printk' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/drivers/tty/n_tty.c:2059:2: note: in expansion of macro 'n_tty_trace' n_tty_trace("%s: eol:%zu found:%d n:%zu c:%zu tail:%zu more:%zu\n", ^~~~~~~~~~~ /kisskb/src/drivers/tty/n_tty.c:2059:14: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] n_tty_trace("%s: eol:%zu found:%d n:%zu c:%zu tail:%zu more:%zu\n", ^ /kisskb/src/include/linux/printk.h:137:10: note: in definition of macro 'no_printk' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/drivers/tty/n_tty.c:2059:2: note: in expansion of macro 'n_tty_trace' n_tty_trace("%s: eol:%zu found:%d n:%zu c:%zu tail:%zu more:%zu\n", ^~~~~~~~~~~ /kisskb/src/drivers/tty/n_tty.c:2059:14: warning: format '%zu' expects argument of type 'size_t', but argument 7 has type 'unsigned int' [-Wformat=] n_tty_trace("%s: eol:%zu found:%d n:%zu c:%zu tail:%zu more:%zu\n", ^ /kisskb/src/include/linux/printk.h:137:10: note: in definition of macro 'no_printk' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/drivers/tty/n_tty.c:2059:2: note: in expansion of macro 'n_tty_trace' n_tty_trace("%s: eol:%zu found:%d n:%zu c:%zu tail:%zu more:%zu\n", ^~~~~~~~~~~ /kisskb/src/drivers/tty/n_tty.c:2059:14: warning: format '%zu' expects argument of type 'size_t', but argument 8 has type 'unsigned int' [-Wformat=] n_tty_trace("%s: eol:%zu found:%d n:%zu c:%zu tail:%zu more:%zu\n", ^ /kisskb/src/include/linux/printk.h:137:10: note: in definition of macro 'no_printk' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/drivers/tty/n_tty.c:2059:2: note: in expansion of macro 'n_tty_trace' n_tty_trace("%s: eol:%zu found:%d n:%zu c:%zu tail:%zu more:%zu\n", ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/utsname.h:6, from /kisskb/src/drivers/char/random.c:312: /kisskb/src/drivers/char/random.c: In function 'urandom_read': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:13:21: note: in expansion of macro 'KERN_SOH' #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:358:9: note: in expansion of macro 'KERN_NOTICE' printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~ /kisskb/src/drivers/char/random.c:1849:4: note: in expansion of macro 'pr_notice' pr_notice("%s: uninitialized urandom read (%zd bytes read)\n", ^~~~~~~~~ In file included from /kisskb/src/include/linux/list.h:9:0, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/utsname.h:6, from /kisskb/src/drivers/char/random.c:312: /kisskb/src/drivers/char/random.c: In function 'write_pool': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/drivers/char/random.c:1895:11: note: in expansion of macro 'min' bytes = min(count, sizeof(buf)); ^~~ In file included from /kisskb/src/include/linux/list.h:9:0, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/fs/ext4/namei.c:28: /kisskb/src/fs/ext4/namei.c: In function '__ext4_find_entry': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/fs/ext4/namei.c:1522:13: note: in expansion of macro 'min' ra_max = min(ra_max, ARRAY_SIZE(bh_use)); ^~~ In file included from /kisskb/src/fs/ext4/ext4_jbd2.h:17:0, from /kisskb/src/fs/ext4/xattr.c:60: /kisskb/src/fs/ext4/xattr.c: In function 'ext4_xattr_inode_get': /kisskb/src/fs/ext4/xattr.c:482:8: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] "ea_inode file size=%llu entry size=%zu", ^ /kisskb/src/fs/ext4/ext4.h:2836:50: note: in definition of macro 'ext4_warning_inode' __ext4_warning_inode(inode, __func__, __LINE__, fmt, ##__VA_ARGS__) ^~~ /kisskb/src/kernel/module.c: In function 'do_init_module': /kisskb/src/kernel/module.c:3593:2: error: implicit declaration of function 'module_enable_ro' [-Werror=implicit-function-declaration] module_enable_ro(mod, true); ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/device.h:15:0, from /kisskb/src/drivers/base/regmap/regmap.c:9: /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write_impl': /kisskb/src/drivers/base/regmap/regmap.c:1534:22: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] dev_dbg(map->dev, "Writing window %d/%zu\n", ^ /kisskb/src/include/linux/dev_printk.h:19:22: note: in definition of macro 'dev_fmt' #define dev_fmt(fmt) fmt ^~~ /kisskb/src/drivers/base/regmap/regmap.c:1534:4: note: in expansion of macro 'dev_dbg' dev_dbg(map->dev, "Writing window %d/%zu\n", ^~~~~~~ In file included from /kisskb/src/drivers/gpu/drm/drm_dp_helper.c:33:0: /kisskb/src/drivers/gpu/drm/drm_dp_helper.c: In function 'drm_dp_i2c_do_msg': /kisskb/src/drivers/gpu/drm/drm_dp_helper.c:757:18: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] DRM_DEBUG_KMS("native nack (result=%d, size=%zu)\n", ret, msg->size); ^ /kisskb/src/include/drm/drm_print.h:496:24: note: in definition of macro 'DRM_DEBUG_KMS' __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__) ^~~ /kisskb/src/drivers/gpu/drm/drm_dp_helper.c:790:18: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] DRM_DEBUG_KMS("I2C nack (result=%d, size=%zu)\n", ^ /kisskb/src/include/drm/drm_print.h:496:24: note: in definition of macro 'DRM_DEBUG_KMS' __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__) ^~~ /kisskb/src/drivers/gpu/drm/drm_dp_helper.c: In function 'drm_dp_i2c_drain_msg': /kisskb/src/drivers/gpu/drm/drm_dp_helper.c:844:18: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] DRM_DEBUG_KMS("Partial I2C reply: requested %zu bytes got %d bytes\n", ^ /kisskb/src/include/drm/drm_print.h:496:24: note: in definition of macro 'DRM_DEBUG_KMS' __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__) ^~~ cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:267: kernel/module.o] Error 1 make[1]: *** [/kisskb/src/Makefile:1735: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/include/linux/device.h:15:0, from /kisskb/src/drivers/base/regmap/regcache.c:10: /kisskb/src/drivers/base/regmap/regcache.c: In function 'regcache_sync_block_raw_flush': /kisskb/src/drivers/base/regmap/regcache.c:715:20: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] dev_dbg(map->dev, "Writing %zu bytes for %d registers from 0x%x-0x%x\n", ^ /kisskb/src/include/linux/dev_printk.h:19:22: note: in definition of macro 'dev_fmt' #define dev_fmt(fmt) fmt ^~~ /kisskb/src/drivers/base/regmap/regcache.c:715:2: note: in expansion of macro 'dev_dbg' dev_dbg(map->dev, "Writing %zu bytes for %d registers from 0x%x-0x%x\n", ^~~~~~~ In file included from /kisskb/src/include/linux/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/bvec.h:10, from /kisskb/src/lib/iov_iter.c:3: /kisskb/src/lib/iov_iter.c: In function 'sanity': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'size_t {aka const unsigned int}' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:11:18: note: in expansion of macro 'KERN_SOH' #define KERN_ERR KERN_SOH "3" /* error conditions */ ^~~~~~~~ /kisskb/src/lib/iov_iter.c:351:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR "idx = %d, offset = %zd\n", i_head, i->iov_offset); ^~~~~~~~ In file included from /kisskb/src/include/linux/device.h:15:0, from /kisskb/src/drivers/base/component.c:11: /kisskb/src/drivers/base/component.c: In function 'find_components': /kisskb/src/drivers/base/component.c:195:24: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] dev_dbg(master->dev, "Looking for component %zu\n", i); ^ /kisskb/src/include/linux/dev_printk.h:19:22: note: in definition of macro 'dev_fmt' #define dev_fmt(fmt) fmt ^~~ /kisskb/src/drivers/base/component.c:195:3: note: in expansion of macro 'dev_dbg' dev_dbg(master->dev, "Looking for component %zu\n", i); ^~~~~~~ In file included from /kisskb/src/drivers/gpu/drm/drm_dp_dual_mode_helper.c:31:0: /kisskb/src/drivers/gpu/drm/drm_dp_dual_mode_helper.c: In function 'drm_dp_dual_mode_detect': /kisskb/src/drivers/gpu/drm/drm_dp_dual_mode_helper.c:203:16: warning: format '%zd' expects argument of type 'signed size_t', but argument 5 has type 'ssize_t {aka int}' [-Wformat=] DRM_DEBUG_KMS("DP dual mode HDMI ID: %*pE (err %zd)\n", ^ /kisskb/src/include/drm/drm_print.h:496:24: note: in definition of macro 'DRM_DEBUG_KMS' __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__) ^~~ /kisskb/src/drivers/gpu/drm/drm_dp_dual_mode_helper.c:222:16: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'ssize_t {aka int}' [-Wformat=] DRM_DEBUG_KMS("DP dual mode adaptor ID: %02x (err %zd)\n", ^ /kisskb/src/include/drm/drm_print.h:496:24: note: in definition of macro 'DRM_DEBUG_KMS' __drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__) ^~~ In file included from /kisskb/src/lib/kstrtox.c:17:0: /kisskb/src/lib/kstrtox.c: In function 'kstrtobool_from_user': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:379:10: note: in expansion of macro 'min' count = min(count, sizeof(buf) - 1); ^~~ /kisskb/src/lib/kstrtox.c: In function 'kstrtoull_from_user': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:393:10: note: in expansion of macro 'min' count = min(count, sizeof(buf) - 1); \ ^~~ /kisskb/src/lib/kstrtox.c:401:1: note: in expansion of macro 'kstrto_from_user' kstrto_from_user(kstrtoull_from_user, kstrtoull, unsigned long long); ^~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c: In function 'kstrtoll_from_user': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:393:10: note: in expansion of macro 'min' count = min(count, sizeof(buf) - 1); \ ^~~ /kisskb/src/lib/kstrtox.c:402:1: note: in expansion of macro 'kstrto_from_user' kstrto_from_user(kstrtoll_from_user, kstrtoll, long long); ^~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c: In function 'kstrtoul_from_user': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:393:10: note: in expansion of macro 'min' count = min(count, sizeof(buf) - 1); \ ^~~ /kisskb/src/lib/kstrtox.c:403:1: note: in expansion of macro 'kstrto_from_user' kstrto_from_user(kstrtoul_from_user, kstrtoul, unsigned long); ^~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c: In function 'kstrtol_from_user': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:393:10: note: in expansion of macro 'min' count = min(count, sizeof(buf) - 1); \ ^~~ /kisskb/src/lib/kstrtox.c:404:1: note: in expansion of macro 'kstrto_from_user' kstrto_from_user(kstrtol_from_user, kstrtol, long); ^~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c: In function 'kstrtouint_from_user': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:393:10: note: in expansion of macro 'min' count = min(count, sizeof(buf) - 1); \ ^~~ /kisskb/src/lib/kstrtox.c:405:1: note: in expansion of macro 'kstrto_from_user' kstrto_from_user(kstrtouint_from_user, kstrtouint, unsigned int); ^~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c: In function 'kstrtoint_from_user': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:393:10: note: in expansion of macro 'min' count = min(count, sizeof(buf) - 1); \ ^~~ /kisskb/src/lib/kstrtox.c:406:1: note: in expansion of macro 'kstrto_from_user' kstrto_from_user(kstrtoint_from_user, kstrtoint, int); ^~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c: In function 'kstrtou16_from_user': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:393:10: note: in expansion of macro 'min' count = min(count, sizeof(buf) - 1); \ ^~~ /kisskb/src/lib/kstrtox.c:407:1: note: in expansion of macro 'kstrto_from_user' kstrto_from_user(kstrtou16_from_user, kstrtou16, u16); ^~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c: In function 'kstrtos16_from_user': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:393:10: note: in expansion of macro 'min' count = min(count, sizeof(buf) - 1); \ ^~~ /kisskb/src/lib/kstrtox.c:408:1: note: in expansion of macro 'kstrto_from_user' kstrto_from_user(kstrtos16_from_user, kstrtos16, s16); ^~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c: In function 'kstrtou8_from_user': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:393:10: note: in expansion of macro 'min' count = min(count, sizeof(buf) - 1); \ ^~~ /kisskb/src/lib/kstrtox.c:409:1: note: in expansion of macro 'kstrto_from_user' kstrto_from_user(kstrtou8_from_user, kstrtou8, u8); ^~~~~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c: In function 'kstrtos8_from_user': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/lib/kstrtox.c:393:10: note: in expansion of macro 'min' count = min(count, sizeof(buf) - 1); \ ^~~ /kisskb/src/lib/kstrtox.c:410:1: note: in expansion of macro 'kstrto_from_user' kstrto_from_user(kstrtos8_from_user, kstrtos8, s8); ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/dev_printk.h:14:0, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/drivers/base/devres.c:9: /kisskb/src/drivers/base/devres.c: In function 'alloc_dr': /kisskb/src/include/linux/overflow.h:59:15: warning: comparison of distinct pointer types lacks a cast (void) (&__a == &__b); \ ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/base/devres.c:99:15: note: in expansion of macro 'check_add_overflow' if (unlikely(check_add_overflow(sizeof(struct devres), size, ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/overflow.h:60:15: warning: comparison of distinct pointer types lacks a cast (void) (&__a == __d); \ ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/base/devres.c:99:15: note: in expansion of macro 'check_add_overflow' if (unlikely(check_add_overflow(sizeof(struct devres), size, ^~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/dma-buf/dma-buf.c: In function 'dma_buf_show_fdinfo': /kisskb/src/drivers/dma-buf/dma-buf.c:404:26: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] seq_printf(m, "size:\t%zu\n", dmabuf->size); ^ In file included from /kisskb/src/include/drm/drm_mm.h:49:0, from /kisskb/src/include/drm/drm_vma_manager.h:26, from /kisskb/src/include/drm/drm_gem.h:40, from /kisskb/src/drivers/gpu/drm/drm_gem.c:46: /kisskb/src/drivers/gpu/drm/drm_gem.c: In function 'drm_gem_print_info': /kisskb/src/include/drm/drm_print.h:120:24: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] drm_printf((printer), "%.*s" fmt, (indent), "\t\t\t\t\tX", ##__VA_ARGS__) ^ /kisskb/src/drivers/gpu/drm/drm_gem.c:1224:2: note: in expansion of macro 'drm_printf_indent' drm_printf_indent(p, indent, "size=%zu\n", obj->size); ^~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/highmem.h:5, from /kisskb/src/include/linux/bio.h:8, from /kisskb/src/drivers/scsi/scsi_lib.c:12: /kisskb/src/drivers/scsi/scsi_lib.c: In function 'scsi_kmap_atomic_sg': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:11:18: note: in expansion of macro 'KERN_SOH' #define KERN_ERR KERN_SOH "3" /* error conditions */ ^~~~~~~~ /kisskb/src/drivers/scsi/scsi_lib.c:2919:10: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR "%s: Bytes in sg: %zu, requested offset %zu, " ^~~~~~~~ /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/kern_levels.h:11:18: note: in expansion of macro 'KERN_SOH' #define KERN_ERR KERN_SOH "3" /* error conditions */ ^~~~~~~~ /kisskb/src/drivers/scsi/scsi_lib.c:2919:10: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR "%s: Bytes in sg: %zu, requested offset %zu, " ^~~~~~~~ In file included from /kisskb/src/include/linux/device.h:15:0, from /kisskb/src/include/linux/pci.h:37, from /kisskb/src/drivers/usb/host/ehci-hcd.c:11: /kisskb/src/drivers/usb/host/ehci-q.c: In function 'qh_completions': /kisskb/src/drivers/usb/host/ehci-q.c:376:2: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] "detected XactErr len %zu/%zu retry %d\n", ^ /kisskb/src/include/linux/dev_printk.h:19:22: note: in definition of macro 'dev_fmt' #define dev_fmt(fmt) fmt ^~~ /kisskb/src/drivers/usb/host/ehci.h:860:2: note: in expansion of macro 'dev_dbg' dev_dbg(ehci_to_hcd(ehci)->self.controller, fmt, ## args) ^~~~~~~ /kisskb/src/drivers/usb/host/ehci-q.c:375:6: note: in expansion of macro 'ehci_dbg' ehci_dbg(ehci, ^~~~~~~~ /kisskb/src/drivers/usb/host/ehci-q.c:376:2: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] "detected XactErr len %zu/%zu retry %d\n", ^ /kisskb/src/include/linux/dev_printk.h:19:22: note: in definition of macro 'dev_fmt' #define dev_fmt(fmt) fmt ^~~ /kisskb/src/drivers/usb/host/ehci.h:860:2: note: in expansion of macro 'dev_dbg' dev_dbg(ehci_to_hcd(ehci)->self.controller, fmt, ## args) ^~~~~~~ /kisskb/src/drivers/usb/host/ehci-q.c:375:6: note: in expansion of macro 'ehci_dbg' ehci_dbg(ehci, ^~~~~~~~ In file included from /kisskb/src/arch/arc/include/asm/bug.h:29:0, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/linux/slab.h:15, from /kisskb/src/net/sunrpc/xprtsock.c:24: /kisskb/src/net/sunrpc/xprtsock.c: In function 'bc_malloc': /kisskb/src/net/sunrpc/xprtsock.c:2481:16: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] WARN_ONCE(1, "xprtsock: large bc buffer request (size %zu)\n", ^ /kisskb/src/include/asm-generic/bug.h:87:47: note: in definition of macro '__WARN_printf' warn_slowpath_fmt(__FILE__, __LINE__, taint, arg) ^~~ /kisskb/src/include/asm-generic/bug.h:155:3: note: in expansion of macro 'WARN' WARN(1, format); \ ^~~~ /kisskb/src/net/sunrpc/xprtsock.c:2481:3: note: in expansion of macro 'WARN_ONCE' WARN_ONCE(1, "xprtsock: large bc buffer request (size %zu)\n", ^~~~~~~~~ In file included from /kisskb/src/include/linux/list.h:9:0, from /kisskb/src/include/linux/wait.h:7, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/drivers/usb/core/devio.c:24: /kisskb/src/drivers/usb/core/devio.c: In function 'proc_conninfo_ex': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/drivers/usb/core/devio.c:1371:29: note: in expansion of macro 'min' if (copy_to_user(arg, &ci, min(sizeof(ci), size))) ^~~ In file included from /kisskb/src/drivers/gpu/drm/drm_atomic_uapi.c:31:0: /kisskb/src/drivers/gpu/drm/drm_atomic_uapi.c: In function 'drm_atomic_set_mode_prop_for_crtc': /kisskb/src/drivers/gpu/drm/drm_atomic_uapi.c:131:21: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] DRM_DEBUG_ATOMIC("[CRTC:%d:%s] bad mode blob length: %zu\n", ^ /kisskb/src/include/drm/drm_print.h:502:27: note: in definition of macro 'DRM_DEBUG_ATOMIC' __drm_dbg(DRM_UT_ATOMIC, fmt, ##__VA_ARGS__) ^~~ In file included from /kisskb/src/drivers/gpu/drm/drm_managed.c:15:0: /kisskb/src/drivers/gpu/drm/drm_managed.c: In function 'drm_managed_release': /kisskb/src/drivers/gpu/drm/drm_managed.c:67:23: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] drm_dbg_drmres(dev, "REL %p %s (%zu bytes)\n", ^ /kisskb/src/include/drm/drm_print.h:450:41: note: in definition of macro 'drm_dbg_drmres' drm_dev_dbg((drm)->dev, DRM_UT_DRMRES, fmt, ##__VA_ARGS__) ^~~ In file included from /kisskb/src/include/asm-generic/bug.h:5:0, from /kisskb/src/arch/arc/include/asm/bug.h:29, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/drm/drm_managed.h:6, from /kisskb/src/drivers/gpu/drm/drm_managed.c:8: /kisskb/src/drivers/gpu/drm/drm_managed.c: In function 'alloc_dr': /kisskb/src/include/linux/overflow.h:59:15: warning: comparison of distinct pointer types lacks a cast (void) (&__a == &__b); \ ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/gpu/drm/drm_managed.c:90:15: note: in expansion of macro 'check_add_overflow' if (unlikely(check_add_overflow(sizeof(*dr), size, &tot_size))) ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/overflow.h:60:15: warning: comparison of distinct pointer types lacks a cast (void) (&__a == __d); \ ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/gpu/drm/drm_managed.c:90:15: note: in expansion of macro 'check_add_overflow' if (unlikely(check_add_overflow(sizeof(*dr), size, &tot_size))) ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/gpu/drm/drm_managed.c:15:0: /kisskb/src/drivers/gpu/drm/drm_managed.c: In function 'drmm_kmalloc': /kisskb/src/drivers/gpu/drm/drm_managed.c:205:23: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] drm_dbg_drmres(dev, "failed to allocate %zu bytes, %u flags\n", ^ /kisskb/src/include/drm/drm_print.h:450:41: note: in definition of macro 'drm_dbg_drmres' drm_dev_dbg((drm)->dev, DRM_UT_DRMRES, fmt, ##__VA_ARGS__) ^~~ In file included from /kisskb/src/include/linux/device.h:15:0, from /kisskb/src/include/linux/dma-mapping.h:7, from /kisskb/src/include/linux/dma-buf.h:20, from /kisskb/src/drivers/gpu/drm/drm_gem_cma_helper.c:12: /kisskb/src/drivers/gpu/drm/drm_gem_cma_helper.c: In function 'drm_gem_cma_create': /kisskb/src/drivers/gpu/drm/drm_gem_cma_helper.c:108:21: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] dev_dbg(drm->dev, "failed to allocate buffer with size %zu\n", ^ /kisskb/src/include/linux/dev_printk.h:19:22: note: in definition of macro 'dev_fmt' #define dev_fmt(fmt) fmt ^~~ /kisskb/src/drivers/gpu/drm/drm_gem_cma_helper.c:108:3: note: in expansion of macro 'dev_dbg' dev_dbg(drm->dev, "failed to allocate buffer with size %zu\n", ^~~~~~~ In file included from /kisskb/src/include/drm/drm_mm.h:49:0, from /kisskb/src/include/drm/drm_vma_manager.h:26, from /kisskb/src/include/drm/drm_gem.h:40, from /kisskb/src/include/drm/drm_gem_cma_helper.h:7, from /kisskb/src/drivers/gpu/drm/drm_gem_cma_helper.c:22: /kisskb/src/drivers/gpu/drm/drm_gem_cma_helper.c: In function 'drm_gem_cma_prime_import_sg_table': /kisskb/src/drivers/gpu/drm/drm_gem_cma_helper.c:503:18: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] DRM_DEBUG_PRIME("dma_addr = %pad, size = %zu\n", &cma_obj->paddr, attach->dmabuf->size); ^ /kisskb/src/include/drm/drm_print.h:499:26: note: in definition of macro 'DRM_DEBUG_PRIME' __drm_dbg(DRM_UT_PRIME, fmt, ##__VA_ARGS__) ^~~ /kisskb/src/net/sunrpc/svc.c: In function 'svc_process_common': /kisskb/src/net/sunrpc/svc.c:1440:33: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=] svc_printk(rqstp, "short len %zd, dropping request\n", ^ In file included from /kisskb/src/include/linux/kernel.h:15:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/kobject.h:19, from /kisskb/src/include/linux/cdev.h:5, from /kisskb/src/drivers/i2c/i2c-dev.c:17: /kisskb/src/drivers/i2c/i2c-dev.c: In function 'i2cdev_read': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/printk.h:137:10: note: in definition of macro 'no_printk' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/include/linux/kern_levels.h:15:20: note: in expansion of macro 'KERN_SOH' #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:424:12: note: in expansion of macro 'KERN_DEBUG' no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~ /kisskb/src/drivers/i2c/i2c-dev.c:148:2: note: in expansion of macro 'pr_debug' pr_debug("i2c-dev: i2c-%d reading %zu bytes.\n", ^~~~~~~~ /kisskb/src/drivers/i2c/i2c-dev.c: In function 'i2cdev_write': /kisskb/src/include/linux/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] #define KERN_SOH "\001" /* ASCII Start Of Header */ ^ /kisskb/src/include/linux/printk.h:137:10: note: in definition of macro 'no_printk' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/include/linux/kern_levels.h:15:20: note: in expansion of macro 'KERN_SOH' #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */ ^~~~~~~~ /kisskb/src/include/linux/printk.h:424:12: note: in expansion of macro 'KERN_DEBUG' no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~ /kisskb/src/drivers/i2c/i2c-dev.c:172:2: note: in expansion of macro 'pr_debug' pr_debug("i2c-dev: i2c-%d writing %zu bytes.\n", ^~~~~~~~ In file included from /kisskb/src/include/linux/list.h:9:0, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/blkdev.h:5, from /kisskb/src/fs/libfs.c:7: /kisskb/src/fs/libfs.c: In function 'simple_attr_write': /kisskb/src/include/linux/kernel.h:842:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:856:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:866:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:875:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/fs/libfs.c:973:9: note: in expansion of macro 'min' size = min(sizeof(attr->set_buf) - 1, len); ^~~ /kisskb/src/fs/buffer.c: In function '__find_get_block_slow': /kisskb/src/fs/buffer.c:229:10: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] printk("__find_get_block_slow() failed. block=%llu, " ^ make: *** [Makefile:180: sub-make] Error 2 Command 'make -s -j 8 ARCH=arc O=/kisskb/build/linus_axs103_smp_defconfig_arcv2 CROSS_COMPILE=/opt/cross/kisskb/br-arcle-hs38-full-2016.08-613-ge98b4dd/bin/arc-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_axs103_smp_defconfig_arcv2 # Build took: 0:02:58.653172
© Michael Ellerman 2006-2018.