Tree/Branch: master
Git describe: v3.17-rc1-99-g5317821
Commit: 5317821c08 Merge branch 'for-3.17-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata
Build Time: 33 min 36 sec
Passed: 4 / 5 ( 80.00 %)
Failed: 1 / 5 ( 20.00 %)
Errors: 3
Warnings: 28
Section Mismatches: 2
Failed defconfigs:
arm-allmodconfig
Errors:
arm-allmodconfig
/tmp/cckhsaFx.s:147: Error: selected processor does not support ARM mode `isb '
/tmp/cckhsaFx.s:153: Error: selected processor does not support ARM mode `isb '
/tmp/cckhsaFx.s:154: Error: selected processor does not support ARM mode `dsb '
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
3 warnings 0 mismatches : arm64-allnoconfig
18 warnings 2 mismatches : arm-allmodconfig
9 warnings 0 mismatches : arm64-allmodconfig
2 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 3
1 /tmp/cckhsaFx.s:154: Error: selected processor does not support ARM mode `dsb '
1 /tmp/cckhsaFx.s:153: Error: selected processor does not support ARM mode `isb '
1 /tmp/cckhsaFx.s:147: Error: selected processor does not support ARM mode `isb '
Warnings Summary: 28
5 <stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
1 ../sound/soc/fsl/fsl_sai.c:337:7: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../net/rds/iw_rdma.c:200:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/tty/isicom.c:1058:240: warning: integer overflow in expression [-Woverflow]
1 ../drivers/staging/wlan-ng/prism2fw.c:792:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/staging/vt6655/device_main.c:3091:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/staging/rtl8192ee/pci.c:885:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'sk_buff_data_t' [-Wformat=]
1 ../drivers/staging/rtl8192ee/pci.c:885:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'sk_buff_data_t' [-Wformat=]
1 ../drivers/staging/dgnc/dgnc_tty.c:572:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
1 ../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [enabled by default]
1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 ../drivers/net/ethernet/amd/nmclan_cs.c:624:3: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at ../include/pcmcia/ds.h:213) [-Wdeprecated-declarations]
1 ../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/isdn/hardware/mISDN/w6692.c:1181:75: warning: unsupported argument to '__builtin_return_address'
1 ../drivers/isdn/hardware/mISDN/mISDNipac.c:759:75: warning: unsupported argument to '__builtin_return_address'
1 ../drivers/irqchip/irq-gic-v3.c:203:12: warning: 'gic_peek_irq' defined but not used [-Wunused-function]
1 ../drivers/irqchip/irq-gic-v3.c:132:13: warning: 'gic_write_sgi1r' defined but not used [-Wunused-function]
1 ../drivers/infiniband/hw/mlx5/mem.c:71:143: warning: comparison of distinct pointer types lacks a cast
1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined [enabled by default]
1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined [enabled by default]
1 ../arch/arm/mach-cns3xxx/pcie.c:311:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Section Mismatch Summary: 2
1 WARNING: drivers/cpufreq/built-in.o(.data+0xc3c): Section mismatch in reference from the variable s5pv210_driver to the function .init.text:s5pv210_cpu_init()
1 WARNING: drivers/built-in.o(.data+0x4f998): Section mismatch in reference from the variable s5pv210_driver to the function .init.text:s5pv210_cpu_init()
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
<stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
../drivers/irqchip/irq-gic-v3.c:132:13: warning: 'gic_write_sgi1r' defined but not used [-Wunused-function]
../drivers/irqchip/irq-gic-v3.c:203:12: warning: 'gic_peek_irq' defined but not used [-Wunused-function]
-------------------------------------------------------------------------------
arm-allmodconfig : FAIL, 3 errors, 18 warnings, 2 section mismatches
Errors:
/tmp/cckhsaFx.s:147: Error: selected processor does not support ARM mode `isb '
/tmp/cckhsaFx.s:153: Error: selected processor does not support ARM mode `isb '
/tmp/cckhsaFx.s:154: Error: selected processor does not support ARM mode `dsb '
Warnings:
../arch/arm/mach-cns3xxx/pcie.c:311:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../net/rds/iw_rdma.c:200:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/infiniband/hw/mlx5/mem.c:71:143: warning: comparison of distinct pointer types lacks a cast
../drivers/isdn/hardware/mISDN/w6692.c:1181:75: warning: unsupported argument to '__builtin_return_address'
../drivers/isdn/hardware/mISDN/mISDNipac.c:759:75: warning: unsupported argument to '__builtin_return_address'
../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/net/ethernet/amd/nmclan_cs.c:624:3: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at ../include/pcmcia/ds.h:213) [-Wdeprecated-declarations]
../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
../drivers/tty/isicom.c:1058:240: warning: integer overflow in expression [-Woverflow]
../drivers/staging/dgnc/dgnc_tty.c:572:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/staging/rtl8192ee/pci.c:885:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'sk_buff_data_t' [-Wformat=]
../drivers/staging/rtl8192ee/pci.c:885:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'sk_buff_data_t' [-Wformat=]
../drivers/staging/vt6655/device_main.c:3091:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/staging/wlan-ng/prism2fw.c:792:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Section Mismatches:
WARNING: drivers/cpufreq/built-in.o(.data+0xc3c): Section mismatch in reference from the variable s5pv210_driver to the function .init.text:s5pv210_cpu_init()
WARNING: drivers/built-in.o(.data+0x4f998): Section mismatch in reference from the variable s5pv210_driver to the function .init.text:s5pv210_cpu_init()
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings:
<stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined [enabled by default]
../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined [enabled by default]
../sound/soc/fsl/fsl_sai.c:337:7: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [enabled by default]
../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
<stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
<stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
<stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
arm-allnoconfig
Tree/Branch: master
Git describe: v3.17-rc1-51-g372b1db
Commit: 372b1dbdd1 Merge branch 'for-linus' of git://git.samba.org/sfrench/cifs-2.6
Build Time: 21 min 8 sec
Passed: 4 / 5 ( 80.00 %)
Failed: 1 / 5 ( 20.00 %)
Errors: 14
Warnings: 61
Section Mismatches: 1
Failed defconfigs:
arm-allmodconfig
Errors:
arm-allmodconfig
/tmp/ccBlettj.s:141: Error: selected processor does not support ARM mode `isb '
/tmp/ccBlettj.s:147: Error: selected processor does not support ARM mode `isb '
/tmp/ccBlettj.s:148: Error: selected processor does not support ARM mode `dsb '
../drivers/ata/ahci_tegra.c:27:35: fatal error: linux/tegra-powergate.h: No such file or directory
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../drivers/gpu/drm/radeon/radeon_cp.c:1769:6: error: implicit declaration of function 'tsleep' [-Werror=implicit-function-declaration]
../drivers/gpu/drm/radeon/radeon_cp.c:1769:19: error: 'PZERO' undeclared (first use in this function)
../drivers/scsi/aic7xxx/aic79xx_core.c:48:37: fatal error: dev/aic7xxx/aic79xx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic79xx_pci.c:48:37: fatal error: dev/aic7xxx/aic79xx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic7xxx_core.c:48:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic7xxx_93cx6.c:72:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic7xxx_pci.c:50:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
3 warnings 0 mismatches : arm64-allnoconfig
18 warnings 1 mismatches : arm-allmodconfig
33 warnings 0 mismatches : arm-allnoconfig
9 warnings 0 mismatches : arm64-allmodconfig
2 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 14
10 ../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
10 ../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
10 ../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
1 /tmp/ccBlettj.s:148: Error: selected processor does not support ARM mode `dsb '
1 /tmp/ccBlettj.s:147: Error: selected processor does not support ARM mode `isb '
1 /tmp/ccBlettj.s:141: Error: selected processor does not support ARM mode `isb '
1 ../drivers/scsi/aic7xxx/aic7xxx_pci.c:50:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
1 ../drivers/scsi/aic7xxx/aic7xxx_core.c:48:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
1 ../drivers/scsi/aic7xxx/aic7xxx_93cx6.c:72:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
1 ../drivers/scsi/aic7xxx/aic79xx_pci.c:48:37: fatal error: dev/aic7xxx/aic79xx_osm.h: No such file or directory
1 ../drivers/scsi/aic7xxx/aic79xx_core.c:48:37: fatal error: dev/aic7xxx/aic79xx_osm.h: No such file or directory
1 ../drivers/gpu/drm/radeon/radeon_cp.c:1769:6: error: implicit declaration of function 'tsleep' [-Werror=implicit-function-declaration]
1 ../drivers/gpu/drm/radeon/radeon_cp.c:1769:19: error: 'PZERO' undeclared (first use in this function)
1 ../drivers/ata/ahci_tegra.c:27:35: fatal error: linux/tegra-powergate.h: No such file or directory
Warnings Summary: 61
5 <stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
1 ../sound/soc/fsl/fsl_sai.c:337:7: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../net/rds/iw_rdma.c:200:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../mm/slab_common.c:419:6: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘unsigned int’ [-Wformat=]
1 ../mm/percpu.c:825:3: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘unsigned int’ [-Wformat=]
1 ../mm/percpu.c:825:3: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘unsigned int’ [-Wformat=]
1 ../mm/percpu.c:726:3: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘unsigned int’ [-Wformat=]
1 ../mm/percpu.c:726:3: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘unsigned int’ [-Wformat=]
1 ../mm/percpu.c:1134:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 8 has type ‘unsigned int’ [-Wformat=]
1 ../mm/percpu.c:1134:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 7 has type ‘unsigned int’ [-Wformat=]
1 ../mm/percpu.c:1134:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘unsigned int’ [-Wformat=]
1 ../mm/percpu.c:1134:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 5 has type ‘unsigned int’ [-Wformat=]
1 ../mm/percpu.c:1134:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 4 has type ‘unsigned int’ [-Wformat=]
1 ../mm/percpu.c:1134:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘unsigned int’ [-Wformat=]
1 ../mm/percpu-km.c:105:10: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘unsigned int’ [-Wformat=]
1 ../mm/nommu.c:1659:2: warning: format ‘%zx’ expects argument of type ‘size_t’, but argument 4 has type ‘unsigned int’ [-Wformat=]
1 ../mm/dmapool.c:98:6: warning: format ‘%Zu’ expects argument of type ‘size_t’, but argument 7 has type ‘unsigned int’ [-Wformat=]
1 ../mm/dmapool.c:98:6: warning: format ‘%Zu’ expects argument of type ‘size_t’, but argument 6 has type ‘unsigned int’ [-Wformat=]
1 ../lib/swiotlb.c:710:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘unsigned int’ [-Wformat=]
1 ../lib/swiotlb.c:517:3: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 3 has type ‘size_t’ [-Wformat=]
1 ../lib/kstrtox.c:347:229: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:346:229: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:345:232: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:344:232: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:343:232: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:342:251: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:341:232: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:340:251: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:339:243: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:338:262: warning: comparison of distinct pointer types lacks a cast
1 ../fs/libfs.c:846:125: warning: comparison of distinct pointer types lacks a cast
1 ../drivers/tty/isicom.c:1058:240: warning: integer overflow in expression [-Woverflow]
1 ../drivers/staging/wlan-ng/prism2fw.c:792:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/staging/vt6655/device_main.c:3091:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/staging/rtl8192ee/pci.c:885:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘sk_buff_data_t’ [-Wformat=]
1 ../drivers/staging/rtl8192ee/pci.c:885:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘sk_buff_data_t’ [-Wformat=]
1 ../drivers/staging/dgnc/dgnc_tty.c:572:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
1 ../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [enabled by default]
1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 ../drivers/net/ethernet/amd/nmclan_cs.c:624:3: warning: ‘pcmcia_request_exclusive_irq’ is deprecated (declared at ../include/pcmcia/ds.h:213) [-Wdeprecated-declarations]
1 ../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/isdn/hardware/mISDN/w6692.c:1181:75: warning: unsupported argument to ‘__builtin_return_address’
1 ../drivers/isdn/hardware/mISDN/mISDNipac.c:759:75: warning: unsupported argument to ‘__builtin_return_address’
1 ../drivers/irqchip/irq-gic-v3.c:203:12: warning: 'gic_peek_irq' defined but not used [-Wunused-function]
1 ../drivers/irqchip/irq-gic-v3.c:132:13: warning: 'gic_write_sgi1r' defined but not used [-Wunused-function]
1 ../drivers/infiniband/hw/mlx5/mem.c:71:143: warning: comparison of distinct pointer types lacks a cast
1 ../drivers/char/random.c:1420:103: warning: comparison of distinct pointer types lacks a cast
1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined [enabled by default]
1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined [enabled by default]
1 ../arch/arm/mm/init.c:587:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 25 has type ‘long int’ [-Wformat=]
1 ../arch/arm/mm/init.c:587:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 22 has type ‘long int’ [-Wformat=]
1 ../arch/arm/mm/init.c:587:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 19 has type ‘long int’ [-Wformat=]
1 ../arch/arm/mm/init.c:587:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 16 has type ‘long int’ [-Wformat=]
1 ../arch/arm/mach-cns3xxx/pcie.c:311:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Section Mismatch Summary: 1
1 WARNING: drivers/cpufreq/built-in.o(.data+0xc3c): Section mismatch in reference from the variable s5pv210_driver to the function .init.text:s5pv210_cpu_init()
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
<stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
../drivers/irqchip/irq-gic-v3.c:132:13: warning: 'gic_write_sgi1r' defined but not used [-Wunused-function]
../drivers/irqchip/irq-gic-v3.c:203:12: warning: 'gic_peek_irq' defined but not used [-Wunused-function]
-------------------------------------------------------------------------------
arm-allmodconfig : FAIL, 41 errors, 18 warnings, 1 section mismatches
Errors:
/tmp/ccBlettj.s:141: Error: selected processor does not support ARM mode `isb '
/tmp/ccBlettj.s:147: Error: selected processor does not support ARM mode `isb '
/tmp/ccBlettj.s:148: Error: selected processor does not support ARM mode `dsb '
../drivers/ata/ahci_tegra.c:27:35: fatal error: linux/tegra-powergate.h: No such file or directory
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../drivers/gpu/drm/radeon/radeon_cp.c:1769:6: error: implicit declaration of function 'tsleep' [-Werror=implicit-function-declaration]
../drivers/gpu/drm/radeon/radeon_cp.c:1769:19: error: 'PZERO' undeclared (first use in this function)
../drivers/scsi/aic7xxx/aic79xx_core.c:48:37: fatal error: dev/aic7xxx/aic79xx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic79xx_pci.c:48:37: fatal error: dev/aic7xxx/aic79xx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic7xxx_core.c:48:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic7xxx_93cx6.c:72:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic7xxx_pci.c:50:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
Warnings:
../arch/arm/mach-cns3xxx/pcie.c:311:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../net/rds/iw_rdma.c:200:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/infiniband/hw/mlx5/mem.c:71:143: warning: comparison of distinct pointer types lacks a cast
../drivers/isdn/hardware/mISDN/w6692.c:1181:75: warning: unsupported argument to ‘__builtin_return_address’
../drivers/isdn/hardware/mISDN/mISDNipac.c:759:75: warning: unsupported argument to ‘__builtin_return_address’
../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/net/ethernet/amd/nmclan_cs.c:624:3: warning: ‘pcmcia_request_exclusive_irq’ is deprecated (declared at ../include/pcmcia/ds.h:213) [-Wdeprecated-declarations]
../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/dgnc/dgnc_tty.c:572:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
../drivers/tty/isicom.c:1058:240: warning: integer overflow in expression [-Woverflow]
../drivers/staging/rtl8192ee/pci.c:885:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘sk_buff_data_t’ [-Wformat=]
../drivers/staging/rtl8192ee/pci.c:885:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘sk_buff_data_t’ [-Wformat=]
../drivers/staging/vt6655/device_main.c:3091:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/staging/wlan-ng/prism2fw.c:792:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Section Mismatches:
WARNING: drivers/cpufreq/built-in.o(.data+0xc3c): Section mismatch in reference from the variable s5pv210_driver to the function .init.text:s5pv210_cpu_init()
-------------------------------------------------------------------------------
arm-allnoconfig : PASS, 0 errors, 33 warnings, 0 section mismatches
Warnings:
../arch/arm/mm/init.c:587:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 16 has type ‘long int’ [-Wformat=]
../arch/arm/mm/init.c:587:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 19 has type ‘long int’ [-Wformat=]
../arch/arm/mm/init.c:587:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 22 has type ‘long int’ [-Wformat=]
../arch/arm/mm/init.c:587:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 25 has type ‘long int’ [-Wformat=]
../mm/percpu-km.c:105:10: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘unsigned int’ [-Wformat=]
../mm/percpu.c:726:3: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘unsigned int’ [-Wformat=]
../mm/percpu.c:726:3: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘unsigned int’ [-Wformat=]
../mm/percpu.c:825:3: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘unsigned int’ [-Wformat=]
../mm/percpu.c:825:3: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘unsigned int’ [-Wformat=]
../mm/percpu.c:1134:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘unsigned int’ [-Wformat=]
../mm/percpu.c:1134:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 4 has type ‘unsigned int’ [-Wformat=]
../mm/percpu.c:1134:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 5 has type ‘unsigned int’ [-Wformat=]
../mm/percpu.c:1134:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 6 has type ‘unsigned int’ [-Wformat=]
../mm/percpu.c:1134:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 7 has type ‘unsigned int’ [-Wformat=]
../mm/percpu.c:1134:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 8 has type ‘unsigned int’ [-Wformat=]
../mm/slab_common.c:419:6: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘unsigned int’ [-Wformat=]
../fs/libfs.c:846:125: warning: comparison of distinct pointer types lacks a cast
../mm/nommu.c:1659:2: warning: format ‘%zx’ expects argument of type ‘size_t’, but argument 4 has type ‘unsigned int’ [-Wformat=]
../mm/dmapool.c:98:6: warning: format ‘%Zu’ expects argument of type ‘size_t’, but argument 6 has type ‘unsigned int’ [-Wformat=]
../mm/dmapool.c:98:6: warning: format ‘%Zu’ expects argument of type ‘size_t’, but argument 7 has type ‘unsigned int’ [-Wformat=]
../drivers/char/random.c:1420:103: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:338:262: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:339:243: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:340:251: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:341:232: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:342:251: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:343:232: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:344:232: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:345:232: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:346:229: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:347:229: warning: comparison of distinct pointer types lacks a cast
../lib/swiotlb.c:517:3: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 3 has type ‘size_t’ [-Wformat=]
../lib/swiotlb.c:710:9: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 2 has type ‘unsigned int’ [-Wformat=]
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings:
<stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined [enabled by default]
../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined [enabled by default]
../sound/soc/fsl/fsl_sai.c:337:7: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [enabled by default]
../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
<stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
<stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
<stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
Tree/Branch: next-20140820
Git describe: next-20140820
Commit: cd01ad7c87 Add linux-next specific files for 20140820
Build Time: 8 min 24 sec
Passed: 3 / 5 ( 60.00 %)
Failed: 2 / 5 ( 40.00 %)
Errors: 14
Warnings: 61
Section Mismatches: 1
Failed defconfigs:
arm-allmodconfig
arm64-allmodconfig
Errors:
arm-allmodconfig
/tmp/ccKyIIv4.s:141: Error: selected processor does not support ARM mode `isb '
/tmp/ccKyIIv4.s:147: Error: selected processor does not support ARM mode `isb '
/tmp/ccKyIIv4.s:148: Error: selected processor does not support ARM mode `dsb '
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../drivers/gpu/drm/radeon/radeon_cp.c:1769:6: error: implicit declaration of function 'tsleep' [-Werror=implicit-function-declaration]
../drivers/gpu/drm/radeon/radeon_cp.c:1769:19: error: 'PZERO' undeclared (first use in this function)
../drivers/scsi/aic7xxx/aic7xxx_core.c:48:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic7xxx_93cx6.c:72:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic7xxx_pci.c:50:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic79xx_core.c:48:37: fatal error: dev/aic7xxx/aic79xx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic79xx_pci.c:48:37: fatal error: dev/aic7xxx/aic79xx_osm.h: No such file or directory
arm64-allmodconfig
../arch/arm64/kernel/ptrace.c:1120:3: error: too many arguments to function 'audit_syscall_entry'
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
1 warnings 0 mismatches : arm64-allnoconfig
18 warnings 1 mismatches : arm-allmodconfig
33 warnings 0 mismatches : arm-allnoconfig
9 warnings 0 mismatches : arm64-allmodconfig
3 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 14
10 ../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
10 ../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
10 ../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
1 /tmp/ccKyIIv4.s:148: Error: selected processor does not support ARM mode `dsb '
1 /tmp/ccKyIIv4.s:147: Error: selected processor does not support ARM mode `isb '
1 /tmp/ccKyIIv4.s:141: Error: selected processor does not support ARM mode `isb '
1 ../drivers/scsi/aic7xxx/aic7xxx_pci.c:50:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
1 ../drivers/scsi/aic7xxx/aic7xxx_core.c:48:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
1 ../drivers/scsi/aic7xxx/aic7xxx_93cx6.c:72:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
1 ../drivers/scsi/aic7xxx/aic79xx_pci.c:48:37: fatal error: dev/aic7xxx/aic79xx_osm.h: No such file or directory
1 ../drivers/scsi/aic7xxx/aic79xx_core.c:48:37: fatal error: dev/aic7xxx/aic79xx_osm.h: No such file or directory
1 ../drivers/gpu/drm/radeon/radeon_cp.c:1769:6: error: implicit declaration of function 'tsleep' [-Werror=implicit-function-declaration]
1 ../drivers/gpu/drm/radeon/radeon_cp.c:1769:19: error: 'PZERO' undeclared (first use in this function)
1 ../arch/arm64/kernel/ptrace.c:1120:3: error: too many arguments to function 'audit_syscall_entry'
Warnings Summary: 61
4 <stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
1 ../sound/soc/generic/simple-card.c:229:10: warning: passing argument 3 of 'asoc_simple_card_sub_parse_of' from incompatible pointer type [enabled by default]
1 ../sound/soc/generic/simple-card.c:227:8: warning: passing argument 3 of 'asoc_simple_card_sub_parse_of' from incompatible pointer type
1 ../sound/soc/generic/simple-card.c:198:10: warning: passing argument 3 of 'asoc_simple_card_sub_parse_of' from incompatible pointer type [enabled by default]
1 ../sound/soc/generic/simple-card.c:196:8: warning: passing argument 3 of 'asoc_simple_card_sub_parse_of' from incompatible pointer type
1 ../net/rds/iw_rdma.c:200:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../mm/slab_common.c:419:6: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=]
1 ../mm/percpu.c:825:3: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=]
1 ../mm/percpu.c:825:3: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=]
1 ../mm/percpu.c:726:3: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=]
1 ../mm/percpu.c:726:3: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=]
1 ../mm/percpu.c:1134:9: warning: format '%zu' expects argument of type 'size_t', but argument 8 has type 'unsigned int' [-Wformat=]
1 ../mm/percpu.c:1134:9: warning: format '%zu' expects argument of type 'size_t', but argument 7 has type 'unsigned int' [-Wformat=]
1 ../mm/percpu.c:1134:9: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=]
1 ../mm/percpu.c:1134:9: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=]
1 ../mm/percpu.c:1134:9: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=]
1 ../mm/percpu.c:1134:9: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=]
1 ../mm/percpu-km.c:105:10: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=]
1 ../mm/nommu.c:1659:2: warning: format '%zx' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=]
1 ../mm/dmapool.c:98:6: warning: format '%Zu' expects argument of type 'size_t', but argument 7 has type 'unsigned int' [-Wformat=]
1 ../mm/dmapool.c:98:6: warning: format '%Zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=]
1 ../lib/swiotlb.c:710:9: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=]
1 ../lib/swiotlb.c:517:3: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'size_t' [-Wformat=]
1 ../lib/kstrtox.c:347:229: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:346:229: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:345:232: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:344:232: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:343:232: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:342:251: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:341:232: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:340:251: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:339:243: warning: comparison of distinct pointer types lacks a cast
1 ../lib/kstrtox.c:338:262: warning: comparison of distinct pointer types lacks a cast
1 ../kernel/rcu/tree_plugin.h:2668:123: warning: 'rcu_organize_nocb_kthreads' defined but not used [-Wunused-function]
1 ../fs/libfs.c:846:125: warning: comparison of distinct pointer types lacks a cast
1 ../drivers/tty/isicom.c:1058:240: warning: integer overflow in expression [-Woverflow]
1 ../drivers/staging/vt6655/device_main.c:3106:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/staging/rtl8192ee/pci.c:879:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'sk_buff_data_t' [-Wformat=]
1 ../drivers/staging/rtl8192ee/pci.c:879:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'sk_buff_data_t' [-Wformat=]
1 ../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
1 ../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [enabled by default]
1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 ../drivers/net/ethernet/amd/nmclan_cs.c:624:3: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at ../include/pcmcia/ds.h:213) [-Wdeprecated-declarations]
1 ../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/isdn/hardware/mISDN/w6692.c:1181:75: warning: unsupported argument to '__builtin_return_address'
1 ../drivers/isdn/hardware/mISDN/mISDNipac.c:759:75: warning: unsupported argument to '__builtin_return_address'
1 ../drivers/infiniband/hw/mlx5/mem.c:71:143: warning: comparison of distinct pointer types lacks a cast
1 ../drivers/char/random.c:1420:103: warning: comparison of distinct pointer types lacks a cast
1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined [enabled by default]
1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined [enabled by default]
1 ../arch/arm/mm/init.c:587:4: warning: format '%d' expects argument of type 'int', but argument 25 has type 'long int' [-Wformat=]
1 ../arch/arm/mm/init.c:587:4: warning: format '%d' expects argument of type 'int', but argument 22 has type 'long int' [-Wformat=]
1 ../arch/arm/mm/init.c:587:4: warning: format '%d' expects argument of type 'int', but argument 19 has type 'long int' [-Wformat=]
1 ../arch/arm/mm/init.c:587:4: warning: format '%d' expects argument of type 'int', but argument 16 has type 'long int' [-Wformat=]
1 ../arch/arm/mach-cns3xxx/pcie.c:311:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Section Mismatch Summary: 1
1 WARNING: drivers/cpufreq/built-in.o(.data+0xc3c): Section mismatch in reference from the variable s5pv210_driver to the function .init.text:s5pv210_cpu_init()
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
<stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm-allmodconfig : FAIL, 40 errors, 18 warnings, 1 section mismatches
Errors:
/tmp/ccKyIIv4.s:141: Error: selected processor does not support ARM mode `isb '
/tmp/ccKyIIv4.s:147: Error: selected processor does not support ARM mode `isb '
/tmp/ccKyIIv4.s:148: Error: selected processor does not support ARM mode `dsb '
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:221:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:229:2: error: unknown type name 'u_quad_t'
../include/uapi/linux/coda.h:230:2: error: unknown type name 'u_quad_t'
../drivers/gpu/drm/radeon/radeon_cp.c:1769:6: error: implicit declaration of function 'tsleep' [-Werror=implicit-function-declaration]
../drivers/gpu/drm/radeon/radeon_cp.c:1769:19: error: 'PZERO' undeclared (first use in this function)
../drivers/scsi/aic7xxx/aic7xxx_core.c:48:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic7xxx_93cx6.c:72:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic7xxx_pci.c:50:37: fatal error: dev/aic7xxx/aic7xxx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic79xx_core.c:48:37: fatal error: dev/aic7xxx/aic79xx_osm.h: No such file or directory
../drivers/scsi/aic7xxx/aic79xx_pci.c:48:37: fatal error: dev/aic7xxx/aic79xx_osm.h: No such file or directory
Warnings:
../arch/arm/mach-cns3xxx/pcie.c:311:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../sound/soc/generic/simple-card.c:196:8: warning: passing argument 3 of 'asoc_simple_card_sub_parse_of' from incompatible pointer type
../sound/soc/generic/simple-card.c:227:8: warning: passing argument 3 of 'asoc_simple_card_sub_parse_of' from incompatible pointer type
../net/rds/iw_rdma.c:200:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/infiniband/hw/mlx5/mem.c:71:143: warning: comparison of distinct pointer types lacks a cast
../drivers/isdn/hardware/mISDN/w6692.c:1181:75: warning: unsupported argument to '__builtin_return_address'
../drivers/isdn/hardware/mISDN/mISDNipac.c:759:75: warning: unsupported argument to '__builtin_return_address'
../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/net/ethernet/amd/nmclan_cs.c:624:3: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at ../include/pcmcia/ds.h:213) [-Wdeprecated-declarations]
../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
../drivers/tty/isicom.c:1058:240: warning: integer overflow in expression [-Woverflow]
../drivers/staging/rtl8192ee/pci.c:879:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'sk_buff_data_t' [-Wformat=]
../drivers/staging/rtl8192ee/pci.c:879:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'sk_buff_data_t' [-Wformat=]
../drivers/staging/vt6655/device_main.c:3106:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Section Mismatches:
WARNING: drivers/cpufreq/built-in.o(.data+0xc3c): Section mismatch in reference from the variable s5pv210_driver to the function .init.text:s5pv210_cpu_init()
-------------------------------------------------------------------------------
arm-allnoconfig : PASS, 0 errors, 33 warnings, 0 section mismatches
Warnings:
../arch/arm/mm/init.c:587:4: warning: format '%d' expects argument of type 'int', but argument 16 has type 'long int' [-Wformat=]
../arch/arm/mm/init.c:587:4: warning: format '%d' expects argument of type 'int', but argument 19 has type 'long int' [-Wformat=]
../arch/arm/mm/init.c:587:4: warning: format '%d' expects argument of type 'int', but argument 22 has type 'long int' [-Wformat=]
../arch/arm/mm/init.c:587:4: warning: format '%d' expects argument of type 'int', but argument 25 has type 'long int' [-Wformat=]
../mm/slab_common.c:419:6: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=]
../mm/percpu-km.c:105:10: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=]
../mm/percpu.c:726:3: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=]
../mm/percpu.c:726:3: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=]
../mm/percpu.c:825:3: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=]
../mm/percpu.c:825:3: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=]
../mm/percpu.c:1134:9: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int' [-Wformat=]
../mm/percpu.c:1134:9: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=]
../mm/percpu.c:1134:9: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat=]
../mm/percpu.c:1134:9: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=]
../mm/percpu.c:1134:9: warning: format '%zu' expects argument of type 'size_t', but argument 7 has type 'unsigned int' [-Wformat=]
../mm/percpu.c:1134:9: warning: format '%zu' expects argument of type 'size_t', but argument 8 has type 'unsigned int' [-Wformat=]
../mm/nommu.c:1659:2: warning: format '%zx' expects argument of type 'size_t', but argument 4 has type 'unsigned int' [-Wformat=]
../mm/dmapool.c:98:6: warning: format '%Zu' expects argument of type 'size_t', but argument 6 has type 'unsigned int' [-Wformat=]
../mm/dmapool.c:98:6: warning: format '%Zu' expects argument of type 'size_t', but argument 7 has type 'unsigned int' [-Wformat=]
../fs/libfs.c:846:125: warning: comparison of distinct pointer types lacks a cast
../drivers/char/random.c:1420:103: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:338:262: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:339:243: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:340:251: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:341:232: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:342:251: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:343:232: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:344:232: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:345:232: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:346:229: warning: comparison of distinct pointer types lacks a cast
../lib/kstrtox.c:347:229: warning: comparison of distinct pointer types lacks a cast
../lib/swiotlb.c:517:3: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'size_t' [-Wformat=]
../lib/swiotlb.c:710:9: warning: format '%zu' expects argument of type 'size_t', but argument 2 has type 'unsigned int' [-Wformat=]
-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 1 errors, 9 warnings, 0 section mismatches
Errors:
../arch/arm64/kernel/ptrace.c:1120:3: error: too many arguments to function 'audit_syscall_entry'
Warnings:
<stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined [enabled by default]
../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined [enabled by default]
../sound/soc/generic/simple-card.c:198:10: warning: passing argument 3 of 'asoc_simple_card_sub_parse_of' from incompatible pointer type [enabled by default]
../sound/soc/generic/simple-card.c:229:10: warning: passing argument 3 of 'asoc_simple_card_sub_parse_of' from incompatible pointer type [enabled by default]
../drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [enabled by default]
../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
<stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
../kernel/rcu/tree_plugin.h:2668:123: warning: 'rcu_organize_nocb_kthreads' defined but not used [-Wunused-function]
<stdin>:1244:2: warning: #warning syscall memfd_create not implemented [-Wcpp]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
Hello
I am trying to disable the MMU on my board, but I don't find which file I should edit, is there anyone who can help me to do that?
Regards
Alexandre Delove
From: Mark Brown <broonie(a)linaro.org>
The interfaces that used to be built in only (interrupts IIRC) no longer
are so allow the driver to be built as a module fixing arm64 allmodconfig
builds.
Signed-off-by: Mark Brown <broonie(a)linaro.org>
Acked-by: Charles Keepax <ckeepax(a)opensource.wolfsonmicro.com>
---
drivers/mfd/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index de5abf244746..8d5fad23a4b7 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1228,11 +1228,11 @@ config MFD_WM8350_I2C
selected to enable support for the functionality of the chip.
config MFD_WM8994
- bool "Wolfson Microelectronics WM8994"
+ tristate "Wolfson Microelectronics WM8994"
select MFD_CORE
select REGMAP_I2C
select REGMAP_IRQ
- depends on I2C=y
+ depends on I2C
help
The WM8994 is a highly integrated hi-fi CODEC designed for
smartphone applicatiosn. As well as audio functionality it
--
2.0.1
A new atomic modeset/pageflip ioctl being developed in DRM requires
get_user() to work for 64bit types (in addition to just put_user()).
v1: original
v2: pass correct size to check_uaccess, and better handling of narrowing
double word read with __get_user_xb() (Russell King's suggestion)
v3: fix a couple of checkpatch issues
Signed-off-by: Rob Clark <robdclark(a)gmail.com>
Signed-off-by: Daniel Thompson <daniel.thompson(a)linaro.org>
Cc: Russell King - ARM Linux <linux(a)arm.linux.org.uk>
---
Notes:
I'd like to wake this patch up again. It was rejected back in 2012 on
the grounds that other architectures (notably x86-32) didn't implement
this so adding for ARM risked portability problems in drivers. However
shortly after the discussion (in fact I believe that as a *result* of
that discussion) support for 64-bit get_user() was added for x86-32.
A quick review of different architectures uaccess.h shows that ARM is
in the minority (even after excluding 64-bit architectures) in not
implementing this feature.
The reasons to wake it up are the same as before. Recent contributions,
including to DRM[1] and binder[2] would prefer to use the 64-bit values
in their interfaces without gotchas like having to use copy_from_user().
[1] http://thread.gmane.org/gmane.comp.video.dri.devel/102135/focus=102149
[2] http://thread.gmane.org/gmane.linux.kernel/1653448/focus=1653449
arch/arm/include/asm/uaccess.h | 18 +++++++++++++++++-
arch/arm/lib/getuser.S | 17 ++++++++++++++++-
2 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/arch/arm/include/asm/uaccess.h b/arch/arm/include/asm/uaccess.h
index 75d9579..5f7db3fb 100644
--- a/arch/arm/include/asm/uaccess.h
+++ b/arch/arm/include/asm/uaccess.h
@@ -107,6 +107,7 @@ static inline void set_fs(mm_segment_t fs)
extern int __get_user_1(void *);
extern int __get_user_2(void *);
extern int __get_user_4(void *);
+extern int __get_user_8(void *);
#define __GUP_CLOBBER_1 "lr", "cc"
#ifdef CONFIG_CPU_USE_DOMAINS
@@ -115,6 +116,7 @@ extern int __get_user_4(void *);
#define __GUP_CLOBBER_2 "lr", "cc"
#endif
#define __GUP_CLOBBER_4 "lr", "cc"
+#define __GUP_CLOBBER_8 "lr", "cc"
#define __get_user_x(__r2,__p,__e,__l,__s) \
__asm__ __volatile__ ( \
@@ -125,11 +127,19 @@ extern int __get_user_4(void *);
: "0" (__p), "r" (__l) \
: __GUP_CLOBBER_##__s)
+/* narrowing a double-word get into a single 32bit word register: */
+#ifdef BIG_ENDIAN
+#define __get_user_xb(__r2, __p, __e, __l, __s) \
+ __get_user_x(__r2, (uintptr_t)__p + 4, __e, __l, __s)
+#else
+#define __get_user_xb __get_user_x
+#endif
+
#define __get_user_check(x,p) \
({ \
unsigned long __limit = current_thread_info()->addr_limit - 1; \
register const typeof(*(p)) __user *__p asm("r0") = (p);\
- register unsigned long __r2 asm("r2"); \
+ register typeof(x) __r2 asm("r2"); \
register unsigned long __l asm("r1") = __limit; \
register int __e asm("r0"); \
switch (sizeof(*(__p))) { \
@@ -142,6 +152,12 @@ extern int __get_user_4(void *);
case 4: \
__get_user_x(__r2, __p, __e, __l, 4); \
break; \
+ case 8: \
+ if (sizeof((x)) < 8) \
+ __get_user_xb(__r2, __p, __e, __l, 4); \
+ else \
+ __get_user_x(__r2, __p, __e, __l, 8); \
+ break; \
default: __e = __get_user_bad(); break; \
} \
x = (typeof(*(p))) __r2; \
diff --git a/arch/arm/lib/getuser.S b/arch/arm/lib/getuser.S
index 9b06bb4..ed98707 100644
--- a/arch/arm/lib/getuser.S
+++ b/arch/arm/lib/getuser.S
@@ -18,7 +18,7 @@
* Inputs: r0 contains the address
* r1 contains the address limit, which must be preserved
* Outputs: r0 is the error code
- * r2 contains the zero-extended value
+ * r2, r3 contains the zero-extended value
* lr corrupted
*
* No other registers must be altered. (see <asm/uaccess.h>
@@ -66,6 +66,19 @@ ENTRY(__get_user_4)
mov pc, lr
ENDPROC(__get_user_4)
+ENTRY(__get_user_8)
+ check_uaccess r0, 8, r1, r2, __get_user_bad
+#ifdef CONFIG_THUMB2_KERNEL
+5: TUSER(ldr) r2, [r0]
+6: TUSER(ldr) r3, [r0, #4]
+#else
+5: TUSER(ldr) r2, [r0], #4
+6: TUSER(ldr) r3, [r0]
+#endif
+ mov r0, #0
+ mov pc, lr
+ENDPROC(__get_user_8)
+
__get_user_bad:
mov r2, #0
mov r0, #-EFAULT
@@ -77,4 +90,6 @@ ENDPROC(__get_user_bad)
.long 2b, __get_user_bad
.long 3b, __get_user_bad
.long 4b, __get_user_bad
+ .long 5b, __get_user_bad
+ .long 6b, __get_user_bad
.popsection
--
1.9.3