Buildresult: linus/axs103_smp_defconfig/arcv2-gcc6 built on Apr 7 2019, 05:13
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Apr 7 2019, 05:13
Duration:
0:00:54.350867
Builder:
ka1
Revision:
fs: stream_open - opener for stream-like files so that read and write can run simultaneously without deadlock (
10dce8af34226d90fa56746a934f8da5dcdba3df)
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 warnings (96)
init/main.c:380:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] init/main.c:384:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] init/main.c:388:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] init/main.c:787:37: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type '__kernel_size_t {aka unsigned int}' [-Wformat=] arch/arc/mm/tlb.c:914:2: warning: ISO C90 forbids variable length array 'pd0' [-Wvla] kernel/dma/direct.c:40:4: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast 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:827:29: warning: comparison of distinct pointer types lacks a cast drivers/base/regmap/regmap.c:1531:22: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] drivers/base/regmap/regcache.c:719: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=] 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=] fs/ext4/inode.c:3647:12: warning: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'ssize_t {aka int}' [-Wformat=] include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast drivers/base/component.c:196:24: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast fs/ext4/page-io.c:164:5: warning: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'ssize_t {aka int}' [-Wformat=] drivers/gpu/drm/drm_dp_helper.c:823: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:856: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:910:18: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] arch/arc/include/asm/cmpxchg.h:95:29: warning: value computed is not used [-Wunused-value] include/linux/overflow.h:53:15: warning: comparison of distinct pointer types lacks a cast include/linux/overflow.h:54:15: warning: comparison of distinct pointer types lacks a cast 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=] fs/ext4/xattr.c:482:8: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast mm/percpu.c:1109:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:1124:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:1131:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:1137:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:1399:17: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] mm/percpu.c:1399:17: 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 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:1965:27: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:1965:32: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] mm/percpu.c:1965:37: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] mm/percpu.c:1965:42: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] mm/percpu.c:1965:52: warning: format '%zu' expects argument of type 'size_t', but argument 7 has type 'unsigned int' [-Wformat=] mm/percpu.c:1965:56: warning: format '%zu' expects argument of type 'size_t', but argument 8 has type 'unsigned int' [-Wformat=] mm/percpu.c:2099:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:2105:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:2111:35: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] mm/percpu.c:2117: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 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/kern_levels.h:5:18: warning: format '%zu' expects argument of type 'size_t', but argument 7 has type 'unsigned int' [-Wformat=] drivers/gpu/drm/drm_dp_dual_mode_helper.c:201: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:220:16: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'ssize_t {aka int}' [-Wformat=] arch/arc/include/asm/cmpxchg.h:95:29: warning: value computed is not used [-Wunused-value] include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast mm/dmapool.c:96:46: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=] mm/dmapool.c:96:51: warning: format '%zu' expects argument of type 'size_t', but argument 7 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=] 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=] net/ipv4/tcp_input.c:4315:49: warning: array subscript is above array bounds [-Warray-bounds] fs/buffer.c:233:10: 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=] include/drm/drm_print.h:110:24: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] arch/arc/include/asm/cmpxchg.h:95:29: warning: value computed is not used [-Wunused-value] drivers/usb/host/ehci-q.c:365:2: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] drivers/usb/host/ehci-q.c:365:2: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] 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_gem_cma_helper.c:115: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:510:18: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] net/sunrpc/xprtsock.c:2560:16: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] net/sunrpc/svc.c:1342:33: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'size_t {aka unsigned int}' [-Wformat=]
Full Log
# git rev-parse -q --verify 10dce8af34226d90fa56746a934f8da5dcdba3df^{commit} 10dce8af34226d90fa56746a934f8da5dcdba3df already have revision, skipping fetch # git checkout -q -f -B kisskb 10dce8af34226d90fa56746a934f8da5dcdba3df # git clean -qxdf # < git log -1 # commit 10dce8af34226d90fa56746a934f8da5dcdba3df # Author: Kirill Smelkov <kirr@nexedi.com> # Date: Tue Mar 26 22:20:43 2019 +0000 # # fs: stream_open - opener for stream-like files so that read and write can run simultaneously without deadlock # # Commit 9c225f2655e3 ("vfs: atomic f_pos accesses as per POSIX") added # locking for file.f_pos access and in particular made concurrent read and # write not possible - now both those functions take f_pos lock for the # whole run, and so if e.g. a read is blocked waiting for data, write will # deadlock waiting for that read to complete. # # This caused regression for stream-like files where previously read and # write could run simultaneously, but after that patch could not do so # anymore. See e.g. commit 581d21a2d02a ("xenbus: fix deadlock on writes # to /proc/xen/xenbus") which fixes such regression for particular case of # /proc/xen/xenbus. # # The patch that added f_pos lock in 2014 did so to guarantee POSIX thread # safety for read/write/lseek and added the locking to file descriptors of # all regular files. In 2014 that thread-safety problem was not new as it # was already discussed earlier in 2006. # # However even though 2006'th version of Linus's patch was adding f_pos # locking "only for files that are marked seekable with FMODE_LSEEK (thus # avoiding the stream-like objects like pipes and sockets)", the 2014 # version - the one that actually made it into the tree as 9c225f2655e3 - # is doing so irregardless of whether a file is seekable or not. # # See # # https://lore.kernel.org/lkml/53022DB1.4070805@gmail.com/ # https://lwn.net/Articles/180387 # https://lwn.net/Articles/180396 # # for historic context. # # The reason that it did so is, probably, that there are many files that # are marked non-seekable, but e.g. their read implementation actually # depends on knowing current position to correctly handle the read. Some # examples: # # kernel/power/user.c snapshot_read # fs/debugfs/file.c u32_array_read # fs/fuse/control.c fuse_conn_waiting_read + ... # drivers/hwmon/asus_atk0110.c atk_debugfs_ggrp_read # arch/s390/hypfs/inode.c hypfs_read_iter # ... # # Despite that, many nonseekable_open users implement read and write with # pure stream semantics - they don't depend on passed ppos at all. And for # those cases where read could wait for something inside, it creates a # situation similar to xenbus - the write could be never made to go until # read is done, and read is waiting for some, potentially external, event, # for potentially unbounded time -> deadlock. # # Besides xenbus, there are 14 such places in the kernel that I've found # with semantic patch (see below): # # drivers/xen/evtchn.c:667:8-24: ERROR: evtchn_fops: .read() can deadlock .write() # drivers/isdn/capi/capi.c:963:8-24: ERROR: capi_fops: .read() can deadlock .write() # drivers/input/evdev.c:527:1-17: ERROR: evdev_fops: .read() can deadlock .write() # drivers/char/pcmcia/cm4000_cs.c:1685:7-23: ERROR: cm4000_fops: .read() can deadlock .write() # net/rfkill/core.c:1146:8-24: ERROR: rfkill_fops: .read() can deadlock .write() # drivers/s390/char/fs3270.c:488:1-17: ERROR: fs3270_fops: .read() can deadlock .write() # drivers/usb/misc/ldusb.c:310:1-17: ERROR: ld_usb_fops: .read() can deadlock .write() # drivers/hid/uhid.c:635:1-17: ERROR: uhid_fops: .read() can deadlock .write() # net/batman-adv/icmp_socket.c:80:1-17: ERROR: batadv_fops: .read() can deadlock .write() # drivers/media/rc/lirc_dev.c:198:1-17: ERROR: lirc_fops: .read() can deadlock .write() # drivers/leds/uleds.c:77:1-17: ERROR: uleds_fops: .read() can deadlock .write() # drivers/input/misc/uinput.c:400:1-17: ERROR: uinput_fops: .read() can deadlock .write() # drivers/infiniband/core/user_mad.c:985:7-23: ERROR: umad_fops: .read() can deadlock .write() # drivers/gnss/core.c:45:1-17: ERROR: gnss_fops: .read() can deadlock .write() # # In addition to the cases above another regression caused by f_pos # locking is that now FUSE filesystems that implement open with # FOPEN_NONSEEKABLE flag, can no longer implement bidirectional # stream-like files - for the same reason as above e.g. read can deadlock # write locking on file.f_pos in the kernel. # # FUSE's FOPEN_NONSEEKABLE was added in 2008 in a7c1b990f715 ("fuse: # implement nonseekable open") to support OSSPD. OSSPD implements /dev/dsp # in userspace with FOPEN_NONSEEKABLE flag, with corresponding read and # write routines not depending on current position at all, and with both # read and write being potentially blocking operations: # # See # # https://github.com/libfuse/osspd # https://lwn.net/Articles/308445 # # https://github.com/libfuse/osspd/blob/14a9cff0/osspd.c#L1406 # https://github.com/libfuse/osspd/blob/14a9cff0/osspd.c#L1438-L1477 # https://github.com/libfuse/osspd/blob/14a9cff0/osspd.c#L1479-L1510 # # Corresponding libfuse example/test also describes FOPEN_NONSEEKABLE as # "somewhat pipe-like files ..." with read handler not using offset. # However that test implements only read without write and cannot exercise # the deadlock scenario: # # https://github.com/libfuse/libfuse/blob/fuse-3.4.2-3-ga1bff7d/example/poll.c#L124-L131 # https://github.com/libfuse/libfuse/blob/fuse-3.4.2-3-ga1bff7d/example/poll.c#L146-L163 # https://github.com/libfuse/libfuse/blob/fuse-3.4.2-3-ga1bff7d/example/poll.c#L209-L216 # # I've actually hit the read vs write deadlock for real while implementing # my FUSE filesystem where there is /head/watch file, for which open # creates separate bidirectional socket-like stream in between filesystem # and its user with both read and write being later performed # simultaneously. And there it is semantically not easy to split the # stream into two separate read-only and write-only channels: # # https://lab.nexedi.com/kirr/wendelin.core/blob/f13aa600/wcfs/wcfs.go#L88-169 # # Let's fix this regression. The plan is: # # 1. We can't change nonseekable_open to include &~FMODE_ATOMIC_POS - # doing so would break many in-kernel nonseekable_open users which # actually use ppos in read/write handlers. # # 2. Add stream_open() to kernel to open stream-like non-seekable file # descriptors. Read and write on such file descriptors would never use # nor change ppos. And with that property on stream-like files read and # write will be running without taking f_pos lock - i.e. read and write # could be running simultaneously. # # 3. With semantic patch search and convert to stream_open all in-kernel # nonseekable_open users for which read and write actually do not # depend on ppos and where there is no other methods in file_operations # which assume @offset access. # # 4. Add FOPEN_STREAM to fs/fuse/ and open in-kernel file-descriptors via # steam_open if that bit is present in filesystem open reply. # # It was tempting to change fs/fuse/ open handler to use stream_open # instead of nonseekable_open on just FOPEN_NONSEEKABLE flags, but # grepping through Debian codesearch shows users of FOPEN_NONSEEKABLE, # and in particular GVFS which actually uses offset in its read and # write handlers # # https://codesearch.debian.net/search?q=-%3Enonseekable+%3D # https://gitlab.gnome.org/GNOME/gvfs/blob/1.40.0-6-gcbc54396/client/gvfsfusedaemon.c#L1080 # https://gitlab.gnome.org/GNOME/gvfs/blob/1.40.0-6-gcbc54396/client/gvfsfusedaemon.c#L1247-1346 # https://gitlab.gnome.org/GNOME/gvfs/blob/1.40.0-6-gcbc54396/client/gvfsfusedaemon.c#L1399-1481 # # so if we would do such a change it will break a real user. # # 5. Add stream_open and FOPEN_STREAM handling to stable kernels starting # from v3.14+ (the kernel where 9c225f2655 first appeared). # # This will allow to patch OSSPD and other FUSE filesystems that # provide stream-like files to return FOPEN_STREAM | FOPEN_NONSEEKABLE # in their open handler and this way avoid the deadlock on all kernel # versions. This should work because fs/fuse/ ignores unknown open # flags returned from a filesystem and so passing FOPEN_STREAM to a # kernel that is not aware of this flag cannot hurt. In turn the kernel # that is not aware of FOPEN_STREAM will be < v3.14 where just # FOPEN_NONSEEKABLE is sufficient to implement streams without read vs # write deadlock. # # This patch adds stream_open, converts /proc/xen/xenbus to it and adds # semantic patch to automatically locate in-kernel places that are either # required to be converted due to read vs write deadlock, or that are just # safe to be converted because read and write do not use ppos and there # are no other funky methods in file_operations. # # Regarding semantic patch I've verified each generated change manually - # that it is correct to convert - and each other nonseekable_open instance # left - that it is either not correct to convert there, or that it is not # converted due to current stream_open.cocci limitations. # # The script also does not convert files that should be valid to convert, # but that currently have .llseek = noop_llseek or generic_file_llseek for # unknown reason despite file being opened with nonseekable_open (e.g. # drivers/input/mousedev.c) # # Cc: Michael Kerrisk <mtk.manpages@gmail.com> # Cc: Yongzhi Pan <panyongzhi@gmail.com> # Cc: Jonathan Corbet <corbet@lwn.net> # Cc: David Vrabel <david.vrabel@citrix.com> # Cc: Juergen Gross <jgross@suse.com> # Cc: Miklos Szeredi <miklos@szeredi.hu> # Cc: Tejun Heo <tj@kernel.org> # Cc: Kirill Tkhai <ktkhai@virtuozzo.com> # Cc: Arnd Bergmann <arnd@arndb.de> # Cc: Christoph Hellwig <hch@lst.de> # Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> # Cc: Julia Lawall <Julia.Lawall@lip6.fr> # Cc: Nikolaus Rath <Nikolaus@rath.org> # Cc: Han-Wen Nienhuys <hanwen@google.com> # Signed-off-by: Kirill Smelkov <kirr@nexedi.com> # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /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 10dce8af34226d90fa56746a934f8da5dcdba3df # < make -s -j 48 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="" # yes \n | make -s -j 48 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- oldconfig yes: standard output: Broken pipe # make -s -j 48 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:380: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:384: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:388: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:787: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/arch/arc/mm/tlb.c: In function 'do_tlb_overlap_fault': /kisskb/src/arch/arc/mm/tlb.c:914:2: warning: ISO C90 forbids variable length array 'pd0' [-Wvla] unsigned int pd0[mmu->ways]; ^~~~~~~~ In file included from /kisskb/src/include/linux/dma-mapping.h:7:0, 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 'report_addr': /kisskb/src/kernel/dma/direct.c:40:4: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] "overflow %pad+%zu of DMA mask %llx bus mask %llx\n", ^ /kisskb/src/include/linux/device.h:1400:22: note: in definition of macro 'dev_fmt' #define dev_fmt(fmt) fmt ^~~ /kisskb/src/include/linux/device.h:1512:3: note: in expansion of macro 'dev_err' dev_level(dev, fmt, ##__VA_ARGS__); \ ^~~~~~~~~ /kisskb/src/include/linux/device.h:1530:2: note: in expansion of macro 'dev_level_once' dev_level_once(dev_err, dev, fmt, ##__VA_ARGS__) ^~~~~~~~~~~~~~ /kisskb/src/kernel/dma/direct.c:39:3: note: in expansion of macro 'dev_err_once' dev_err_once(dev, ^~~~~~~~~~~~ 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:11: /kisskb/src/ipc/msgutil.c: In function 'alloc_msg': /kisskb/src/include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/ipc/msgutil.c:55:9: note: in expansion of macro 'min' alen = min(len, DATALEN_MSG); ^~~ /kisskb/src/include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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/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:241: /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/drivers/char/random.c:1891:11: note: in expansion of macro 'KERN_NOTICE' printk(KERN_NOTICE "random: %s: uninitialized " ^~~~~~~~~~~ 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:241: /kisskb/src/drivers/char/random.c: In function 'write_pool': /kisskb/src/include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/drivers/char/random.c:1929:11: note: in expansion of macro 'min' bytes = min(count, sizeof(buf)); ^~~ In file included from /kisskb/src/drivers/base/regmap/regmap.c:13:0: /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write_impl': /kisskb/src/drivers/base/regmap/regmap.c:1531: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/device.h:1400:22: note: in definition of macro 'dev_fmt' #define dev_fmt(fmt) fmt ^~~ /kisskb/src/drivers/base/regmap/regmap.c:1531:4: note: in expansion of macro 'dev_dbg' dev_dbg(map->dev, "Writing window %d/%zu\n", ^~~~~~~ In file included from /kisskb/src/drivers/base/regmap/regcache.c:14:0: /kisskb/src/drivers/base/regmap/regcache.c: In function 'regcache_sync_block_raw_flush': /kisskb/src/drivers/base/regmap/regcache.c:719: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/device.h:1400:22: note: in definition of macro 'dev_fmt' #define dev_fmt(fmt) fmt ^~~ /kisskb/src/drivers/base/regmap/regcache.c:719: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:23, from /kisskb/src/lib/iov_iter.c:2: /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:345:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR "idx = %d, offset = %zd\n", i->idx, i->iov_offset); ^~~~~~~~ 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/random.h:10, from /kisskb/src/include/crypto/drbg.h:43, from /kisskb/src/crypto/drbg.c:100: /kisskb/src/crypto/drbg.c: In function 'drbg_seed': /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/printk.h:135: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:324:12: note: in expansion of macro 'KERN_DEBUG' no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~ /kisskb/src/crypto/drbg.c:1060:3: note: in expansion of macro 'pr_devel' pr_devel("DRBG: personalization string too long %zu\n", ^~~~~~~~ /kisskb/src/crypto/drbg.c: In function 'drbg_generate': /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/printk.h:135: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:324:12: note: in expansion of macro 'KERN_DEBUG' no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~ /kisskb/src/crypto/drbg.c:1275:3: note: in expansion of macro 'pr_devel' pr_devel("DRBG: additional information string too long %zu\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/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/inode.c:22: /kisskb/src/fs/ext4/inode.c: In function 'ext4_end_io_dio': /kisskb/src/fs/ext4/inode.c:3647:12: warning: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'ssize_t {aka int}' [-Wformat=] ext_debug("ext4_end_io_dio(): io_end 0x%p " ^ /kisskb/src/include/linux/printk.h:135:10: note: in definition of macro 'no_printk' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/fs/ext4/inode.c:3647:2: note: in expansion of macro 'ext_debug' ext_debug("ext4_end_io_dio(): io_end 0x%p " ^~~~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:18:0, from /kisskb/src/arch/arc/include/asm/bug.h:32, 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/fs/proc/task_mmu.c:2: /kisskb/src/fs/proc/task_mmu.c: In function 'pagemap_read': /kisskb/src/include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/fs/proc/task_mmu.c:1528:9: note: in expansion of macro 'min' len = min(count, PM_ENTRY_BYTES * pm.pos); ^~~ In file included from /kisskb/src/drivers/base/component.c:11:0: /kisskb/src/drivers/base/component.c: In function 'find_components': /kisskb/src/drivers/base/component.c:196: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/device.h:1400:22: note: in definition of macro 'dev_fmt' #define dev_fmt(fmt) fmt ^~~ /kisskb/src/drivers/base/component.c:196:3: note: in expansion of macro 'dev_dbg' dev_dbg(master->dev, "Looking for component %zu\n", i); ^~~~~~~ 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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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/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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/fs/ext4/namei.c:1425: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/page-io.c:29: /kisskb/src/fs/ext4/page-io.c: In function 'ext4_end_io': /kisskb/src/fs/ext4/page-io.c:164:5: warning: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'ssize_t {aka int}' [-Wformat=] "failed to convert unwritten extents to written " ^ /kisskb/src/fs/ext4/ext4.h:2623:24: note: in definition of macro 'ext4_msg' __ext4_msg(sb, level, fmt, ##__VA_ARGS__) ^~~ In file included from /kisskb/src/include/drm/drm_mm.h:49:0, from /kisskb/src/include/drm/drmP.h:71, from /kisskb/src/drivers/gpu/drm/drm_dp_helper.c:32: /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:823: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:362:22: 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:856: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:362:22: 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:910: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:362:22: note: in definition of macro 'DRM_DEBUG_KMS' drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__) ^~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:16:0, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:429, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, 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/fs/nfs/nfs3acl.c:2: /kisskb/src/fs/nfs/nfs3acl.c: In function 'nfs3_abort_get_acl': /kisskb/src/arch/arc/include/asm/cmpxchg.h:95:29: warning: value computed is not used [-Wunused-value] #define cmpxchg(ptr, o, n) ((typeof(*(ptr)))__cmpxchg((ptr), \ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned long)(o), (unsigned long)(n))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/nfs/nfs3acl.c:44:2: note: in expansion of macro 'cmpxchg' cmpxchg(p, sentinel, ACL_NOT_CACHED); ^~~~~~~ In file included from /kisskb/src/include/linux/ioport.h:13: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:53:15: warning: comparison of distinct pointer types lacks a cast (void) (&__a == &__b); \ ^ /kisskb/src/include/linux/compiler.h:77: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:54:15: warning: comparison of distinct pointer types lacks a cast (void) (&__a == __d); \ ^ /kisskb/src/include/linux/compiler.h:77: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, ^~~~~~~~~~~~~~~~~~ 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:25: /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:135: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:340:12: note: in expansion of macro 'KERN_DEBUG' no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~ /kisskb/src/drivers/i2c/i2c-dev.c:154: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:135: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:340:12: note: in expansion of macro 'KERN_DEBUG' no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~ /kisskb/src/drivers/i2c/i2c-dev.c:178:2: note: in expansion of macro 'pr_debug' pr_debug("i2c-dev: i2c-%d writing %zu bytes.\n", ^~~~~~~~ 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:2621:50: note: in definition of macro 'ext4_warning_inode' __ext4_warning_inode(inode, __func__, __LINE__, fmt, ##__VA_ARGS__) ^~~ In file included from /kisskb/src/include/asm-generic/bug.h:18:0, from /kisskb/src/arch/arc/include/asm/bug.h:32, 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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/net/core/sysctl_net_core.c:177:9: note: in expansion of macro 'min' len = min(sizeof(kbuf) - 1, *lenp); ^~~ /kisskb/src/mm/percpu.c: In function 'pcpu_alloc_first_chunk': /kisskb/src/mm/percpu.c:1109: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:1124: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:1131: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:1137: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:32: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:17, from /kisskb/src/mm/percpu.c:68: /kisskb/src/mm/percpu.c: In function 'pcpu_alloc': /kisskb/src/mm/percpu.c:1399:17: warning: format '%zu' expects argument of type 'size_t', but argument 4 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:102:69: note: in definition of macro '__WARN_printf' #define __WARN_printf(arg...) warn_slowpath_fmt(__FILE__, __LINE__, arg) ^~~ /kisskb/src/mm/percpu.c:1399: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:1399: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:102:69: note: in definition of macro '__WARN_printf' #define __WARN_printf(arg...) warn_slowpath_fmt(__FILE__, __LINE__, arg) ^~~ /kisskb/src/mm/percpu.c:1399: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:67: /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:304:9: note: in expansion of macro 'KERN_WARNING' printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:305:17: note: in expansion of macro 'pr_warning' #define pr_warn pr_warning ^~~~~~~~~~ /kisskb/src/mm/percpu.c:1530: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:304:9: note: in expansion of macro 'KERN_WARNING' printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:305:17: note: in expansion of macro 'pr_warning' #define pr_warn pr_warning ^~~~~~~~~~ /kisskb/src/mm/percpu.c:1530: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:1965: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:1965: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:1965: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:1965: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:1965: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:1965: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:2099: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:2105: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:2111: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:2117: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:67: /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:309:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/mm/percpu.c:2570:2: note: in expansion of macro 'pr_info' pr_info("Embedded %zu pages/cpu @%p 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:309:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/mm/percpu.c:2570:2: note: in expansion of macro 'pr_info' pr_info("Embedded %zu pages/cpu @%p 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:309:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/mm/percpu.c:2570:2: note: in expansion of macro 'pr_info' pr_info("Embedded %zu pages/cpu @%p 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:309:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/mm/percpu.c:2570:2: note: in expansion of macro 'pr_info' pr_info("Embedded %zu pages/cpu @%p 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 7 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:309:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/mm/percpu.c:2570:2: note: in expansion of macro 'pr_info' pr_info("Embedded %zu pages/cpu @%p s%zu r%zu d%zu u%zu\n", ^~~~~~~ In file included from /kisskb/src/include/drm/drm_mm.h:49:0, from /kisskb/src/include/drm/drmP.h:71, from /kisskb/src/drivers/gpu/drm/drm_dp_dual_mode_helper.c:29: /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:201: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:362:22: 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:220: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:362:22: note: in definition of macro 'DRM_DEBUG_KMS' drm_dbg(DRM_UT_KMS, fmt, ##__VA_ARGS__) ^~~ In file included from /kisskb/src/arch/arc/include/asm/atomic.h:16:0, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:429, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/net/core/filter.c:24: /kisskb/src/net/core/filter.c: In function 'bpf_clear_redirect_map': /kisskb/src/arch/arc/include/asm/cmpxchg.h:95:29: warning: value computed is not used [-Wunused-value] #define cmpxchg(ptr, o, n) ((typeof(*(ptr)))__cmpxchg((ptr), \ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned long)(o), (unsigned long)(n))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/net/core/filter.c:3479:4: note: in expansion of macro 'cmpxchg' cmpxchg(&ri->map, map, NULL); ^~~~~~~ In file included from /kisskb/src/include/asm-generic/bug.h:18:0, from /kisskb/src/arch/arc/include/asm/bug.h:32, 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:22, 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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/net/core/dev_ioctl.c:255:10: note: in expansion of macro 'min' min(sizeof(ifr->ifr_hwaddr.sa_data), ^~~ 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:6: /kisskb/src/fs/libfs.c: In function 'simple_attr_write': /kisskb/src/include/linux/kernel.h:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/fs/libfs.c:878:9: note: in expansion of macro 'min' size = min(sizeof(attr->set_buf) - 1, len); ^~~ 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:827:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:841:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:851:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:860: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))); ^~~ /kisskb/src/mm/dmapool.c: In function 'show_pools': /kisskb/src/mm/dmapool.c:96: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:96: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/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/fs_context.h:15, from /kisskb/src/fs/fs_parser.c:13: /kisskb/src/fs/fs_parser.c: In function 'validate_constant_table': /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:302:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~ /kisskb/src/fs/fs_parser.c:317:4: note: in expansion of macro 'pr_err' pr_err("VALIDATE C-TBL[%zu]: Null\n", i); ^~~~~~ /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:302:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~ /kisskb/src/fs/fs_parser.c:323:5: note: in expansion of macro 'pr_err' pr_err("VALIDATE C-TBL[%zu]: Duplicate %s\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:302:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~ /kisskb/src/fs/fs_parser.c:328:5: note: in expansion of macro 'pr_err' pr_err("VALIDATE C-TBL[%zu]: Missorted %s>=%s\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:302:9: note: in expansion of macro 'KERN_ERR' printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~ /kisskb/src/fs/fs_parser.c:336:4: note: in expansion of macro 'pr_err' pr_err("VALIDATE C-TBL[%zu]: %s->%d const out of range (%d-%d)\n", ^~~~~~ /kisskb/src/net/ipv4/tcp_input.c: In function 'tcp_data_queue': /kisskb/src/net/ipv4/tcp_input.c:4315:49: warning: array subscript is above array bounds [-Warray-bounds] tp->selective_acks[i-1] = tp->selective_acks[i]; ~~~~~~~~~~~~~~~~~~^~~ /kisskb/src/fs/buffer.c: In function '__find_get_block_slow': /kisskb/src/fs/buffer.c:233: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, " ^ 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:21, from /kisskb/src/drivers/scsi/scsi_lib.c:11: /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:2815: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:2815: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/drm/drm_mm.h:49:0, from /kisskb/src/include/drm/drmP.h:71, from /kisskb/src/drivers/gpu/drm/drm_gem.c:41: /kisskb/src/drivers/gpu/drm/drm_gem.c: In function 'drm_gem_print_info': /kisskb/src/include/drm/drm_print.h:110: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:1106: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/arch/arc/include/asm/atomic.h:16:0, from /kisskb/src/include/linux/atomic.h:7, from /kisskb/src/include/asm-generic/bitops/lock.h:5, from /kisskb/src/arch/arc/include/asm/bitops.h:429, from /kisskb/src/include/linux/bitops.h:19, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/fs/posix_acl.c:13: /kisskb/src/fs/posix_acl.c: In function 'get_acl': /kisskb/src/arch/arc/include/asm/cmpxchg.h:95:29: warning: value computed is not used [-Wunused-value] #define cmpxchg(ptr, o, n) ((typeof(*(ptr)))__cmpxchg((ptr), \ ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (unsigned long)(o), (unsigned long)(n))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/posix_acl.c:147:3: note: in expansion of macro 'cmpxchg' cmpxchg(p, sentinel, ACL_NOT_CACHED); ^~~~~~~ In file included from /kisskb/src/include/linux/pci.h:31:0, 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:365: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/device.h:1400: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:364:6: note: in expansion of macro 'ehci_dbg' ehci_dbg(ehci, ^~~~~~~~ /kisskb/src/drivers/usb/host/ehci-q.c:365: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/device.h:1400: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:364:6: note: in expansion of macro 'ehci_dbg' ehci_dbg(ehci, ^~~~~~~~ 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:372:25: note: in definition of macro 'DRM_DEBUG_ATOMIC' drm_dbg(DRM_UT_ATOMIC, fmt, ##__VA_ARGS__) ^~~ In file included from /kisskb/src/include/linux/dma-mapping.h:7:0, from /kisskb/src/include/linux/dma-buf.h:31, from /kisskb/src/drivers/gpu/drm/drm_gem_cma_helper.c:24: /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:115: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/device.h:1400:22: note: in definition of macro 'dev_fmt' #define dev_fmt(fmt) fmt ^~~ /kisskb/src/drivers/gpu/drm/drm_gem_cma_helper.c:115: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/drmP.h:71, from /kisskb/src/drivers/gpu/drm/drm_gem_cma_helper.c:27: /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:510: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:367:24: note: in definition of macro 'DRM_DEBUG_PRIME' drm_dbg(DRM_UT_PRIME, fmt, ##__VA_ARGS__) ^~~ In file included from /kisskb/src/arch/arc/include/asm/bug.h:32: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:2560:16: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=] WARN_ONCE(1, "xprtsock: large bc buffer request (size %zu)\n", ^ /kisskb/src/include/asm-generic/bug.h:102:69: note: in definition of macro '__WARN_printf' #define __WARN_printf(arg...) warn_slowpath_fmt(__FILE__, __LINE__, arg) ^~~ /kisskb/src/include/asm-generic/bug.h:164:3: note: in expansion of macro 'WARN' WARN(1, format); \ ^~~~ /kisskb/src/net/sunrpc/xprtsock.c:2560:3: note: in expansion of macro 'WARN_ONCE' WARN_ONCE(1, "xprtsock: large bc buffer request (size %zu)\n", ^~~~~~~~~ /kisskb/src/net/sunrpc/svc.c: In function 'svc_process_common': /kisskb/src/net/sunrpc/svc.c:1342: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", ^ Completed OK # rm -rf /kisskb/build/linus_axs103_smp_defconfig_arcv2 # Build took: 0:00:54.350867
© Michael Ellerman 2006-2018.