# git rev-parse -q --verify bd6bf7c10484f026505814b690104cdef27ed460^{commit} bd6bf7c10484f026505814b690104cdef27ed460 already have revision, skipping fetch # git checkout -q -f -B kisskb bd6bf7c10484f026505814b690104cdef27ed460 # git clean -qxdf # < git log -1 # commit bd6bf7c10484f026505814b690104cdef27ed460 # Merge: a41efc2a0f68 663569db6476 # Author: Linus Torvalds # Date: Thu Oct 25 06:50:48 2018 -0700 # # Merge tag 'pci-v4.20-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci # # Pull PCI updates from Bjorn Helgaas: # # - Fix ASPM link_state teardown on removal (Lukas Wunner) # # - Fix misleading _OSC ASPM message (Sinan Kaya) # # - Make _OSC optional for PCI (Sinan Kaya) # # - Don't initialize ASPM link state when ACPI_FADT_NO_ASPM is set # (Patrick Talbert) # # - Remove x86 and arm64 node-local allocation for host bridge structures # (Punit Agrawal) # # - Pay attention to device-specific _PXM node values (Jonathan Cameron) # # - Support new Immediate Readiness bit (Felipe Balbi) # # - Differentiate between pciehp surprise and safe removal (Lukas Wunner) # # - Remove unnecessary pciehp includes (Lukas Wunner) # # - Drop pciehp hotplug_slot_ops wrappers (Lukas Wunner) # # - Tolerate PCIe Slot Presence Detect being hardwired to zero to # workaround broken hardware, e.g., the Wilocity switch/wireless device # (Lukas Wunner) # # - Unify pciehp controller & slot structs (Lukas Wunner) # # - Constify hotplug_slot_ops (Lukas Wunner) # # - Drop hotplug_slot_info (Lukas Wunner) # # - Embed hotplug_slot struct into users instead of allocating it # separately (Lukas Wunner) # # - Initialize PCIe port service drivers directly instead of relying on # initcall ordering (Keith Busch) # # - Restore PCI config state after a slot reset (Keith Busch) # # - Save/restore DPC config state along with other PCI config state # (Keith Busch) # # - Reference count devices during AER handling to avoid race issue with # concurrent hot removal (Keith Busch) # # - If an Upstream Port reports ERR_FATAL, don't try to read the Port's # config space because it is probably unreachable (Keith Busch) # # - During error handling, use slot-specific reset instead of secondary # bus reset to avoid link up/down issues on hotplug ports (Keith Busch) # # - Restore previous AER/DPC handling that does not remove and # re-enumerate devices on ERR_FATAL (Keith Busch) # # - Notify all drivers that may be affected by error recovery resets # (Keith Busch) # # - Always generate error recovery uevents, even if a driver doesn't have # error callbacks (Keith Busch) # # - Make PCIe link active reporting detection generic (Keith Busch) # # - Support D3cold in PCIe hierarchies during system sleep and runtime, # including hotplug and Thunderbolt ports (Mika Westerberg) # # - Handle hpmemsize/hpiosize kernel parameters uniformly, whether slots # are empty or occupied (Jon Derrick) # # - Remove duplicated include from pci/pcie/err.c and unused variable # from cpqphp (YueHaibing) # # - Remove driver pci_cleanup_aer_uncorrect_error_status() calls (Oza # Pawandeep) # # - Uninline PCI bus accessors for better ftracing (Keith Busch) # # - Remove unused AER Root Port .error_resume method (Keith Busch) # # - Use kfifo in AER instead of a local version (Keith Busch) # # - Use threaded IRQ in AER bottom half (Keith Busch) # # - Use managed resources in AER core (Keith Busch) # # - Reuse pcie_port_find_device() for AER injection (Keith Busch) # # - Abstract AER interrupt handling to disconnect error injection (Keith # Busch) # # - Refactor AER injection callbacks to simplify future improvments # (Keith Busch) # # - Remove unused Netronome NFP32xx Device IDs (Jakub Kicinski) # # - Use bitmap_zalloc() for dma_alias_mask (Andy Shevchenko) # # - Add switch fall-through annotations (Gustavo A. R. Silva) # # - Remove unused Switchtec quirk variable (Joshua Abraham) # # - Fix pci.c kernel-doc warning (Randy Dunlap) # # - Remove trivial PCI wrappers for DMA APIs (Christoph Hellwig) # # - Add Intel GPU device IDs to spurious interrupt quirk (Bin Meng) # # - Run Switchtec DMA aliasing quirk only on NTB endpoints to avoid # useless dmesg errors (Logan Gunthorpe) # # - Update Switchtec NTB documentation (Wesley Yung) # # - Remove redundant "default n" from Kconfig (Bartlomiej Zolnierkiewicz) # # - Avoid panic when drivers enable MSI/MSI-X twice (Tonghao Zhang) # # - Add PCI support for peer-to-peer DMA (Logan Gunthorpe) # # - Add sysfs group for PCI peer-to-peer memory statistics (Logan # Gunthorpe) # # - Add PCI peer-to-peer DMA scatterlist mapping interface (Logan # Gunthorpe) # # - Add PCI configfs/sysfs helpers for use by peer-to-peer users (Logan # Gunthorpe) # # - Add PCI peer-to-peer DMA driver writer's documentation (Logan # Gunthorpe) # # - Add block layer flag to indicate driver support for PCI peer-to-peer # DMA (Logan Gunthorpe) # # - Map Infiniband scatterlists for peer-to-peer DMA if they contain P2P # memory (Logan Gunthorpe) # # - Register nvme-pci CMB buffer as PCI peer-to-peer memory (Logan # Gunthorpe) # # - Add nvme-pci support for PCI peer-to-peer memory in requests (Logan # Gunthorpe) # # - Use PCI peer-to-peer memory in nvme (Stephen Bates, Steve Wise, # Christoph Hellwig, Logan Gunthorpe) # # - Cache VF config space size to optimize enumeration of many VFs # (KarimAllah Ahmed) # # - Remove unnecessary include (Bjorn Helgaas) # # - Fix VMD AERSID quirk Device ID matching (Jon Derrick) # # - Fix Cadence PHY handling during probe (Alan Douglas) # # - Signal Cadence Endpoint interrupts via AXI region 0 instead of last # region (Alan Douglas) # # - Write Cadence Endpoint MSI interrupts with 32 bits of data (Alan # Douglas) # # - Remove redundant controller tests for "device_type == pci" (Rob # Herring) # # - Document R-Car E3 (R8A77990) bindings (Tho Vu) # # - Add device tree support for R-Car r8a7744 (Biju Das) # # - Drop unused mvebu PCIe capability code (Thomas Petazzoni) # # - Add shared PCI bridge emulation code (Thomas Petazzoni) # # - Convert mvebu to use shared PCI bridge emulation (Thomas Petazzoni) # # - Add aardvark Root Port emulation (Thomas Petazzoni) # # - Support 100MHz/200MHz refclocks for i.MX6 (Lucas Stach) # # - Add initial power management for i.MX7 (Leonard Crestez) # # - Add PME_Turn_Off support for i.MX7 (Leonard Crestez) # # - Fix qcom runtime power management error handling (Bjorn Andersson) # # - Update TI dra7xx unaligned access errata workaround for host mode as # well as endpoint mode (Vignesh R) # # - Fix kirin section mismatch warning (Nathan Chancellor) # # - Remove iproc PAXC slot check to allow VF support (Jitendra Bhivare) # # - Quirk Keystone K2G to limit MRRS to 256 (Kishon Vijay Abraham I) # # - Update Keystone to use MRRS quirk for host bridge instead of open # coding (Kishon Vijay Abraham I) # # - Refactor Keystone link establishment (Kishon Vijay Abraham I) # # - Simplify and speed up Keystone link training (Kishon Vijay Abraham I) # # - Remove unused Keystone host_init argument (Kishon Vijay Abraham I) # # - Merge Keystone driver files into one (Kishon Vijay Abraham I) # # - Remove redundant Keystone platform_set_drvdata() (Kishon Vijay # Abraham I) # # - Rename Keystone functions for uniformity (Kishon Vijay Abraham I) # # - Add Keystone device control module DT binding (Kishon Vijay Abraham # I) # # - Use SYSCON API to get Keystone control module device IDs (Kishon # Vijay Abraham I) # # - Clean up Keystone PHY handling (Kishon Vijay Abraham I) # # - Use runtime PM APIs to enable Keystone clock (Kishon Vijay Abraham I) # # - Clean up Keystone config space access checks (Kishon Vijay Abraham I) # # - Get Keystone outbound window count from DT (Kishon Vijay Abraham I) # # - Clean up Keystone outbound window configuration (Kishon Vijay Abraham # I) # # - Clean up Keystone DBI setup (Kishon Vijay Abraham I) # # - Clean up Keystone ks_pcie_link_up() (Kishon Vijay Abraham I) # # - Fix Keystone IRQ status checking (Kishon Vijay Abraham I) # # - Add debug messages for all Keystone errors (Kishon Vijay Abraham I) # # - Clean up Keystone includes and macros (Kishon Vijay Abraham I) # # - Fix Mediatek unchecked return value from devm_pci_remap_iospace() # (Gustavo A. R. Silva) # # - Fix Mediatek endpoint/port matching logic (Honghui Zhang) # # - Change Mediatek Root Port Class Code to PCI_CLASS_BRIDGE_PCI (Honghui # Zhang) # # - Remove redundant Mediatek PM domain check (Honghui Zhang) # # - Convert Mediatek to pci_host_probe() (Honghui Zhang) # # - Fix Mediatek MSI enablement (Honghui Zhang) # # - Add Mediatek system PM support for MT2712 and MT7622 (Honghui Zhang) # # - Add Mediatek loadable module support (Honghui Zhang) # # - Detach VMD resources after stopping root bus to prevent orphan # resources (Jon Derrick) # # - Convert pcitest build process to that used by other tools (iio, perf, # etc) (Gustavo Pimentel) # # * tag 'pci-v4.20-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (140 commits) # PCI/AER: Refactor error injection fallbacks # PCI/AER: Abstract AER interrupt handling # PCI/AER: Reuse existing pcie_port_find_device() interface # PCI/AER: Use managed resource allocations # PCI: pcie: Remove redundant 'default n' from Kconfig # PCI: aardvark: Implement emulated root PCI bridge config space # PCI: mvebu: Convert to PCI emulated bridge config space # PCI: mvebu: Drop unused PCI express capability code # PCI: Introduce PCI bridge emulated config space common logic # PCI: vmd: Detach resources after stopping root bus # nvmet: Optionally use PCI P2P memory # nvmet: Introduce helper functions to allocate and free request SGLs # nvme-pci: Add support for P2P memory in requests # nvme-pci: Use PCI p2pmem subsystem to manage the CMB # IB/core: Ensure we map P2P memory correctly in rdma_rw_ctx_[init|destroy]() # block: Add PCI P2P flag for request queue # PCI/P2PDMA: Add P2P DMA driver writer's documentation # docs-rst: Add a new directory for PCI documentation # PCI/P2PDMA: Introduce configfs/sysfs enable attribute helpers # PCI/P2PDMA: Add PCI p2pmem DMA mappings to adjust the bus offset # ... # < /opt/cross/kisskb/br-arcle-hs38-full-2016.08-613-ge98b4dd/bin/arc-linux-gcc --version # < git log --format=%s --max-count=1 bd6bf7c10484f026505814b690104cdef27ed460 # < make -s -j 80 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 80 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 80 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- 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 'check_addr': /kisskb/src/kernel/dma/direct.c:49:5: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=] "%s: overflow %pad+%zu of device mask %llx bus mask %llx\n", ^ /kisskb/src/include/linux/device.h:1342:22: note: in definition of macro 'dev_fmt' #define dev_fmt(fmt) fmt ^~~ /kisskb/src/kernel/dma/direct.c:48:4: note: in expansion of macro 'dev_err' dev_err(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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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/arch/arc/include/asm/bug.h:32:0, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/thread_info.h:12, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/arc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/mmzone.h:8, from /kisskb/src/include/linux/bootmem.h:8, from /kisskb/src/mm/percpu.c:68: /kisskb/src/mm/percpu.c: In function 'pcpu_alloc': /kisskb/src/mm/percpu.c:1382: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:1382: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:1382: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:1382: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:14, 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:310:9: note: in expansion of macro 'KERN_WARNING' printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:311:17: note: in expansion of macro 'pr_warning' #define pr_warn pr_warning ^~~~~~~~~~ /kisskb/src/mm/percpu.c:1513: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:310:9: note: in expansion of macro 'KERN_WARNING' printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~~ /kisskb/src/include/linux/printk.h:311:17: note: in expansion of macro 'pr_warning' #define pr_warn pr_warning ^~~~~~~~~~ /kisskb/src/mm/percpu.c:1513: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:1948: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:1948: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:1948: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:1948: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:1948: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:1948: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", ^ In file included from /kisskb/src/include/linux/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:14, 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:315:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/mm/percpu.c:2532: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:315:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/mm/percpu.c:2532: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:315:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/mm/percpu.c:2532: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:315:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/mm/percpu.c:2532: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:315:9: note: in expansion of macro 'KERN_INFO' printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~ /kisskb/src/mm/percpu.c:2532: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/linux/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:14, 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:1892: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/drivers/char/random.c:1930:11: note: in expansion of macro 'min' bytes = min(count, sizeof(buf)); ^~~ In file included from /kisskb/src/include/linux/kernel.h:14: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:136: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:330: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:136: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:330: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", ^~~~~~~~ /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/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/slab.h:15, from /kisskb/src/mm/nobootmem.c:14: /kisskb/src/mm/nobootmem.c: In function '__free_pages_memory': /kisskb/src/include/linux/kernel.h:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/mm/nobootmem.c:104:11: note: in expansion of macro 'min' order = min(MAX_ORDER - 1UL, __ffs(start)); ^~~ 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:1342: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/component.c:11:0: /kisskb/src/drivers/base/component.c: In function 'find_components': /kisskb/src/drivers/base/component.c:174: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:1342:22: note: in definition of macro 'dev_fmt' #define dev_fmt(fmt) fmt ^~~ /kisskb/src/drivers/base/component.c:174: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/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:1342: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/kernel.h:14: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:3653: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:136:10: note: in definition of macro 'no_printk' printk(fmt, ##__VA_ARGS__); \ ^~~ /kisskb/src/fs/ext4/inode.c:3653: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/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:91: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:91: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/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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/net/core/sysctl_net_core.c:166:9: note: in expansion of macro 'min' len = min(sizeof(kbuf) - 1, *lenp); ^~~ 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:163: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:2617:24: note: in definition of macro 'ext4_msg' __ext4_msg(sb, level, fmt, ##__VA_ARGS__) ^~~ 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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/fs/ext4/namei.c:1424:13: note: in expansion of macro 'min' ra_max = min(ra_max, ARRAY_SIZE(bh_use)); ^~~ 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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/fs/proc/task_mmu.c:1513:9: note: in expansion of macro 'min' len = min(count, PM_ENTRY_BYTES * pm.pos); ^~~ 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:2615:50: note: in definition of macro 'ext4_warning_inode' __ext4_warning_inode(inode, __func__, __LINE__, fmt, ##__VA_ARGS__) ^~~ /kisskb/src/net/ipv4/tcp_input.c: In function 'tcp_data_queue': /kisskb/src/net/ipv4/tcp_input.c:4311:49: warning: array subscript is above array bounds [-Warray-bounds] tp->selective_acks[i-1] = tp->selective_acks[i]; ~~~~~~~~~~~~~~~~~~^~~ In file included from /kisskb/src/include/linux/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:14, 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:341: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/lib/kstrtox.c:17:0: /kisskb/src/lib/kstrtox.c: In function 'kstrtobool_from_user': /kisskb/src/include/linux/kernel.h:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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/kernel.h:14: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:136: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:346: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:136: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:346: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/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:11, 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:3304: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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/drm/drm_mm.h:49:0, from /kisskb/src/include/drm/drmP.h:73, 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:820: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:853: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", 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: In function 'drm_dp_i2c_drain_msg': /kisskb/src/drivers/gpu/drm/drm_dp_helper.c:905: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/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:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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/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:2644: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:2644: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/drm/drm_mm.h:49:0, from /kisskb/src/include/drm/drmP.h:73, 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/include/drm/drm_mm.h:49:0, from /kisskb/src/include/drm/drmP.h:73, from /kisskb/src/drivers/gpu/drm/drm_gem.c:40: /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:1065:2: note: in expansion of macro 'drm_printf_indent' drm_printf_indent(p, indent, "size=%zu\n", obj->size); ^~~~~~~~~~~~~~~~~ /kisskb/src/fs/buffer.c: In function '__find_get_block_slow': /kisskb/src/fs/buffer.c:235:37: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=] printk("b_state=0x%08lx, b_size=%zu\n", ^ /kisskb/src/drivers/gpu/drm/drm_info.c: In function 'drm_gem_one_name_info': /kisskb/src/drivers/gpu/drm/drm_info.c:118:24: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'size_t {aka unsigned int}' [-Wformat=] seq_printf(m, "%6d %8zd %7d %8d\n", ^ In file included from /kisskb/src/include/drm/drm_mm.h:49:0, from /kisskb/src/include/drm/drmP.h:73, from /kisskb/src/drivers/gpu/drm/drm_atomic.c:29: /kisskb/src/drivers/gpu/drm/drm_atomic.c: In function 'drm_atomic_set_mode_prop_for_crtc': /kisskb/src/drivers/gpu/drm/drm_atomic.c:441: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:1342: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:73, 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:507: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/include/linux/printk.h:7:0, from /kisskb/src/include/linux/kernel.h:14, 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:3374: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:3374: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/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:1342: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:1342: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/net/sunrpc/svc.c: In function 'svc_process_common': /kisskb/src/net/sunrpc/svc.c:1345: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/drivers/tty/serial/earlycon.c:14:0: /kisskb/src/drivers/tty/serial/earlycon.c: In function 'earlycon_init': /kisskb/src/include/linux/kernel.h:845:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/kernel.h:859:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:869:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:878: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))); ^~~ Completed OK # rm -rf /kisskb/build/linus_axs103_smp_defconfig_arcv2 # Build took: 0:01:00.822928