MT8173 is a ARMv8 based SoC with 2 clusters. All CPUs in a single cluster
share the same power and clock domain. This series tries to add cpufreq support
for MT8173 SoC.
changes in v6:
- Move clock and regulator consumer properties document to the device tree
bindings documents of MT8173 CPU DVFS clock driver
- Add change log to describe what is implemented in the MT8173 cpufreq driver
- Add missed rcu_read_unlock() in the error path
- Move of_init_opp_table() call to make sure all required hardware resources
are already there before it is called
- Add comments to describe why both platform driver and deivce registration
codes are put in the initcall function
- Use the term "voltage tracking" instead of "voltage trace" according to an
internal SoC document
changes in v5:
- Move resource allocation code from init() into probe() and remove some unused
functions due to this change
- Fix descriptions for device tree binding document
- Address review comments for last version
- Register CPU cooling device
Changes in v4:
- Add bindings for MT8173 cpufreq driver
- Move OPP table back into device tree
- Address comments for last version
Changes in v3:
- Implement MT8173 specific standalone cpufreq driver instead of using
cpufreq-dt driver
- Define OPP table in the driver source code until new OPP binding is ready
Changes in v2:
- Add intermediate frequency support in cpufreq-dt driver
- Use voltage scaling code of cpufreq-dt for little cluster instead of
implementaion in notifier of mtk-cpufreq driver
- Code refinement for mtk-cpufreq driver
Pi-Cheng Chen (4):
dt-bindings: mediatek: Add MT8173 CPU DVFS clock bindings
dt-bindings: mediatek: Add MT8173 cpufreq driver bindings
cpufreq: mediatek: Add MT8173 cpufreq driver
arm64: dts: mt8173: Add mt8173 cpufreq driver support
.../devicetree/bindings/clock/mt8173-cpu-dvfs.txt | 83 ++++
.../devicetree/bindings/cpufreq/cpufreq-mt8173.txt | 134 ++++++
arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 18 +
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 64 +++
drivers/cpufreq/Kconfig.arm | 7 +
drivers/cpufreq/Makefile | 1 +
drivers/cpufreq/mt8173-cpufreq.c | 524 +++++++++++++++++++++
7 files changed, 831 insertions(+)
create mode 100644 Documentation/devicetree/bindings/clock/mt8173-cpu-dvfs.txt
create mode 100644 Documentation/devicetree/bindings/cpufreq/cpufreq-mt8173.txt
create mode 100644 drivers/cpufreq/mt8173-cpufreq.c
--
1.9.1
Hi Guys,
Resending this again because:
- opp-hz is now 64 bit long and so that required a binding update.
- There is another 4 patch series that as updating turbo OPP support,
along with updates to cpufreq core and cpufreq-dt driver.
- A minor bug-fix in V2 4/11, which caused false positive for duplicate
OPPs in some cases.
Tested this on dual-core exynos board with the driver inbuilt as well as
a module. Tried multiple insertion/removals of the module. Have tested
cpufreq-dt driver with both old and new bindings.
Also tried by sending some dummy OPPs that contained opp-hz greater than
what can be captured by u32, to test the u64 updates.
----------x-----------------x-------------
This adds code to support operating-points-v2 bindings. Not everything
is supported yet, but most of the basic stuff is.
Pushed here as well for reference:
ssh://git@git.linaro.org/people/viresh.kumar/linux.git opp/v2
V2->V3:
- Update to opp-hz binding to make it pass u64 value instead of 32 bit
value. This is done to support clock rates greater than 4 GHz.
- Merged two inter-related series, opp-v2 and turbo mode updates.
- Fixed 4/11 from opp-v2 series, which cased false positive for
duplicate OPPs in some cases.
- Add a separate comment in _opp_add_dynamic() (5/16), to clearly
specify that we pass &dev_opp->opp_list to list_for_each_entry_rcu()
and not pass 'head' which contains the same value. Because head will
get modified by the code and that may result in an infinite loop.
- Accumulate more RBY tags.
V1->V2:
- 1/11 is a new patch which moves the bindings file into opp specific
folder.
- 'opp-suspend' binding got updated and is part of individual OPPs now,
instead of a phandle present in the opp table.
- Some more minor reformatting as suggested by Bartlomiej and Stephen,
they were already posted as reply to earlier patches in V1.
Bartlomiej Zolnierkiewicz (2):
PM / OPP: add dev_pm_opp_is_turbo() helper
cpufreq: Update boost flag while initializing freq table from OPPs
Viresh Kumar (14):
PM / OPP: Update bindings to make opp-hz a 64 bit value
PM / OPP: Create a directory for opp bindings
PM / OPP: Relocate few routines
PM / OPP: Create _remove_device_opp() for freeing dev_opp
PM / OPP: Allocate dev_opp from _add_device_opp()
PM / OPP: Break _opp_add_dynamic() into smaller functions
PM / OPP: Add support to parse "operating-points-v2" bindings
PM / OPP: Add clock-latency-ns support
PM / OPP: Add OPP sharing information to OPP library
PM / OPP: Add support for opp-suspend
PM / OPP: Add helpers for initializing CPU OPPs
cpufreq: Allow drivers to enable boost support after registering
driver
cpufreq: dt: Add support for operating-points-v2 bindings
cpufreq: dt: Add support for turbo/boost mode
.../devicetree/bindings/power/{ => opp}/opp.txt | 40 +-
drivers/base/power/opp.c | 1084 ++++++++++++++++----
drivers/cpufreq/cpufreq-dt.c | 64 +-
drivers/cpufreq/cpufreq.c | 68 +-
drivers/cpufreq/cpufreq_opp.c | 4 +
drivers/cpufreq/freq_table.c | 15 +
include/linux/cpufreq.h | 12 +
include/linux/pm_opp.h | 36 +
8 files changed, 1049 insertions(+), 274 deletions(-)
rename Documentation/devicetree/bindings/power/{ => opp}/opp.txt (93%)
--
2.4.0
->add_dev() may fail and the error returned from it can be useful for
the caller.
For example, if some of the resources aren't ready yet and -EPROBE_DEFER
is returned from ->add_dev(), then the owner of 'struct
subsys_interface' may want to try probing again at a later point of
time. And that requires a proper return value from ->add_dev().
Also, if we hit an error while registering subsys_interface, then we
should stop proceeding further and rollback whatever has been done until
then. Break part of subsys_interface_unregister() into another routine,
which lets us call ->remove_dev() for all devices for which ->add_dev()
is already called.
Cc: 3.3+ <stable(a)vger.kernel.org> # 3.3+
Fixes: ca22e56debc5 ("driver-core: implement 'sysdev' functionality for regular devices and buses")
Reported-and-tested-by: Pi-Cheng Chen <pi-cheng.chen(a)linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar(a)linaro.org>
---
drivers/base/bus.c | 55 ++++++++++++++++++++++++++++++++++--------------------
1 file changed, 35 insertions(+), 20 deletions(-)
diff --git a/drivers/base/bus.c b/drivers/base/bus.c
index 79bc203f51ef..d92dc109ba51 100644
--- a/drivers/base/bus.c
+++ b/drivers/base/bus.c
@@ -1112,11 +1112,36 @@ void subsys_dev_iter_exit(struct subsys_dev_iter *iter)
}
EXPORT_SYMBOL_GPL(subsys_dev_iter_exit);
+static void __subsys_interface_unregister(struct subsys_interface *sif,
+ struct device *lastdev)
+{
+ struct bus_type *subsys = sif->subsys;
+ struct subsys_dev_iter iter;
+ struct device *dev;
+
+ mutex_lock(&subsys->p->mutex);
+ list_del_init(&sif->node);
+ if (sif->remove_dev) {
+ subsys_dev_iter_init(&iter, subsys, NULL, NULL);
+ while ((dev = subsys_dev_iter_next(&iter))) {
+ if (dev == lastdev)
+ break;
+
+ sif->remove_dev(dev, sif);
+ }
+ subsys_dev_iter_exit(&iter);
+ }
+ mutex_unlock(&subsys->p->mutex);
+
+ bus_put(subsys);
+}
+
int subsys_interface_register(struct subsys_interface *sif)
{
struct bus_type *subsys;
struct subsys_dev_iter iter;
struct device *dev;
+ int ret = 0;
if (!sif || !sif->subsys)
return -ENODEV;
@@ -1129,38 +1154,28 @@ int subsys_interface_register(struct subsys_interface *sif)
list_add_tail(&sif->node, &subsys->p->interfaces);
if (sif->add_dev) {
subsys_dev_iter_init(&iter, subsys, NULL, NULL);
- while ((dev = subsys_dev_iter_next(&iter)))
- sif->add_dev(dev, sif);
+ while ((dev = subsys_dev_iter_next(&iter))) {
+ ret = sif->add_dev(dev, sif);
+ if (ret)
+ break;
+ }
subsys_dev_iter_exit(&iter);
}
mutex_unlock(&subsys->p->mutex);
- return 0;
+ if (ret)
+ __subsys_interface_unregister(sif, dev);
+
+ return ret;
}
EXPORT_SYMBOL_GPL(subsys_interface_register);
void subsys_interface_unregister(struct subsys_interface *sif)
{
- struct bus_type *subsys;
- struct subsys_dev_iter iter;
- struct device *dev;
-
if (!sif || !sif->subsys)
return;
- subsys = sif->subsys;
-
- mutex_lock(&subsys->p->mutex);
- list_del_init(&sif->node);
- if (sif->remove_dev) {
- subsys_dev_iter_init(&iter, subsys, NULL, NULL);
- while ((dev = subsys_dev_iter_next(&iter)))
- sif->remove_dev(dev, sif);
- subsys_dev_iter_exit(&iter);
- }
- mutex_unlock(&subsys->p->mutex);
-
- bus_put(subsys);
+ __subsys_interface_unregister(sif, NULL);
}
EXPORT_SYMBOL_GPL(subsys_interface_unregister);
--
2.4.0
Tree/Branch: next-20150731
Git describe: next-20150731
Commit: 37bd1ea52d Add linux-next specific files for 20150731
Build Time: 69 min 58 sec
Passed: 7 / 9 ( 77.78 %)
Failed: 2 / 9 ( 22.22 %)
Errors: 13
Warnings: 55
Section Mismatches: 1
Failed defconfigs:
arm64-allmodconfig
arm-allmodconfig
Errors:
arm64-allmodconfig
../include/linux/platform_device.h:245:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
../include/linux/platform_device.h:250:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
arm-allmodconfig
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_begin') [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_flush') [-Werror]
../drivers/pci/host/pcie-xilinx.c:235:3: error: implicit declaration of function 'msi_desc_to_pci_sys_data' [-Werror=implicit-function-declaration]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
3 warnings 0 mismatches : arm64-allnoconfig
115 warnings 1 mismatches : arm64-allmodconfig
5 warnings 0 mismatches : arm-multi_v5_defconfig
8 warnings 0 mismatches : arm-multi_v7_defconfig
2 warnings 0 mismatches : x86_64-defconfig
27 warnings 0 mismatches : arm-allmodconfig
3 warnings 0 mismatches : arm-allnoconfig
2 warnings 0 mismatches : x86_64-allnoconfig
3 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 13
15 ../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
15 ../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
15 ../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
15 ../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
1 ../include/linux/platform_device.h:250:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
1 ../include/linux/platform_device.h:245:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
1 ../drivers/soc/mediatek/mtk-scpsys.c:487:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
1 ../drivers/soc/mediatek/mtk-scpsys.c:487:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
1 ../drivers/pci/host/pcie-xilinx.c:235:3: error: implicit declaration of function 'msi_desc_to_pci_sys_data' [-Werror=implicit-function-declaration]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: initialization from incompatible pointer type [-Werror]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_flush') [-Werror]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: initialization from incompatible pointer type [-Werror]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_begin') [-Werror]
Warnings Summary: 55
17 ../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
17 ../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
14 ../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
14 ../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
10 <stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
10 ../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
10 ../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
9 ../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
6 <stdin>:1301:2: warning: #warning syscall mlock2 not implemented [-Wcpp]
4 ../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
4 ../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
3 warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
3 ../drivers/net/ethernet/mellanox/mlxsw/item.h:65:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' [-Wformat]
2 ../include/linux/export.h:36:30: warning: parameter names (without types) in function declaration
2 ../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: parameter names (without types) in function declaration [enabled by default]
2 ../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: data definition has no type or storage class [enabled by default]
2 ../drivers/gpio/gpio-omap.c:504:3: warning: passing argument 1 of 'spin_unlock_irqrestore' from incompatible pointer type [enabled by default]
2 ../arch/x86/kernel/irq.c:237:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
1 ../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../net/bluetooth/mgmt.c:6636:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../net/bluetooth/mgmt.c:6636:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../kernel/sched/rt.c:68:13: warning: 'push_irq_work_func' declared 'static' but never defined [-Wunused-function]
1 ../ipc/kdbus/connection.c:2049:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../include/uapi/linux/byteorder/big_endian.h:32:26: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../include/linux/platform_device.h:250:1: warning: data definition has no type or storage class
1 ../include/linux/platform_device.h:245:1: warning: data definition has no type or storage class
1 ../include/linux/bitops.h:6:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/usb/renesas_usbhs/common.c:496:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/soc/mediatek/mtk-scpsys.c:487:30: warning: 'scpsys_drv_init' defined but not used [-Wunused-function]
1 ../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: 'scpsys_drv_init' defined but not used [-Wunused-function]
1 ../drivers/scsi/advansys.c:7806:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c:766:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:675:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/pci/host/pcie-xilinx.c:235:3: warning: passing argument 1 of 'sys_to_pcie' makes pointer from integer without a cast [enabled by default]
1 ../drivers/ntb/ntb_transport.c:778:3: warning: right shift count >= width of type [enabled by default]
1 ../drivers/net/ethernet/mellanox/mlxsw/pci.c:1548:2: warning: right shift count >= width of type [enabled by default]
1 ../drivers/net/ethernet/mellanox/mlxsw/pci.c:1536:2: warning: right shift count >= width of type [enabled by default]
1 ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 ../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
1 ../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
1 ../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/infiniband/core/uverbs_cmd.c:1466:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/gpu/drm/virtio/virtgpu_fence.c:64:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat]
1 ../drivers/gpu/drm/virtio/virtgpu_debugfs.c:39:6: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat]
1 ../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1208 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/block/nvme-core.c:1888:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/block/nvme-core.c:1846:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
1 ../drivers/atm/iphase.h:127:0: warning: "isprint" redefined
1 ../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Section Mismatch Summary: 1
1 WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
../kernel/sched/rt.c:68:13: warning: 'push_irq_work_func' declared 'static' but never defined [-Wunused-function]
-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 2 errors, 115 warnings, 1 section mismatches
Errors:
../include/linux/platform_device.h:245:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
../include/linux/platform_device.h:250:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
Warnings:
warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../drivers/atm/iphase.h:127:0: warning: "isprint" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:675:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c:766:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/linux/platform_device.h:245:1: warning: data definition has no type or storage class
../include/linux/export.h:36:30: warning: parameter names (without types) in function declaration
../include/linux/platform_device.h:250:1: warning: data definition has no type or storage class
../include/linux/export.h:36:30: warning: parameter names (without types) in function declaration
../drivers/soc/mediatek/mtk-scpsys.c:487:30: warning: 'scpsys_drv_init' defined but not used [-Wunused-function]
../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../include/uapi/linux/byteorder/big_endian.h:32:26: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/usb/renesas_usbhs/common.c:496:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/linux/bitops.h:6:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Section Mismatches:
WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
-------------------------------------------------------------------------------
arm-multi_v5_defconfig : PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1301:2: warning: #warning syscall mlock2 not implemented [-Wcpp]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1301:2: warning: #warning syscall mlock2 not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1301:2: warning: #warning syscall mlock2 not implemented [-Wcpp]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
../net/bluetooth/mgmt.c:6636:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../net/bluetooth/mgmt.c:6636:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../drivers/gpio/gpio-omap.c:504:3: warning: passing argument 1 of 'spin_unlock_irqrestore' from incompatible pointer type [enabled by default]
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1301:2: warning: #warning syscall mlock2 not implemented [-Wcpp]
-------------------------------------------------------------------------------
x86_64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../arch/x86/kernel/irq.c:237:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
-------------------------------------------------------------------------------
arm-allmodconfig : FAIL, 67 errors, 27 warnings, 0 section mismatches
Errors:
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_begin') [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_flush') [-Werror]
../drivers/pci/host/pcie-xilinx.c:235:3: error: implicit declaration of function 'msi_desc_to_pci_sys_data' [-Werror=implicit-function-declaration]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1301:2: warning: #warning syscall mlock2 not implemented [-Wcpp]
../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../ipc/kdbus/connection.c:2049:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/block/nvme-core.c:1846:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/block/nvme-core.c:1888:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/gpio/gpio-omap.c:504:3: warning: passing argument 1 of 'spin_unlock_irqrestore' from incompatible pointer type [enabled by default]
../drivers/infiniband/core/uverbs_cmd.c:1466:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1208 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/gpu/drm/virtio/virtgpu_fence.c:64:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat]
../drivers/gpu/drm/virtio/virtgpu_debugfs.c:39:6: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat]
../drivers/ntb/ntb_transport.c:778:3: warning: right shift count >= width of type [enabled by default]
../drivers/pci/host/pcie-xilinx.c:235:3: warning: passing argument 1 of 'sys_to_pcie' makes pointer from integer without a cast [enabled by default]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: data definition has no type or storage class [enabled by default]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: parameter names (without types) in function declaration [enabled by default]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: data definition has no type or storage class [enabled by default]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: parameter names (without types) in function declaration [enabled by default]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: 'scpsys_drv_init' defined but not used [-Wunused-function]
../drivers/net/ethernet/mellanox/mlxsw/item.h:65:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' [-Wformat]
../drivers/net/ethernet/mellanox/mlxsw/item.h:65:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' [-Wformat]
../drivers/net/ethernet/mellanox/mlxsw/pci.c:1536:2: warning: right shift count >= width of type [enabled by default]
../drivers/net/ethernet/mellanox/mlxsw/pci.c:1548:2: warning: right shift count >= width of type [enabled by default]
../drivers/net/ethernet/mellanox/mlxsw/item.h:65:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' [-Wformat]
../drivers/scsi/advansys.c:7806:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
-------------------------------------------------------------------------------
arm-allnoconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1301:2: warning: #warning syscall mlock2 not implemented [-Wcpp]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
-------------------------------------------------------------------------------
x86_64-allnoconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../arch/x86/kernel/irq.c:237:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
CPUFreq drivers today support a ->get(cpu) callback, which returns
current rate of a CPU. The problem with ->get() is that it takes a cpu
number as parameter and this unnecessarily makes things complex.
Firstly the core gets the cpu number by doing operation 'policy->cpu' on
the policy and then many drivers need to get the policy back and so do
cpufreq_cpu_get(cpu) on the passed cpu.
As cpufreq core works on policies, it would be better if we pass them
'policy' directly and drivers can use policy->cpu if that's all they
need.
Hence, this patch adds in another callback, ->get_rate() which does
exactly the same work as ->get(), just that we pass 'policy' as
parameter instead of 'cpu'.
The plan is to migrate all drivers to this new callback and remove
->get() after that.
Signed-off-by: Viresh Kumar <viresh.kumar(a)linaro.org>
---
Hi Rafael,
I hope you are fine with this stuff :), once you approve I will get
other patches to migrate existing drivers to this interface.
drivers/cpufreq/cpufreq.c | 50 ++++++++++++++++++++++++++++++++---------------
include/linux/cpufreq.h | 1 +
2 files changed, 35 insertions(+), 16 deletions(-)
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index b612411655f9..b66e169601e8 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -154,6 +154,20 @@ void disable_cpufreq(void)
}
static DEFINE_MUTEX(cpufreq_governor_mutex);
+/* Operations for ->get() and ->get_rate() operations */
+static inline bool driver_supports_get_rate(void)
+{
+ return cpufreq_driver->get || cpufreq_driver->get_rate;
+}
+
+static inline unsigned int policy_get_rate(struct cpufreq_policy *policy)
+{
+ if (cpufreq_driver->get)
+ return cpufreq_driver->get(policy->cpu);
+ else
+ return cpufreq_driver->get_rate(policy);
+}
+
bool have_governor_per_policy(void)
{
return !!(cpufreq_driver->flags & CPUFREQ_HAVE_GOVERNOR_PER_POLICY);
@@ -596,8 +610,9 @@ static ssize_t show_scaling_cur_freq(struct cpufreq_policy *policy, char *buf)
{
ssize_t ret;
- if (cpufreq_driver && cpufreq_driver->setpolicy && cpufreq_driver->get)
- ret = sprintf(buf, "%u\n", cpufreq_driver->get(policy->cpu));
+ if (cpufreq_driver && cpufreq_driver->setpolicy &&
+ driver_supports_get_rate())
+ ret = sprintf(buf, "%u\n", policy_get_rate(policy));
else
ret = sprintf(buf, "%u\n", policy->cur);
return ret;
@@ -1032,7 +1047,7 @@ static int cpufreq_add_dev_interface(struct cpufreq_policy *policy,
return ret;
drv_attr++;
}
- if (cpufreq_driver->get) {
+ if (driver_supports_get_rate()) {
ret = sysfs_create_file(&policy->kobj, &cpuinfo_cur_freq.attr);
if (ret)
return ret;
@@ -1313,10 +1328,10 @@ static int cpufreq_add_dev(struct device *dev, struct subsys_interface *sif)
write_unlock_irqrestore(&cpufreq_driver_lock, flags);
}
- if (cpufreq_driver->get && !cpufreq_driver->setpolicy) {
- policy->cur = cpufreq_driver->get(policy->cpu);
+ if (driver_supports_get_rate() && !cpufreq_driver->setpolicy) {
+ policy->cur = policy_get_rate(policy);
if (!policy->cur) {
- pr_err("%s: ->get() failed\n", __func__);
+ pr_err("%s: ->get_rate() failed\n", __func__);
goto err_get_freq;
}
}
@@ -1594,14 +1609,17 @@ unsigned int cpufreq_quick_get(unsigned int cpu)
struct cpufreq_policy *policy;
unsigned int ret_freq = 0;
- if (cpufreq_driver && cpufreq_driver->setpolicy && cpufreq_driver->get)
- return cpufreq_driver->get(cpu);
-
policy = cpufreq_cpu_get(cpu);
- if (policy) {
+ if (!policy)
+ return 0;
+
+ if (cpufreq_driver && cpufreq_driver->setpolicy &&
+ driver_supports_get_rate())
+ ret_freq = policy_get_rate(policy);
+ else
ret_freq = policy->cur;
- cpufreq_cpu_put(policy);
- }
+
+ cpufreq_cpu_put(policy);
return ret_freq;
}
@@ -1631,10 +1649,10 @@ static unsigned int __cpufreq_get(struct cpufreq_policy *policy)
{
unsigned int ret_freq = 0;
- if (!cpufreq_driver->get)
+ if (!driver_supports_get_rate())
return ret_freq;
- ret_freq = cpufreq_driver->get(policy->cpu);
+ ret_freq = policy_get_rate(policy);
/* Updating inactive policies is invalid, so avoid doing that. */
if (unlikely(policy_is_inactive(policy)))
@@ -2345,8 +2363,8 @@ int cpufreq_update_policy(unsigned int cpu)
* BIOS might change freq behind our back
* -> ask driver for current freq and notify governors about a change
*/
- if (cpufreq_driver->get && !cpufreq_driver->setpolicy) {
- new_policy.cur = cpufreq_driver->get(cpu);
+ if (driver_supports_get_rate() && !cpufreq_driver->setpolicy) {
+ new_policy.cur = policy_get_rate(policy);
if (WARN_ON(!new_policy.cur)) {
ret = -EIO;
goto unlock;
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index 29ad97c34fd5..a82049683016 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -263,6 +263,7 @@ struct cpufreq_driver {
/* should be defined, if possible */
unsigned int (*get)(unsigned int cpu);
+ unsigned int (*get_rate)(struct cpufreq_policy *policy);
/* optional */
int (*bios_limit)(int cpu, unsigned int *limit);
--
2.4.0
Tree/Branch: v3.12.45
Git describe: v3.12.45
Commit: 8b3f81787b Linux 3.12.45
Build Time: 64 min 43 sec
Passed: 8 / 8 (100.00 %)
Failed: 0 / 8 ( 0.00 %)
Errors: 0
Warnings: 73
Section Mismatches: 3
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
31 warnings 0 mismatches : arm64-allmodconfig
2 warnings 0 mismatches : x86_64-defconfig
1 warnings 0 mismatches : arm-multi_v7_defconfig
46 warnings 3 mismatches : arm-allmodconfig
2 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Warnings Summary: 73
5 /home/broonie/build/linux-stable/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
3 /home/broonie/build/linux-stable/drivers/scsi/3w-xxxx.c:1001:14: warning: mis-aligned access used for structure member [-fstrict-volatile-bitfields]
2 /home/broonie/build/linux-stable/include/linux/compiler-gcc4.h:14:34: warning: large integer implicitly truncated to unsigned type [-Woverflow]
2 /home/broonie/build/linux-stable/drivers/net/ethernet/smsc/smc91x.c:1899:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
2 /home/broonie/build/linux-stable/Documentation/misc-devices/mei/mei-amt-version.c:103:5: warning: 'acmd.fd' is used uninitialized in this function [-Wuninitialized]
1 /home/broonie/build/linux-stable/net/sunrpc/xprtrdma/verbs.c:1774:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/include/linux/dynamic_debug.h:64:16: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' [-Wformat=]
1 /home/broonie/build/linux-stable/include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' [-Wformat=]
1 /home/broonie/build/linux-stable/include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' [-Wformat=]
1 /home/broonie/build/linux-stable/drivers/video/xen-fbfront.c:589:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=]
1 /home/broonie/build/linux-stable/drivers/video/omap2/displays-new/panel-sony-acx565akm.c:608:25: warning: unused variable 'ddata' [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/video/aty/radeon_pm.c:1718:13: warning: 'radeon_reinitialize_M10' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/usb/storage/realtek_cr.c:699:13: warning: 'fw5895_init' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/usb/storage/realtek_cr.c:629:12: warning: 'config_autodelink_before_power_down' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/tty/serial/efm32-uart.c:834:20: warning: 'efm32_uart_exit' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/staging/wlan-ng/prism2fw.c:795:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/vt6655/iwctl.c:758:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/vt6655/device_main.c:3257:1: warning: the frame size of 1856 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/sm7xxfb/sm7xxfb.c:117:19: warning: 'sm7xx_vga_setup' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/staging/rts5139/rts51x.c:204:13: warning: 'rts51x_try_to_enter_ss' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/staging/dgnc/dgnc_tty.c:613:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/dgap/dgap_tty.c:664:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/dgap/dgap_fep5.c:173:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/dgap/dgap_fep5.c:112:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/dgap/dgap_driver.c:982:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/bcm/CmHost.c:1440:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable/drivers/staging/bcm/CmHost.c:1426:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable/drivers/staging/bcm/CmHost.c:1387:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable/drivers/spi/spi-pl022.c:281:31: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 /home/broonie/build/linux-stable/drivers/spi/spi-gpio.c:252:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/spi/spi-atmel.c:1460:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/spi/spi-atmel.c:1335:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
1 /home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:8517:5: warning: case value '257' not in enumerated type 'ahc_chip' [-Wswitch]
1 /home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:8510:5: warning: case value '513' not in enumerated type 'ahc_chip' [-Wswitch]
1 /home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:7901:5: warning: case value '257' not in enumerated type 'ahc_chip' [-Wswitch]
1 /home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:7898:5: warning: case value '513' not in enumerated type 'ahc_chip' [-Wswitch]
1 /home/broonie/build/linux-stable/drivers/scsi/3w-xxxx.c:2116:29: warning: mis-aligned access used for structure member [-fstrict-volatile-bitfields]
1 /home/broonie/build/linux-stable/drivers/scsi/3w-xxxx.c:1004:14: warning: mis-aligned access used for structure member [-fstrict-volatile-bitfields]
1 /home/broonie/build/linux-stable/drivers/regulator/tps62360-regulator.c:363:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type
1 /home/broonie/build/linux-stable/drivers/power/pm2301_charger.c:725:20: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/power/ab8500_fg.c:2989:27: warning: 'i' may be used uninitialized in this function [-Wuninitialized]
1 /home/broonie/build/linux-stable/drivers/power/ab8500_charger.c:1559:20: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/power/ab8500_charger.c:1390:20: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/pinctrl/pinctrl-bcm2835.c:1060:17: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/pinctrl/pinctrl-bcm2835.c:1043:18: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/net/wireless/ti/wlcore/spi.c:317:1: warning: the frame size of 9728 bytes is larger than 2048 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/net/ethernet/dec/tulip/winbond-840.c:911:2: warning: #warning Processor architecture undefined [-Wcpp]
1 /home/broonie/build/linux-stable/drivers/net/ethernet/amd/nmclan_cs.c:625:3: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at /home/broonie/build/linux-stable/include/pcmcia/ds.h:213) [-Wdeprecated-declarations]
1 /home/broonie/build/linux-stable/drivers/mtd/nand/gpmi-nand/gpmi-nand.c:120:13: warning: 'set_geometry_by_ecc_info' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/mtd/chips/cfi_cmdset_0020.c:654:1: warning: the frame size of 1200 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/misc/lkdtm.c:293:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/mfd/tps65217.c:173:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/mfd/arizona-core.c:509:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/media/radio/radio-shark2.c:240:13: warning: 'shark_resume_leds' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/media/radio/radio-shark.c:274:13: warning: 'shark_resume_leds' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/isdn/hardware/mISDN/w6692.c:1181:2: warning: unsupported argument to '__builtin_return_address' [enabled by default]
1 /home/broonie/build/linux-stable/drivers/isdn/hardware/mISDN/mISDNipac.c:759:2: warning: unsupported argument to '__builtin_return_address' [enabled by default]
1 /home/broonie/build/linux-stable/drivers/input/misc/xen-kbdfront.c:258:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=]
1 /home/broonie/build/linux-stable/drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/cxgb4/mem.c:79:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/iio/adc/exynos_adc.c:112:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/gpu/drm/radeon/ni_dpm.c:3448:31: warning: unused variable 'eg_pi' [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/gpu/drm/radeon/cypress_dpm.c:302:31: warning: unused variable 'eg_pi' [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/gpio/gpio-mcp23s08.c:643:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/dma/pl330.c:2317:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/char/hw_random/via-rng.c:224:26: warning: 'via_rng_cpu_id' defined but not used [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/block/mtip32xx/mtip32xx.c:2921:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/block/mtip32xx/mtip32xx.c:2898:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/block/mtip32xx/mtip32xx.c:2827:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/crypto/wp512.c:987:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/arch/arm/mach-cns3xxx/pcie.c:350:1: warning: the frame size of 1064 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Section Mismatch Summary: 3
1 WARNING: vmlinux.o(.data+0xdccec): Section mismatch in reference from the variable dbx500_cpuidle_plat_driver to the function .init.text:dbx500_cpuidle_probe()
1 WARNING: drivers/cpuidle/built-in.o(.data+0x938): Section mismatch in reference from the variable dbx500_cpuidle_plat_driver to the function .init.text:dbx500_cpuidle_probe()
1 WARNING: drivers/built-in.o(.data+0x340ac): Section mismatch in reference from the variable dbx500_cpuidle_plat_driver to the function .init.text:dbx500_cpuidle_probe()
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 31 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable/include/linux/dynamic_debug.h:64:16: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' [-Wformat=]
/home/broonie/build/linux-stable/include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' [-Wformat=]
/home/broonie/build/linux-stable/include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' [-Wformat=]
/home/broonie/build/linux-stable/drivers/dma/pl330.c:2317:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/gpio/gpio-mcp23s08.c:643:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/iio/adc/exynos_adc.c:112:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
/home/broonie/build/linux-stable/drivers/input/misc/xen-kbdfront.c:258:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=]
/home/broonie/build/linux-stable/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/media/radio/radio-shark.c:274:13: warning: 'shark_resume_leds' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/media/radio/radio-shark2.c:240:13: warning: 'shark_resume_leds' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/mfd/arizona-core.c:509:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/mfd/tps65217.c:173:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type
/home/broonie/build/linux-stable/drivers/net/ethernet/smsc/smc91x.c:1899:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/spi/spi-atmel.c:1335:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/spi/spi-atmel.c:1460:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/regulator/tps62360-regulator.c:363:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/spi/spi-gpio.c:252:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/spi/spi-pl022.c:281:31: warning: large integer implicitly truncated to unsigned type [-Woverflow]
/home/broonie/build/linux-stable/drivers/staging/bcm/CmHost.c:1387:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable/drivers/staging/bcm/CmHost.c:1426:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable/drivers/staging/bcm/CmHost.c:1440:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable/drivers/video/xen-fbfront.c:589:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=]
/home/broonie/build/linux-stable/drivers/usb/storage/realtek_cr.c:629:12: warning: 'config_autodelink_before_power_down' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/usb/storage/realtek_cr.c:699:13: warning: 'fw5895_init' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/include/linux/compiler-gcc4.h:14:34: warning: large integer implicitly truncated to unsigned type [-Woverflow]
/home/broonie/build/linux-stable/include/linux/compiler-gcc4.h:14:34: warning: large integer implicitly truncated to unsigned type [-Woverflow]
/home/broonie/build/linux-stable/drivers/staging/rts5139/rts51x.c:204:13: warning: 'rts51x_try_to_enter_ss' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/net/wireless/ti/wlcore/spi.c:317:1: warning: the frame size of 9728 bytes is larger than 2048 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/Documentation/misc-devices/mei/mei-amt-version.c:103:5: warning: 'acmd.fd' is used uninitialized in this function [-Wuninitialized]
-------------------------------------------------------------------------------
x86_64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/char/hw_random/via-rng.c:224:26: warning: 'via_rng_cpu_id' defined but not used [-Wunused-variable]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
-------------------------------------------------------------------------------
arm-allmodconfig : PASS, 0 errors, 46 warnings, 3 section mismatches
Warnings:
/home/broonie/build/linux-stable/arch/arm/mach-cns3xxx/pcie.c:350:1: warning: the frame size of 1064 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/crypto/wp512.c:987:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/block/mtip32xx/mtip32xx.c:2898:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/block/mtip32xx/mtip32xx.c:2921:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/block/mtip32xx/mtip32xx.c:2827:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/gpu/drm/radeon/cypress_dpm.c:302:31: warning: unused variable 'eg_pi' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/gpu/drm/radeon/ni_dpm.c:3448:31: warning: unused variable 'eg_pi' [-Wunused-variable]
/home/broonie/build/linux-stable/net/sunrpc/xprtrdma/verbs.c:1774:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/infiniband/hw/cxgb4/mem.c:79:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/isdn/hardware/mISDN/w6692.c:1181:2: warning: unsupported argument to '__builtin_return_address' [enabled by default]
/home/broonie/build/linux-stable/drivers/isdn/hardware/mISDN/mISDNipac.c:759:2: warning: unsupported argument to '__builtin_return_address' [enabled by default]
/home/broonie/build/linux-stable/drivers/mtd/chips/cfi_cmdset_0020.c:654:1: warning: the frame size of 1200 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/misc/lkdtm.c:293:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/mtd/nand/gpmi-nand/gpmi-nand.c:120:13: warning: 'set_geometry_by_ecc_info' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/pinctrl/pinctrl-bcm2835.c:1060:17: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/pinctrl/pinctrl-bcm2835.c:1043:18: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/power/ab8500_charger.c:1390:20: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/power/ab8500_charger.c:1559:20: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/power/ab8500_fg.c:2989:27: warning: 'i' may be used uninitialized in this function [-Wuninitialized]
/home/broonie/build/linux-stable/drivers/power/pm2301_charger.c:725:20: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/net/ethernet/amd/nmclan_cs.c:625:3: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at /home/broonie/build/linux-stable/include/pcmcia/ds.h:213) [-Wdeprecated-declarations]
/home/broonie/build/linux-stable/drivers/tty/serial/efm32-uart.c:834:20: warning: 'efm32_uart_exit' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/video/aty/radeon_pm.c:1718:13: warning: 'radeon_reinitialize_M10' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/net/ethernet/dec/tulip/winbond-840.c:911:2: warning: #warning Processor architecture undefined [-Wcpp]
/home/broonie/build/linux-stable/drivers/staging/dgap/dgap_driver.c:982:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/staging/dgap/dgap_fep5.c:173:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/staging/dgap/dgap_fep5.c:112:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/staging/dgap/dgap_tty.c:664:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/staging/dgnc/dgnc_tty.c:613:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/video/omap2/displays-new/panel-sony-acx565akm.c:608:25: warning: unused variable 'ddata' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:7901:5: warning: case value '257' not in enumerated type 'ahc_chip' [-Wswitch]
/home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:7898:5: warning: case value '513' not in enumerated type 'ahc_chip' [-Wswitch]
/home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:8517:5: warning: case value '257' not in enumerated type 'ahc_chip' [-Wswitch]
/home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:8510:5: warning: case value '513' not in enumerated type 'ahc_chip' [-Wswitch]
/home/broonie/build/linux-stable/drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
/home/broonie/build/linux-stable/drivers/scsi/3w-xxxx.c:1001:14: warning: mis-aligned access used for structure member [-fstrict-volatile-bitfields]
/home/broonie/build/linux-stable/drivers/scsi/3w-xxxx.c:1001:14: warning: mis-aligned access used for structure member [-fstrict-volatile-bitfields]
/home/broonie/build/linux-stable/drivers/scsi/3w-xxxx.c:1001:14: warning: mis-aligned access used for structure member [-fstrict-volatile-bitfields]
/home/broonie/build/linux-stable/drivers/scsi/3w-xxxx.c:1004:14: warning: mis-aligned access used for structure member [-fstrict-volatile-bitfields]
/home/broonie/build/linux-stable/drivers/scsi/3w-xxxx.c:2116:29: warning: mis-aligned access used for structure member [-fstrict-volatile-bitfields]
/home/broonie/build/linux-stable/drivers/staging/sm7xxfb/sm7xxfb.c:117:19: warning: 'sm7xx_vga_setup' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/staging/vt6655/device_main.c:3257:1: warning: the frame size of 1856 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/staging/wlan-ng/prism2fw.c:795:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/staging/vt6655/iwctl.c:758:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/Documentation/misc-devices/mei/mei-amt-version.c:103:5: warning: 'acmd.fd' is used uninitialized in this function [-Wuninitialized]
Section Mismatches:
WARNING: drivers/cpuidle/built-in.o(.data+0x938): Section mismatch in reference from the variable dbx500_cpuidle_plat_driver to the function .init.text:dbx500_cpuidle_probe()
WARNING: drivers/built-in.o(.data+0x340ac): Section mismatch in reference from the variable dbx500_cpuidle_plat_driver to the function .init.text:dbx500_cpuidle_probe()
WARNING: vmlinux.o(.data+0xdccec): Section mismatch in reference from the variable dbx500_cpuidle_plat_driver to the function .init.text:dbx500_cpuidle_probe()
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/net/ethernet/smsc/smc91x.c:1899:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
x86_64-allnoconfig
arm64-allnoconfig
arm-allnoconfig
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
Tree/Branch: next-20150730
Git describe: next-20150730
Commit: 09d19a8106 Add linux-next specific files for 20150730
Build Time: 70 min 9 sec
Passed: 7 / 9 ( 77.78 %)
Failed: 2 / 9 ( 22.22 %)
Errors: 13
Warnings: 52
Section Mismatches: 2
Failed defconfigs:
arm64-allmodconfig
arm-allmodconfig
Errors:
arm64-allmodconfig
../include/linux/platform_device.h:245:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
../include/linux/platform_device.h:250:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
arm-allmodconfig
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_begin') [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_flush') [-Werror]
../drivers/pci/host/pcie-xilinx.c:235:3: error: implicit declaration of function 'msi_desc_to_pci_sys_data' [-Werror=implicit-function-declaration]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
3 warnings 0 mismatches : arm64-allnoconfig
115 warnings 1 mismatches : arm64-allmodconfig
5 warnings 0 mismatches : arm-multi_v5_defconfig
8 warnings 0 mismatches : arm-multi_v7_defconfig
2 warnings 0 mismatches : x86_64-defconfig
22 warnings 1 mismatches : arm-allmodconfig
3 warnings 0 mismatches : arm-allnoconfig
2 warnings 0 mismatches : x86_64-allnoconfig
3 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 13
15 ../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
15 ../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
15 ../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
15 ../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
1 ../include/linux/platform_device.h:250:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
1 ../include/linux/platform_device.h:245:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
1 ../drivers/soc/mediatek/mtk-scpsys.c:487:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
1 ../drivers/soc/mediatek/mtk-scpsys.c:487:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
1 ../drivers/pci/host/pcie-xilinx.c:235:3: error: implicit declaration of function 'msi_desc_to_pci_sys_data' [-Werror=implicit-function-declaration]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: initialization from incompatible pointer type [-Werror]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_flush') [-Werror]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: initialization from incompatible pointer type [-Werror]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_begin') [-Werror]
Warnings Summary: 52
17 ../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
17 ../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
14 ../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
14 ../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
10 <stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
10 ../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
10 ../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
9 ../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
6 <stdin>:1301:2: warning: #warning syscall mlock2 not implemented [-Wcpp]
4 ../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
4 ../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
3 warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
2 ../include/linux/export.h:36:30: warning: parameter names (without types) in function declaration
2 ../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: parameter names (without types) in function declaration [enabled by default]
2 ../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: data definition has no type or storage class [enabled by default]
2 ../drivers/gpio/gpio-omap.c:504:3: warning: passing argument 1 of 'spin_unlock_irqrestore' from incompatible pointer type [enabled by default]
2 ../arch/x86/kernel/irq.c:237:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
1 ../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../net/bluetooth/mgmt.c:6636:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../net/bluetooth/mgmt.c:6636:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../kernel/sched/rt.c:68:13: warning: 'push_irq_work_func' declared 'static' but never defined [-Wunused-function]
1 ../ipc/kdbus/connection.c:2049:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../include/uapi/linux/byteorder/big_endian.h:32:26: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../include/linux/platform_device.h:250:1: warning: data definition has no type or storage class
1 ../include/linux/platform_device.h:245:1: warning: data definition has no type or storage class
1 ../include/linux/bitops.h:6:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/usb/renesas_usbhs/common.c:496:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/soc/mediatek/mtk-scpsys.c:487:30: warning: 'scpsys_drv_init' defined but not used [-Wunused-function]
1 ../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: 'scpsys_drv_init' defined but not used [-Wunused-function]
1 ../drivers/scsi/advansys.c:7806:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c:766:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:675:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/pci/host/pcie-xilinx.c:235:3: warning: passing argument 1 of 'sys_to_pcie' makes pointer from integer without a cast [enabled by default]
1 ../drivers/ntb/ntb_transport.c:778:3: warning: right shift count >= width of type [enabled by default]
1 ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 ../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
1 ../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
1 ../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/infiniband/core/uverbs_cmd.c:1466:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/gpu/drm/virtio/virtgpu_fence.c:64:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat]
1 ../drivers/gpu/drm/virtio/virtgpu_debugfs.c:39:6: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat]
1 ../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1208 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/block/nvme-core.c:1888:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/block/nvme-core.c:1846:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
1 ../drivers/atm/iphase.h:127:0: warning: "isprint" redefined
1 ../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Section Mismatch Summary: 2
1 WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
1 WARNING: arch/arm/mach-zx/built-in.o(.data+0x2c): Section mismatch in reference from the variable zx296702_pd_driver to the (unknown reference) .init.rodata:(unknown)
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
../kernel/sched/rt.c:68:13: warning: 'push_irq_work_func' declared 'static' but never defined [-Wunused-function]
-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 2 errors, 115 warnings, 1 section mismatches
Errors:
../include/linux/platform_device.h:245:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
../include/linux/platform_device.h:250:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
Warnings:
warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
../drivers/atm/iphase.h:127:0: warning: "isprint" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:675:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c:766:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
../include/linux/platform_device.h:245:1: warning: data definition has no type or storage class
../include/linux/export.h:36:30: warning: parameter names (without types) in function declaration
../include/linux/platform_device.h:250:1: warning: data definition has no type or storage class
../include/linux/export.h:36:30: warning: parameter names (without types) in function declaration
../drivers/soc/mediatek/mtk-scpsys.c:487:30: warning: 'scpsys_drv_init' defined but not used [-Wunused-function]
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../include/linux/bitops.h:6:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../include/uapi/linux/byteorder/big_endian.h:32:26: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/usb/renesas_usbhs/common.c:496:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Section Mismatches:
WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
-------------------------------------------------------------------------------
arm-multi_v5_defconfig : PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1301:2: warning: #warning syscall mlock2 not implemented [-Wcpp]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1301:2: warning: #warning syscall mlock2 not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1301:2: warning: #warning syscall mlock2 not implemented [-Wcpp]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
../net/bluetooth/mgmt.c:6636:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../net/bluetooth/mgmt.c:6636:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../drivers/gpio/gpio-omap.c:504:3: warning: passing argument 1 of 'spin_unlock_irqrestore' from incompatible pointer type [enabled by default]
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1301:2: warning: #warning syscall mlock2 not implemented [-Wcpp]
-------------------------------------------------------------------------------
x86_64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
../arch/x86/kernel/irq.c:237:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
-------------------------------------------------------------------------------
arm-allmodconfig : FAIL, 67 errors, 22 warnings, 1 section mismatches
Errors:
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_begin') [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_flush') [-Werror]
../drivers/pci/host/pcie-xilinx.c:235:3: error: implicit declaration of function 'msi_desc_to_pci_sys_data' [-Werror=implicit-function-declaration]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1301:2: warning: #warning syscall mlock2 not implemented [-Wcpp]
../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
../ipc/kdbus/connection.c:2049:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/block/nvme-core.c:1846:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/block/nvme-core.c:1888:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/gpio/gpio-omap.c:504:3: warning: passing argument 1 of 'spin_unlock_irqrestore' from incompatible pointer type [enabled by default]
../drivers/infiniband/core/uverbs_cmd.c:1466:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1208 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/gpu/drm/virtio/virtgpu_fence.c:64:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat]
../drivers/gpu/drm/virtio/virtgpu_debugfs.c:39:6: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat]
../drivers/ntb/ntb_transport.c:778:3: warning: right shift count >= width of type [enabled by default]
../drivers/pci/host/pcie-xilinx.c:235:3: warning: passing argument 1 of 'sys_to_pcie' makes pointer from integer without a cast [enabled by default]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: data definition has no type or storage class [enabled by default]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: parameter names (without types) in function declaration [enabled by default]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: data definition has no type or storage class [enabled by default]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: parameter names (without types) in function declaration [enabled by default]
../drivers/soc/mediatek/mtk-scpsys.c:487:1: warning: 'scpsys_drv_init' defined but not used [-Wunused-function]
../drivers/scsi/advansys.c:7806:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Section Mismatches:
WARNING: arch/arm/mach-zx/built-in.o(.data+0x2c): Section mismatch in reference from the variable zx296702_pd_driver to the (unknown reference) .init.rodata:(unknown)
-------------------------------------------------------------------------------
arm-allnoconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1301:2: warning: #warning syscall mlock2 not implemented [-Wcpp]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
-------------------------------------------------------------------------------
x86_64-allnoconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../arch/x86/kernel/irq.c:237:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../kernel/notifier.c:547:2: warning: 'deprecate_rcu_lockdep_assert' is deprecated (declared at ../include/linux/rcupdate.h:540) [-Wdeprecated-declarations]
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
Hi Guys,
This adds code to support operating-points-v2 bindings. Not everything
is supported yet, but most of the basic stuff is.
Tested with: Exynos 5250, dual cortex A15 board. With both old and new
bindings.
Bindings are already frozen:
http://marc.info/?i=cover.1433434659.git.viresh.kumar%40linaro.org
Pushed here as well for reference:
ssh://git@git.linaro.org/people/viresh.kumar/linux.git opp/v2
Viresh Kumar (10):
opp: Relocate few routines
OPP: Create _remove_device_opp() for freeing dev_opp
OPP: Allocate dev_opp from _add_device_opp()
OPP: Break _opp_add_dynamic() into smaller functions
opp: Add support to parse "operating-points-v2" bindings
OPP: Add clock-latency-ns support
opp: Add OPP sharing information to OPP library
OPP: Add support for opp-suspend
opp: Add helpers for initializing CPU OPPs
cpufreq-dt: Add support for operating-points-v2 bindings
drivers/base/power/opp.c | 1063 ++++++++++++++++++++++++++++++++----------
drivers/cpufreq/cpufreq-dt.c | 58 ++-
include/linux/pm_opp.h | 29 ++
3 files changed, 902 insertions(+), 248 deletions(-)
--
2.4.0
Hi Rafael,
This is based of my opp-v2 series and so is sent as reply to that one.
Bartlomiej had few patches that he wanted to get into 4.3. I have picked
two of those and dropped one (the one that adds another field to
platform data). The dropped one is replaced with two patches from me.
There are minor modifications done in first two patches, based on the
review comments I gave to him earlier.
Completely Untested.
@Bartlomiej: Can you please give them some testing ?
Bartlomiej Zolnierkiewicz (2):
opp: add dev_pm_opp_is_turbo() helper
cpufreq: Update boost flag while initializing freq table from OPPs
Viresh Kumar (2):
cpufreq: Allow drivers to enable boost support after registering
driver
cpufreq: dt: Add support for turbo/boost mode
drivers/base/power/opp.c | 30 ++++++++++++++++++++
drivers/cpufreq/cpufreq-dt.c | 8 ++++++
drivers/cpufreq/cpufreq.c | 66 ++++++++++++++++++++++++++++++-------------
drivers/cpufreq/cpufreq_opp.c | 4 +++
drivers/cpufreq/freq_table.c | 15 ++++++++++
include/linux/cpufreq.h | 12 ++++++++
include/linux/pm_opp.h | 7 +++++
7 files changed, 122 insertions(+), 20 deletions(-)
--
2.4.0
Tree/Branch: next-20150728
Git describe: next-20150728
Commit: 5aa6180315 Add linux-next specific files for 20150728
Build Time: 80 min 9 sec
Passed: 8 / 9 ( 88.89 %)
Failed: 1 / 9 ( 11.11 %)
Errors: 9
Warnings: 41
Section Mismatches: 1
Failed defconfigs:
arm-allmodconfig
Errors:
arm-allmodconfig
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_begin') [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_flush') [-Werror]
../drivers/pci/host/pcie-xilinx.c:235:3: error: implicit declaration of function 'msi_desc_to_pci_sys_data' [-Werror=implicit-function-declaration]
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
2 warnings 0 mismatches : arm64-allnoconfig
110 warnings 3 mismatches : arm64-allmodconfig
2 warnings 0 mismatches : arm-multi_v5_defconfig
4 warnings 0 mismatches : arm-multi_v7_defconfig
14 warnings 0 mismatches : arm-allmodconfig
1 warnings 0 mismatches : arm-allnoconfig
2 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 9
15 ../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
15 ../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
15 ../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
15 ../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
1 ../drivers/pci/host/pcie-xilinx.c:235:3: error: implicit declaration of function 'msi_desc_to_pci_sys_data' [-Werror=implicit-function-declaration]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: initialization from incompatible pointer type [-Werror]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_flush') [-Werror]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: initialization from incompatible pointer type [-Werror]
1 ../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_begin') [-Werror]
Warnings Summary: 41
17 ../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
17 ../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
14 ../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
14 ../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
11 <stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
10 ../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
10 ../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
4 ../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
4 ../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
3 warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
1 ../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../net/bluetooth/mgmt.c:6636:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../net/bluetooth/mgmt.c:6636:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../kernel/sched/rt.c:68:13: warning: 'push_irq_work_func' declared 'static' but never defined [-Wunused-function]
1 ../ipc/kdbus/connection.c:2049:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../include/uapi/linux/byteorder/big_endian.h:32:26: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../include/linux/bitops.h:6:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/usb/renesas_usbhs/common.c:496:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/scsi/advansys.c:7806:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c:766:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:675:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/pci/host/pcie-xilinx.c:235:3: warning: passing argument 1 of 'sys_to_pcie' makes pointer from integer without a cast [enabled by default]
1 ../drivers/ntb/ntb_transport.c:778:3: warning: right shift count >= width of type [enabled by default]
1 ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 ../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
1 ../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
1 ../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/infiniband/core/uverbs_cmd.c:1466:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/gpu/drm/virtio/virtgpu_fence.c:64:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat]
1 ../drivers/gpu/drm/virtio/virtgpu_debugfs.c:39:6: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat]
1 ../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1208 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/block/nvme-core.c:1888:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/block/nvme-core.c:1846:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
1 ../drivers/atm/iphase.h:127:0: warning: "isprint" redefined
1 ../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Section Mismatch Summary: 1
3 WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../kernel/sched/rt.c:68:13: warning: 'push_irq_work_func' declared 'static' but never defined [-Wunused-function]
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 110 warnings, 3 section mismatches
Warnings:
warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../drivers/atm/iphase.h:127:0: warning: "isprint" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:675:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c:766:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../include/uapi/linux/byteorder/big_endian.h:32:26: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../include/linux/bitops.h:6:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/usb/renesas_usbhs/common.c:496:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
Section Mismatches:
WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
-------------------------------------------------------------------------------
arm-multi_v5_defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../net/bluetooth/mgmt.c:6636:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../net/bluetooth/mgmt.c:6636:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm-allmodconfig : FAIL, 65 errors, 14 warnings, 0 section mismatches
Errors:
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:470:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_begin') [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: initialization from incompatible pointer type [-Werror]
../drivers/gpu/drm/omapdrm/omap_crtc.c:471:2: error: (near initialization for 'omap_crtc_helper_funcs.atomic_flush') [-Werror]
../drivers/pci/host/pcie-xilinx.c:235:3: error: implicit declaration of function 'msi_desc_to_pci_sys_data' [-Werror=implicit-function-declaration]
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../ipc/kdbus/connection.c:2049:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/block/nvme-core.c:1846:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/block/nvme-core.c:1888:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1208 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/gpu/drm/virtio/virtgpu_fence.c:64:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat]
../drivers/gpu/drm/virtio/virtgpu_debugfs.c:39:6: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat]
../drivers/infiniband/core/uverbs_cmd.c:1466:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/ntb/ntb_transport.c:778:3: warning: right shift count >= width of type [enabled by default]
../drivers/pci/host/pcie-xilinx.c:235:3: warning: passing argument 1 of 'sys_to_pcie' makes pointer from integer without a cast [enabled by default]
../drivers/scsi/advansys.c:7806:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
-------------------------------------------------------------------------------
arm-allnoconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1298:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
x86_64-allnoconfig
x86_64-defconfig
Hi Rafael,
This is mostly reviewed and its been out on the lists for around one and
half month. We can get it pushed for 4.3 now. Resending the series
because of minor updates in few patches, which were also sent as replies
to earlier version.
I have tested this on dual-core exynos board with the driver inbuilt as
well as a module. Tried multiple insertion/removals of the module. Have
tested cpufreq-dt driver with both old and new bindings.
----------x-----------------x-------------
This adds code to support operating-points-v2 bindings. Not everything
is supported yet, but most of the basic stuff is.
Pushed here as well for reference:
ssh://git@git.linaro.org/people/viresh.kumar/linux.git opp/v2
V1->V2:
- 1/11 is a new patch which moves the bindings file into opp specific
folder.
- 'opp-suspend' binding got updated and is part of individual OPPs now,
instead of a phandle present in the opp table.
- Some more minor reformatting as suggested by Bartlomiej and Stephen,
they were already posted as reply to earlier patches in V1.
Viresh Kumar (11):
opp: Create a directory for opp bindings
opp: Relocate few routines
OPP: Create _remove_device_opp() for freeing dev_opp
OPP: Allocate dev_opp from _add_device_opp()
OPP: Break _opp_add_dynamic() into smaller functions
opp: Add support to parse "operating-points-v2" bindings
OPP: Add clock-latency-ns support
opp: Add OPP sharing information to OPP library
OPP: Add support for opp-suspend
opp: Add helpers for initializing CPU OPPs
cpufreq-dt: Add support for operating-points-v2 bindings
.../devicetree/bindings/power/{ => opp}/opp.txt | 0
drivers/base/power/opp.c | 1072 +++++++++++++++-----
drivers/cpufreq/cpufreq-dt.c | 56 +-
include/linux/pm_opp.h | 29 +
4 files changed, 905 insertions(+), 252 deletions(-)
rename Documentation/devicetree/bindings/power/{ => opp}/opp.txt (100%)
--
2.4.0
This is the sequel to the first episode that started here:
http://article.gmane.org/gmane.linux.ports.arm.kernel/401353
Now that most of the first set has been merged upstream, here's the last
set to complete the cleanup. This mainly includes the removal of the
backward compatibility support plus some cosmetic changes.
The hisi04 backend, though, is instead converted to raw SMP operations
as it currently doesn't benefit from MCPM at all and doesn't fit well
with the new backend structure.
This series can also be obtained from the following Git repository:
http://git.linaro.org/people/nicolas.pitre/linux.git mcpm
The diffstat shows more code removal again:
arch/arm/common/mcpm_entry.c | 281 +++++++++++++----------------
arch/arm/include/asm/mcpm.h | 73 +++-----
arch/arm/mach-exynos/suspend.c | 8 +-
arch/arm/mach-hisi/platmcpm.c | 127 +++++--------
drivers/cpuidle/cpuidle-big_little.c | 8 +-
5 files changed, 198 insertions(+), 299 deletions(-)
Hi Guys,
This series migrates MIPS clockevent drivers (present in arch/mips/
directory), to the new set-state interface. This would enable these
drivers to use new states (like: ONESHOT_STOPPED, etc.) of a clockevent
device (if required), as the set-mode interface is marked obsolete now
and wouldn't be expanded to handle new states.
Rebased over: v4.2-rc1
Following patches:
MIPS/alchemy/time: Migrate to new 'set-state' interface
MIPS/jazz/timer: Migrate to new 'set-state' interface
MIPS/cevt-r4k: Migrate to new 'set-state' interface
MIPS/sgi-ip27/timer: Migrate to new 'set-state' interface
MIPS/sni/time: Migrate to new 'set-state' interface
must be integrated to mainline kernel via clockevents tree, because of
dependency on:
352370adb058 ("clockevents: Allow set-state callbacks to be optional")
Other patches don't have this dependency and can be pushed via platform
specific trees, if Maintainers want it that way.
This has been build/boot tested by two bots on various platforms for few
days now, not sure if we had a good coverage for MIPS though:
- kernelci, http://kernelci.org/
- 0-DAY kernel test infrastructure, kbuild test robot
Cc: Andrew Bresticker <abrestic(a)chromium.org>
Cc: Deng-Cheng Zhu <dengcheng.zhu(a)imgtec.com>
Cc: Hongliang Tao <taohl(a)lemote.com>
Cc: Huacai Chen <chenhc(a)lemote.com>
Cc: James Hogan <james.hogan(a)imgtec.com>
Cc: Jason Cooper <jason(a)lakedaemon.net>
Cc: Kelvin Cheung <keguang.zhang(a)gmail.com>
Cc: Leonid Yegoshin <Leonid.Yegoshin(a)imgtec.com>
Cc: Manuel Lauss <manuel.lauss(a)gmail.com>
Cc: Michael Opdenacker <michael.opdenacker(a)free-electrons.com>
Cc: Paul Burton <paul.burton(a)imgtec.com>
Cc: Qais Yousef <qais.yousef(a)imgtec.com>
Cc: Ralf Baechle <ralf(a)linux-mips.org>
Cc: Valentin Rothberg <valentinrothberg(a)gmail.com>
Viresh Kumar (14):
MIPS/alchemy/time: Migrate to new 'set-state' interface
MIPS/jazz/timer: Migrate to new 'set-state' interface
MIPS/jz4740/time: Migrate to new 'set-state' interface
MIPS/cevt-bcm1480: Migrate to new 'set-state' interface
MIPS/cevt-ds1287: Migrate to new 'set-state' interface
MIPS/cevt-gt641xx: Migrate to new 'set-state' interface
MIPS/cevt-r4k: Migrate to new 'set-state' interface
MIPS/cevt-sb1250: Migrate to new 'set-state' interface
MIPS/cevt-txx9: Migrate to new 'set-state' interface
MIPS/loongson64/timer: Migrate to new 'set-state' interface
MIPS/loongsoon32/time: Migrate to new 'set-state' interface
MIPS/ralink/rt3352: Migrate to new 'set-state' interface
MIPS/sgi-ip27/timer: Migrate to new 'set-state' interface
MIPS/sni/time: Migrate to new 'set-state' interface
arch/mips/alchemy/common/time.c | 6 --
arch/mips/include/asm/cevt-r4k.h | 1 -
arch/mips/jazz/irq.c | 7 --
arch/mips/jz4740/time.c | 46 +++++----
arch/mips/kernel/cevt-bcm1480.c | 44 ++++----
arch/mips/kernel/cevt-ds1287.c | 37 ++++---
arch/mips/kernel/cevt-gt641xx.c | 57 +++++++----
arch/mips/kernel/cevt-r4k.c | 7 --
arch/mips/kernel/cevt-sb1250.c | 45 +++++----
arch/mips/kernel/cevt-txx9.c | 81 +++++++++------
arch/mips/loongson32/common/time.c | 57 ++++++-----
arch/mips/loongson64/common/cs5536/cs5536_mfgpt.c | 46 ++++-----
arch/mips/loongson64/loongson-3/hpet.c | 116 +++++++++++++---------
arch/mips/ralink/cevt-rt3352.c | 59 +++++------
arch/mips/sgi-ip27/ip27-timer.c | 7 --
arch/mips/sni/time.c | 49 ++++-----
16 files changed, 359 insertions(+), 306 deletions(-)
--
2.4.0
Tree/Branch: next-20150727
Git describe: next-20150727
Commit: 83a5f7f22c Add linux-next specific files for 20150727
Build Time: 69 min 4 sec
Passed: 6 / 9 ( 66.67 %)
Failed: 3 / 9 ( 33.33 %)
Errors: 17
Warnings: 104
Section Mismatches: 1
Failed defconfigs:
arm64-allmodconfig
arm-allmodconfig
arm-allnoconfig
Errors:
arm64-allmodconfig
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
arm-allmodconfig
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
arm-allnoconfig
../mm/nommu.c:1248:30: error: 'vm_flags' redeclared as different kind of symbol
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
1 warnings 0 mismatches : arm64-allnoconfig
496 warnings 1 mismatches : arm64-allmodconfig
2 warnings 0 mismatches : arm-multi_v5_defconfig
4 warnings 0 mismatches : arm-multi_v7_defconfig
13 warnings 0 mismatches : arm-allmodconfig
1 warnings 0 mismatches : arm-allnoconfig
2 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 17
15 ../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
15 ../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
15 ../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
15 ../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
15 ../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
15 ../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
15 ../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
15 ../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
15 ../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
15 ../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
15 ../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
15 ../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
15 ../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
15 ../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
15 ../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
15 ../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
1 ../mm/nommu.c:1248:30: error: 'vm_flags' redeclared as different kind of symbol
Warnings Summary: 104
30 ../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
30 ../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
26 ../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
24 ../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
23 ../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
22 ../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
19 ../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
17 ../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
17 ../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
17 ../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
15 ../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
15 ../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
14 ../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
14 ../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
14 ../drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
12 ../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
10 <stdin>:1253:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
10 ../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
10 ../drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
10 ../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
10 ../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
9 ../drivers/staging/lustre/lustre/obdclass/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
9 ../drivers/staging/lustre/lustre/llite/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
6 ../drivers/staging/lustre/lustre/osc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
6 ../drivers/staging/lustre/lustre/obdclass/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
5 ../drivers/staging/lustre/lustre/fid/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
5 ../drivers/staging/lustre/lnet/klnds/socklnd/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
4 ../drivers/staging/lustre/lustre/obdclass/../include/lustre/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
4 ../drivers/staging/lustre/lustre/mdc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
4 ../drivers/staging/lustre/lustre/fld/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
4 ../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
4 ../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
3 warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
3 ../drivers/staging/lustre/lustre/osc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
3 ../drivers/staging/lustre/lustre/obdclass/linux/../../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
3 ../drivers/staging/lustre/lustre/mgc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
3 ../drivers/staging/lustre/lustre/lov/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
3 ../drivers/staging/lustre/lnet/lnet/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
3 ../drivers/staging/lustre/lnet/klnds/o2iblnd/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
2 ../fs/orangefs/super.c:19:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
2 ../fs/orangefs/pvfs2-mod.c:95:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
2 ../fs/orangefs/pvfs2-mod.c:92:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
2 ../fs/orangefs/pvfs2-mod.c:86:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
2 ../fs/orangefs/pvfs2-cache.c:12:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
2 ../fs/orangefs/pvfs2-bufmap.c:96:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
2 ../fs/orangefs/pvfs2-bufmap.c:95:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
2 ../fs/orangefs/pvfs2-bufmap.c:33:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
2 ../fs/orangefs/pvfs2-bufmap.c:10:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
2 ../drivers/staging/lustre/lustre/obdclass/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
2 ../drivers/staging/lustre/lustre/mdc/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
2 ../drivers/staging/lustre/lustre/lmv/../include/lustre/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
2 ../drivers/staging/lustre/lustre/lmv/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
2 ../drivers/staging/lustre/lustre/llite/../lclient/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
1 ../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../net/bluetooth/mgmt.c:6636:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../net/bluetooth/mgmt.c:6636:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../ipc/kdbus/connection.c:2049:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../include/uapi/linux/byteorder/big_endian.h:32:26: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../include/linux/bitops.h:6:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../fs/orangefs/super.c:19:1: warning: excess elements in scalar initializer
1 ../fs/orangefs/super.c:19:1: warning: braces around scalar initializer
1 ../fs/orangefs/pvfs2-mod.c:95:1: warning: excess elements in scalar initializer
1 ../fs/orangefs/pvfs2-mod.c:95:1: warning: braces around scalar initializer
1 ../fs/orangefs/pvfs2-mod.c:92:1: warning: excess elements in scalar initializer
1 ../fs/orangefs/pvfs2-mod.c:92:1: warning: braces around scalar initializer
1 ../fs/orangefs/pvfs2-mod.c:86:1: warning: excess elements in scalar initializer
1 ../fs/orangefs/pvfs2-mod.c:86:1: warning: braces around scalar initializer
1 ../fs/orangefs/pvfs2-cache.c:12:1: warning: excess elements in scalar initializer
1 ../fs/orangefs/pvfs2-cache.c:12:1: warning: braces around scalar initializer
1 ../fs/orangefs/pvfs2-bufmap.c:96:1: warning: excess elements in scalar initializer
1 ../fs/orangefs/pvfs2-bufmap.c:96:1: warning: braces around scalar initializer
1 ../fs/orangefs/pvfs2-bufmap.c:95:1: warning: excess elements in scalar initializer
1 ../fs/orangefs/pvfs2-bufmap.c:95:1: warning: braces around scalar initializer
1 ../fs/orangefs/pvfs2-bufmap.c:33:1: warning: excess elements in scalar initializer
1 ../fs/orangefs/pvfs2-bufmap.c:33:1: warning: braces around scalar initializer
1 ../fs/orangefs/pvfs2-bufmap.c:10:1: warning: excess elements in scalar initializer
1 ../fs/orangefs/pvfs2-bufmap.c:10:1: warning: braces around scalar initializer
1 ../drivers/usb/renesas_usbhs/common.c:496:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/staging/lustre/lustre/obdecho/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
1 ../drivers/staging/lustre/lustre/lov/../include/lustre/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
1 ../drivers/staging/lustre/lustre/llite/../lclient/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
1 ../drivers/staging/lustre/lustre/llite/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
1 ../drivers/scsi/advansys.c:7806:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c:766:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:675:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/ntb/ntb_transport.c:778:3: warning: right shift count >= width of type [enabled by default]
1 ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 ../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
1 ../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
1 ../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/infiniband/core/uverbs_cmd.c:1466:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/gpu/drm/virtio/virtgpu_fence.c:64:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat]
1 ../drivers/gpu/drm/virtio/virtgpu_debugfs.c:39:6: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat]
1 ../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1208 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/block/nvme-core.c:1888:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/block/nvme-core.c:1846:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
1 ../drivers/atm/iphase.h:127:0: warning: "isprint" redefined
1 ../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Section Mismatch Summary: 1
1 WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
<stdin>:1253:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 180 errors, 496 warnings, 1 section mismatches
Errors:
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/spinlock_types.h:27:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:28:2: error: unknown type name 'u16'
../arch/arm64/include/asm/spinlock_types.h:33:13: error: expected declaration specifiers or '...' before numeric constant
../include/linux/spinlock_types.h:21:2: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:34:35: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:65:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:86:37: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:95:44: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:100:39: error: unknown type name 'arch_spinlock_t'
../arch/arm64/include/asm/spinlock.h:105:42: error: unknown type name 'arch_spinlock_t'
../include/linux/spinlock.h:382:2: error: implicit declaration of function 'arch_spin_is_locked' [-Werror=implicit-function-declaration]
../include/linux/spinlock.h:392:2: error: implicit declaration of function 'arch_spin_is_contended' [-Werror=implicit-function-declaration]
Warnings:
warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
warning: (MFD_CROS_EC) selects CHROME_PLATFORMS which has unmet direct dependencies (X86 || ARM)
<stdin>:1253:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../drivers/atm/iphase.h:127:0: warning: "isprint" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../sound/pci/echoaudio/echoaudio.h:156:0: warning: "TRUE" redefined
../sound/pci/echoaudio/echoaudio.h:157:0: warning: "FALSE" redefined
../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../fs/orangefs/pvfs2-cache.c:12:1: warning: braces around scalar initializer
../fs/orangefs/pvfs2-cache.c:12:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../fs/orangefs/pvfs2-cache.c:12:1: warning: excess elements in scalar initializer
../fs/orangefs/pvfs2-cache.c:12:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../fs/orangefs/pvfs2-mod.c:86:1: warning: braces around scalar initializer
../fs/orangefs/pvfs2-mod.c:86:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../fs/orangefs/pvfs2-mod.c:86:1: warning: excess elements in scalar initializer
../fs/orangefs/pvfs2-mod.c:86:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../fs/orangefs/pvfs2-mod.c:92:1: warning: braces around scalar initializer
../fs/orangefs/pvfs2-mod.c:92:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../fs/orangefs/pvfs2-mod.c:92:1: warning: excess elements in scalar initializer
../fs/orangefs/pvfs2-mod.c:92:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../fs/orangefs/pvfs2-mod.c:95:1: warning: braces around scalar initializer
../fs/orangefs/pvfs2-mod.c:95:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../fs/orangefs/pvfs2-mod.c:95:1: warning: excess elements in scalar initializer
../fs/orangefs/pvfs2-mod.c:95:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../fs/orangefs/super.c:19:1: warning: braces around scalar initializer
../fs/orangefs/super.c:19:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../fs/orangefs/super.c:19:1: warning: excess elements in scalar initializer
../fs/orangefs/super.c:19:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../fs/orangefs/pvfs2-bufmap.c:10:1: warning: braces around scalar initializer
../fs/orangefs/pvfs2-bufmap.c:10:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../fs/orangefs/pvfs2-bufmap.c:10:1: warning: excess elements in scalar initializer
../fs/orangefs/pvfs2-bufmap.c:10:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../fs/orangefs/pvfs2-bufmap.c:33:1: warning: braces around scalar initializer
../fs/orangefs/pvfs2-bufmap.c:33:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../fs/orangefs/pvfs2-bufmap.c:33:1: warning: excess elements in scalar initializer
../fs/orangefs/pvfs2-bufmap.c:33:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../fs/orangefs/pvfs2-bufmap.c:95:1: warning: braces around scalar initializer
../fs/orangefs/pvfs2-bufmap.c:95:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../fs/orangefs/pvfs2-bufmap.c:95:1: warning: excess elements in scalar initializer
../fs/orangefs/pvfs2-bufmap.c:95:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../fs/orangefs/pvfs2-bufmap.c:96:1: warning: braces around scalar initializer
../fs/orangefs/pvfs2-bufmap.c:96:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../fs/orangefs/pvfs2-bufmap.c:96:1: warning: excess elements in scalar initializer
../fs/orangefs/pvfs2-bufmap.c:96:1: warning: (near initialization for '(anonymous).<anonymous>.rlock.raw_lock')
../include/linux/semaphore.h:35:17: warning: braces around scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../include/linux/semaphore.h:35:17: warning: excess elements in scalar initializer
../include/linux/semaphore.h:35:17: warning: (near initialization for '(anonymous).raw_lock')
../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:43:0: warning: "FALSE" redefined
../drivers/isdn/mISDN/dsp_ecdis.h:44:0: warning: "TRUE" redefined
../drivers/mmc/host/sh_mmcif.c:417:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/mmc/host/sh_mmcif.c:418:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:675:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c:766:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:31:0: warning: "FALSE" redefined
../drivers/staging/ft1000/ft1000-usb/ft1000_usb.h:32:0: warning: "TRUE" redefined
../drivers/staging/lustre/lnet/klnds/o2iblnd/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/klnds/o2iblnd/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/klnds/o2iblnd/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/klnds/socklnd/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/klnds/socklnd/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/klnds/socklnd/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/klnds/socklnd/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/klnds/socklnd/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/fid/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/lnet/../../include/linux/lnet/../libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/fid/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/fid/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/fid/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/fid/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/fld/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/fld/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/fld/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/fld/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/libcfs/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lmv/../include/lustre/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lmv/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lmv/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lmv/../include/lustre/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/lov/../include/lustre/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/mdc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../lclient/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../lclient/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/mdc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../lclient/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/mdc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/mdc/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/mdc/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/mdc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/mgc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/mgc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/mgc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/llite/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdecho/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/linux/../../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/linux/../../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/linux/../../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/osc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/osc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/osc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/osc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/osc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/osc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/osc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/osc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/osc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/lustre/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/lustre/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../include/uapi/linux/byteorder/big_endian.h:32:26: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/linux/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../lustre/ldlm/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/lustre/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/obdclass/../include/lustre/../../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../include/linux/bitops.h:6:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/usb/renesas_usbhs/common.c:496:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/staging/lustre/lustre/ptlrpc/../include/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/staging/lustre/lustre/ptlrpc/../../include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
../drivers/net/fddi/skfp/h/targetos.h:62:0: warning: "TRUE" redefined
../drivers/net/fddi/skfp/h/targetos.h:63:0: warning: "FALSE" redefined
Section Mismatches:
WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
-------------------------------------------------------------------------------
arm-multi_v5_defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
<stdin>:1253:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1253:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
<stdin>:1253:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../net/bluetooth/mgmt.c:6636:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../net/bluetooth/mgmt.c:6636:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
<stdin>:1253:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm-allmodconfig : FAIL, 60 errors, 13 warnings, 0 section mismatches
Errors:
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:12:3: error: unknown type name 'u32'
../arch/arm/include/asm/spinlock_types.h:15:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:16:4: error: unknown type name 'u16'
../arch/arm/include/asm/spinlock_types.h:28:2: error: unknown type name 'u32'
Warnings:
<stdin>:1253:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../ipc/kdbus/connection.c:2049:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/block/nvme-core.c:1846:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/block/nvme-core.c:1888:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1208 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/gpu/drm/virtio/virtgpu_fence.c:64:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat]
../drivers/gpu/drm/virtio/virtgpu_debugfs.c:39:6: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat]
../drivers/infiniband/core/uverbs_cmd.c:1466:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/ntb/ntb_transport.c:778:3: warning: right shift count >= width of type [enabled by default]
../drivers/scsi/advansys.c:7806:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
-------------------------------------------------------------------------------
arm-allnoconfig : FAIL, 1 errors, 1 warnings, 0 section mismatches
Errors:
../mm/nommu.c:1248:30: error: 'vm_flags' redeclared as different kind of symbol
Warnings:
<stdin>:1253:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
<stdin>:1253:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
<stdin>:1253:2: warning: #warning syscall userfaultfd not implemented [-Wcpp]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
x86_64-allnoconfig
x86_64-defconfig
Tree/Branch: v3.14-rt
Git describe: v3.14.46-rt46-70-gbd860cc
Commit: bd860cc6ce Linux 3.14.48-rt48
Build Time: 70 min 53 sec
Passed: 8 / 8 (100.00 %)
Failed: 0 / 8 ( 0.00 %)
Errors: 0
Warnings: 65
Section Mismatches: 0
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
27 warnings 0 mismatches : arm64-allmodconfig
8 warnings 0 mismatches : arm-multi_v7_defconfig
5 warnings 0 mismatches : x86_64-defconfig
43 warnings 0 mismatches : arm-allmodconfig
2 warnings 0 mismatches : x86_64-allnoconfig
3 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Warnings Summary: 65
6 /home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
6 /home/broonie/build/linux-stable-rt/arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined [enabled by default]
5 /home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
4 warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL)
3 /home/broonie/build/linux-stable-rt/net/netfilter/nfnetlink.c:364:14: warning: unused variable 'net' [-Wunused-variable]
2 /home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8993.c:1562:22: warning: unused variable 'wm8993' [-Wunused-variable]
2 /home/broonie/build/linux-stable-rt/include/linux/compiler-gcc4.h:14:34: warning: large integer implicitly truncated to unsigned type [-Woverflow]
2 /home/broonie/build/linux-stable-rt/drivers/scsi/3w-xxxx.c:1001:14: warning: mis-aligned access used for structure member [-fstrict-volatile-bitfields]
2 /home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:75:3: warning: value computed is not used [-Wunused-value]
1 /home/broonie/build/linux-stable-rt/sound/soc/fsl/imx-audmux.c:70:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/sound/soc/fsl/imx-audmux.c:162:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable-rt/net/sunrpc/xprtrdma/verbs.c:1774:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/include/linux/spinlock.h:366:2: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 /home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:64:16: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'dma_addr_t' [-Wformat=]
1 /home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:64:16: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'dma_addr_t' [-Wformat=]
1 /home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:64:16: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' [-Wformat=]
1 /home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' [-Wformat=]
1 /home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' [-Wformat=]
1 /home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 /home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 /home/broonie/build/linux-stable-rt/drivers/tty/serial/efm32-uart.c:834:20: warning: 'efm32_uart_exit' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable-rt/drivers/tty/isicom.c:1058:2: warning: integer overflow in expression [-Woverflow]
1 /home/broonie/build/linux-stable-rt/drivers/thermal/x86_pkg_temp_thermal.c:414:1: warning: no return statement in function returning non-void [-Wreturn-type]
1 /home/broonie/build/linux-stable-rt/drivers/staging/wlan-ng/prism2fw.c:795:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/vt6655/iwctl.c:759:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/vt6655/device_main.c:3253:1: warning: the frame size of 1288 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/sm7xxfb/sm7xxfb.c:117:19: warning: 'sm7xx_vga_setup' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable-rt/drivers/staging/imx-drm/imx-drm-core.c:87:25: warning: unused variable 'imxdrm' [-Wunused-variable]
1 /home/broonie/build/linux-stable-rt/drivers/staging/dgnc/dgnc_tty.c:583:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/dgap/dgap_tty.c:658:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/dgap/dgap_fep5.c:103:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/dgap/dgap_driver.c:961:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/staging/bcm/CmHost.c:1440:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable-rt/drivers/staging/bcm/CmHost.c:1426:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable-rt/drivers/staging/bcm/CmHost.c:1387:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable-rt/drivers/spi/spi-pl022.c:281:31: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 /home/broonie/build/linux-stable-rt/drivers/spi/spi-gpio.c:253:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/spi/spi-atmel.c:1268:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/spi/spi-atmel.c:1027:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
1 /home/broonie/build/linux-stable-rt/drivers/scsi/3w-xxxx.c:2116:29: warning: mis-aligned access used for structure member [-fstrict-volatile-bitfields]
1 /home/broonie/build/linux-stable-rt/drivers/scsi/3w-xxxx.c:1004:14: warning: mis-aligned access used for structure member [-fstrict-volatile-bitfields]
1 /home/broonie/build/linux-stable-rt/drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type
1 /home/broonie/build/linux-stable-rt/drivers/power/ab8500_fg.c:2989:27: warning: 'i' may be used uninitialized in this function [-Wuninitialized]
1 /home/broonie/build/linux-stable-rt/drivers/pinctrl/pinctrl-bcm2835.c:1060:17: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable-rt/drivers/pinctrl/pinctrl-bcm2835.c:1043:18: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable-rt/drivers/net/wireless/ti/wlcore/spi.c:317:1: warning: the frame size of 8688 bytes is larger than 2048 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 /home/broonie/build/linux-stable-rt/drivers/net/ethernet/amd/nmclan_cs.c:624:3: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at /home/broonie/build/linux-stable-rt/include/pcmcia/ds.h:213) [-Wdeprecated-declarations]
1 /home/broonie/build/linux-stable-rt/drivers/mtd/chips/cfi_cmdset_0020.c:654:1: warning: the frame size of 1200 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/mfd/arizona-core.c:509:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/md/bcache/bset.c:27:10: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat]
1 /home/broonie/build/linux-stable-rt/drivers/isdn/hardware/mISDN/w6692.c:1181:2: warning: unsupported argument to '__builtin_return_address' [enabled by default]
1 /home/broonie/build/linux-stable-rt/drivers/isdn/hardware/mISDN/mISDNipac.c:759:2: warning: unsupported argument to '__builtin_return_address' [enabled by default]
1 /home/broonie/build/linux-stable-rt/drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
1 /home/broonie/build/linux-stable-rt/drivers/infiniband/hw/mlx5/mem.c:71:10: warning: comparison of distinct pointer types lacks a cast [enabled by default]
1 /home/broonie/build/linux-stable-rt/drivers/iio/adc/exynos_adc.c:112:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable-rt/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c:1379:1: warning: the frame size of 1496 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/drivers/gpio/gpio-sch311x.c:286:3: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable-rt/drivers/gpio/gpio-sch311x.c:286:18: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable-rt/crypto/wp512.c:987:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable-rt/arch/arm/mach-cns3xxx/pcie.c:350:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 27 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:64:16: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' [-Wformat=]
/home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' [-Wformat=]
/home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:64:16: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' [-Wformat=]
/home/broonie/build/linux-stable-rt/drivers/gpio/gpio-sch311x.c:286:3: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8993.c:1562:22: warning: unused variable 'wm8993' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/sound/soc/fsl/imx-audmux.c:70:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/sound/soc/fsl/imx-audmux.c:162:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable-rt/drivers/iio/adc/exynos_adc.c:112:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/mfd/arizona-core.c:509:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/include/linux/compiler-gcc4.h:14:34: warning: large integer implicitly truncated to unsigned type [-Woverflow]
/home/broonie/build/linux-stable-rt/net/netfilter/nfnetlink.c:364:14: warning: unused variable 'net' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:75:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/arch/arm64/include/asm/cmpxchg.h:75:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable-rt/drivers/spi/spi-atmel.c:1027:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:64:16: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'dma_addr_t' [-Wformat=]
/home/broonie/build/linux-stable-rt/include/linux/dynamic_debug.h:64:16: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'dma_addr_t' [-Wformat=]
/home/broonie/build/linux-stable-rt/drivers/spi/spi-atmel.c:1268:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/spi/spi-gpio.c:253:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/spi/spi-pl022.c:281:31: warning: large integer implicitly truncated to unsigned type [-Woverflow]
/home/broonie/build/linux-stable-rt/drivers/staging/bcm/CmHost.c:1387:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable-rt/drivers/staging/bcm/CmHost.c:1426:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable-rt/drivers/staging/bcm/CmHost.c:1440:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable-rt/drivers/net/wireless/ti/wlcore/spi.c:317:1: warning: the frame size of 8688 bytes is larger than 2048 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/include/linux/compiler-gcc4.h:14:34: warning: large integer implicitly truncated to unsigned type [-Woverflow]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL)
warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL)
warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL)
warning: (ARM_HIGHBANK_CPUFREQ) selects GENERIC_CPUFREQ_CPU0 which has unmet direct dependencies (ARCH_HAS_CPUFREQ && CPU_FREQ && HAVE_CLK && REGULATOR && OF && THERMAL && CPU_THERMAL)
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/include/linux/spinlock.h:366:2: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
x86_64-defconfig : PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_dev' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/fs/namespace.c:2725:8: warning: 'kernel_type' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/thermal/x86_pkg_temp_thermal.c:414:1: warning: no return statement in function returning non-void [-Wreturn-type]
/home/broonie/build/linux-stable-rt/net/netfilter/nfnetlink.c:364:14: warning: unused variable 'net' [-Wunused-variable]
-------------------------------------------------------------------------------
arm-allmodconfig : PASS, 0 errors, 43 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/arch/arm/mach-cns3xxx/pcie.c:350:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/crypto/wp512.c:987:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable-rt/sound/soc/codecs/wm8993.c:1562:22: warning: unused variable 'wm8993' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/net/netfilter/nfnetlink.c:364:14: warning: unused variable 'net' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/gpio/gpio-sch311x.c:286:18: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c:1379:1: warning: the frame size of 1496 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/net/sunrpc/xprtrdma/verbs.c:1774:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined [enabled by default]
/home/broonie/build/linux-stable-rt/drivers/infiniband/hw/mlx5/mem.c:71:10: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/home/broonie/build/linux-stable-rt/drivers/isdn/hardware/mISDN/w6692.c:1181:2: warning: unsupported argument to '__builtin_return_address' [enabled by default]
/home/broonie/build/linux-stable-rt/drivers/isdn/hardware/mISDN/mISDNipac.c:759:2: warning: unsupported argument to '__builtin_return_address' [enabled by default]
/home/broonie/build/linux-stable-rt/drivers/md/bcache/bset.c:27:10: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat]
/home/broonie/build/linux-stable-rt/drivers/mtd/chips/cfi_cmdset_0020.c:654:1: warning: the frame size of 1200 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/amd/nmclan_cs.c:624:3: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at /home/broonie/build/linux-stable-rt/include/pcmcia/ds.h:213) [-Wdeprecated-declarations]
/home/broonie/build/linux-stable-rt/drivers/pinctrl/pinctrl-bcm2835.c:1060:17: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/drivers/pinctrl/pinctrl-bcm2835.c:1043:18: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable-rt/drivers/power/ab8500_fg.c:2989:27: warning: 'i' may be used uninitialized in this function [-Wuninitialized]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
/home/broonie/build/linux-stable-rt/arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined [enabled by default]
/home/broonie/build/linux-stable-rt/arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined [enabled by default]
/home/broonie/build/linux-stable-rt/arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined [enabled by default]
/home/broonie/build/linux-stable-rt/arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined [enabled by default]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable-rt/drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable-rt/arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined [enabled by default]
/home/broonie/build/linux-stable-rt/drivers/staging/dgap/dgap_driver.c:961:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/staging/dgap/dgap_fep5.c:103:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/staging/dgap/dgap_tty.c:658:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/staging/dgnc/dgnc_tty.c:583:1: warning: the frame size of 1048 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/staging/imx-drm/imx-drm-core.c:87:25: warning: unused variable 'imxdrm' [-Wunused-variable]
/home/broonie/build/linux-stable-rt/drivers/tty/serial/efm32-uart.c:834:20: warning: 'efm32_uart_exit' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
/home/broonie/build/linux-stable-rt/drivers/tty/isicom.c:1058:2: warning: integer overflow in expression [-Woverflow]
/home/broonie/build/linux-stable-rt/drivers/scsi/3w-xxxx.c:2116:29: warning: mis-aligned access used for structure member [-fstrict-volatile-bitfields]
/home/broonie/build/linux-stable-rt/drivers/scsi/3w-xxxx.c:1001:14: warning: mis-aligned access used for structure member [-fstrict-volatile-bitfields]
/home/broonie/build/linux-stable-rt/drivers/scsi/3w-xxxx.c:1001:14: warning: mis-aligned access used for structure member [-fstrict-volatile-bitfields]
/home/broonie/build/linux-stable-rt/drivers/scsi/3w-xxxx.c:1004:14: warning: mis-aligned access used for structure member [-fstrict-volatile-bitfields]
/home/broonie/build/linux-stable-rt/drivers/staging/sm7xxfb/sm7xxfb.c:117:19: warning: 'sm7xx_vga_setup' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable-rt/drivers/staging/vt6655/device_main.c:3253:1: warning: the frame size of 1288 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/staging/vt6655/iwctl.c:759:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable-rt/drivers/staging/wlan-ng/prism2fw.c:795:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
-------------------------------------------------------------------------------
x86_64-allnoconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/scripts/sortextable.h:176:3: warning: 'relocs_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
/home/broonie/build/linux-stable-rt/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
arm64-allnoconfig
arm-allnoconfig
Tree/Branch: v3.18-rt
Git describe: v3.18.17-rt14-198-g1094c21
Commit: 1094c21471 Linux 3.18.18-rt15
Build Time: 111 min 27 sec
Passed: 9 / 9 (100.00 %)
Failed: 0 / 9 ( 0.00 %)
Errors: 0
Warnings: 39
Section Mismatches: 0
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
18 warnings 0 mismatches : arm64-allmodconfig
2 warnings 0 mismatches : arm-multi_v5_defconfig
6 warnings 0 mismatches : arm-multi_v7_defconfig
6 warnings 0 mismatches : x86_64-defconfig
32 warnings 0 mismatches : arm-allmodconfig
4 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Warnings Summary: 39
8 ../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined [-Wundef]
6 ../net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
6 ../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined [enabled by default]
5 ../drivers/input/mouse/synaptics.c:152:3: warning: missing braces around initializer [-Wmissing-braces]
5 ../drivers/input/mouse/synaptics.c:152:3: warning: (near initialization for 'min_max_pnpid_table[3].board_id') [-Wmissing-braces]
3 ../drivers/media/v4l2-core/videobuf2-core.c:3224:26: warning: unused variable 'fileio' [-Wunused-variable]
2 ../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
2 ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 ../include/linux/spinlock.h:372:2: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../fs/btrfs/extent_io.c:2166:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/usb/renesas_usbhs/common.c:469:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/usb/gadget/udc/udc-xilinx.c:2136:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/usb/gadget/function/f_ncm.c:203:0: warning: "NCAPS" redefined
1 ../drivers/tty/isicom.c:1058:2: warning: integer overflow in expression [-Woverflow]
1 ../drivers/thermal/x86_pkg_temp_thermal.c:414:1: warning: no return statement in function returning non-void [-Wreturn-type]
1 ../drivers/staging/vt6655/device_main.c:2997:1: warning: the frame size of 1296 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/pci/host/pcie-xilinx.c:154:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
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/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
1 ../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1224 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/isdn/hardware/mISDN/w6692.c:1181:2: warning: unsupported argument to '__builtin_return_address' [enabled by default]
1 ../drivers/isdn/hardware/mISDN/mISDNipac.c:759:2: warning: unsupported argument to '__builtin_return_address' [enabled by default]
1 ../drivers/iommu/intel-iommu.c:1749:25: warning: unused variable 'drhd' [-Wunused-variable]
1 ../drivers/infiniband/ulp/iser/iser_verbs.c:1206:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/infiniband/ulp/iser/iser_verbs.c:1201:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/infiniband/ulp/iser/iser_verbs.c:1175:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/infiniband/ulp/iser/iser_verbs.c:1174:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
1 ../drivers/infiniband/hw/mlx5/mem.c:72:9: warning: comparison of distinct pointer types lacks a cast [enabled by default]
1 ../drivers/hsi/controllers/omap_ssi_port.c:1121:10: warning: 'err' may be used uninitialized in this function [-Wuninitialized]
1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
1 ../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../arch/arm/mach-cns3xxx/pcie.c:313:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 18 warnings, 0 section mismatches
Warnings:
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined [-Wundef]
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined [-Wundef]
../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
../net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
../drivers/input/mouse/synaptics.c:152:3: warning: missing braces around initializer [-Wmissing-braces]
../drivers/input/mouse/synaptics.c:152:3: warning: (near initialization for 'min_max_pnpid_table[3].board_id') [-Wmissing-braces]
../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
../drivers/media/v4l2-core/videobuf2-core.c:3224:26: warning: unused variable 'fileio' [-Wunused-variable]
../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
../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]
../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
../drivers/usb/gadget/function/f_ncm.c:203:0: warning: "NCAPS" redefined
../drivers/usb/gadget/udc/udc-xilinx.c:2136:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/usb/renesas_usbhs/common.c:469:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
-------------------------------------------------------------------------------
arm-multi_v5_defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined [-Wundef]
../net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined [-Wundef]
../net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
../drivers/input/mouse/synaptics.c:152:3: warning: missing braces around initializer [-Wmissing-braces]
../drivers/input/mouse/synaptics.c:152:3: warning: (near initialization for 'min_max_pnpid_table[3].board_id') [-Wmissing-braces]
../drivers/media/v4l2-core/videobuf2-core.c:3224:26: warning: unused variable 'fileio' [-Wunused-variable]
../include/linux/spinlock.h:372:2: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
x86_64-defconfig : PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined [-Wundef]
../net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
../drivers/input/mouse/synaptics.c:152:3: warning: missing braces around initializer [-Wmissing-braces]
../drivers/input/mouse/synaptics.c:152:3: warning: (near initialization for 'min_max_pnpid_table[3].board_id') [-Wmissing-braces]
../drivers/iommu/intel-iommu.c:1749:25: warning: unused variable 'drhd' [-Wunused-variable]
../drivers/thermal/x86_pkg_temp_thermal.c:414:1: warning: no return statement in function returning non-void [-Wreturn-type]
-------------------------------------------------------------------------------
arm-allmodconfig : PASS, 0 errors, 32 warnings, 0 section mismatches
Warnings:
../arch/arm/mach-cns3xxx/pcie.c:313:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined [-Wundef]
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined [-Wundef]
../fs/btrfs/extent_io.c:2166:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
../drivers/hsi/controllers/omap_ssi_port.c:1121:10: warning: 'err' may be used uninitialized in this function [-Wuninitialized]
../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined [enabled by default]
../drivers/infiniband/hw/mlx5/mem.c:72:9: warning: comparison of distinct pointer types lacks a cast [enabled by default]
../drivers/input/mouse/synaptics.c:152:3: warning: missing braces around initializer [-Wmissing-braces]
../drivers/input/mouse/synaptics.c:152:3: warning: (near initialization for 'min_max_pnpid_table[3].board_id') [-Wmissing-braces]
../drivers/infiniband/ulp/iser/iser_verbs.c:1174:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/infiniband/ulp/iser/iser_verbs.c:1175:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/infiniband/ulp/iser/iser_verbs.c:1201:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/infiniband/ulp/iser/iser_verbs.c:1206:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/isdn/hardware/mISDN/w6692.c:1181:2: warning: unsupported argument to '__builtin_return_address' [enabled by default]
../drivers/isdn/hardware/mISDN/mISDNipac.c:759:2: warning: unsupported argument to '__builtin_return_address' [enabled by default]
../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1224 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/pci/host/pcie-xilinx.c:154:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat]
../drivers/media/v4l2-core/videobuf2-core.c:3224:26: warning: unused variable 'fileio' [-Wunused-variable]
../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined [enabled by default]
../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined [enabled by default]
../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined [enabled by default]
../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined [enabled by default]
../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]
../arch/arm/include/asm/kmap_types.h:7:0: warning: "KM_TYPE_NR" redefined [enabled by default]
../drivers/tty/isicom.c:1058:2: warning: integer overflow in expression [-Woverflow]
../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
../drivers/staging/vt6655/device_main.c:2997:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
../block/blk-core.c:103:5: warning: "CONFIG_PREEMPT_RT_FULL" is not defined [-Wundef]
../net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
../drivers/input/mouse/synaptics.c:152:3: warning: missing braces around initializer [-Wmissing-braces]
../drivers/input/mouse/synaptics.c:152:3: warning: (near initialization for 'min_max_pnpid_table[3].board_id') [-Wmissing-braces]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
x86_64-allnoconfig
arm64-allnoconfig
arm-allnoconfig
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
Hi Olof,
This series migrates ARM clockevent drivers (present in arch/arm/
directory), to the new set-state interface. This would enable these
drivers to use new states (like: ONESHOT_STOPPED, etc.) of a clockevent
device (if required), as the set-mode interface is marked obsolete now
and wouldn't be expanded to handle new states.
--
viresh
The following changes since commit bc0195aad0daa2ad5b0d76cce22b167bc3435590:
Linux 4.2-rc2 (2015-07-12 15:10:30 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/linux.git ARM/clkevt/set-state-4.3
for you to fetch changes up to 10dca88a4be632678088f5cbc20b54c2113ecb91:
ARM/orion/time: Migrate to new 'set-state' interface (2015-07-17 08:29:44 +0530)
----------------------------------------------------------------
Viresh Kumar (18):
ARM/smp_twd: Migrate to new 'set-state' interface
ARM/cns3xxx/timer: Migrate to new 'set-state' interface
ARM/davinci/time: Migrate to new 'set-state' interface
ARM/dc21285-timer: Migrate to new 'set-state' interface
ARM/gemini/time: Migrate to new 'set-state' interface
ARM/imx/epit: Migrate to new 'set-state' interface
ARM/ixp4xx/timer: Migrate to new 'set-state' interface
ARM/ks8695/time: Migrate to new 'set-state' interface
ARM/lpc32xx/timer: Migrate to new 'set-state' interface
ARM/mmp/time: Migrate to new 'set-state' interface
ARM/netx/time: Migrate to new 'set-state' interface
ARM/omap1/time: Migrate to new 'set-state' interface
ARM/omap1/timer32: Migrate to new 'set-state' interface
ARM/omap2/timer: Migrate to new 'set-state' interface
ARM/SPEAr/time: Migrate to new 'set-state' interface
ARM/w90x900/time: Migrate to new 'set-state' interface
ARM/iop/time: Migrate to new 'set-state' interface
ARM/orion/time: Migrate to new 'set-state' interface
arch/arm/kernel/smp_twd.c | 48 +++++++++--------
arch/arm/mach-cns3xxx/core.c | 55 ++++++++++---------
arch/arm/mach-davinci/time.c | 54 ++++++++++---------
arch/arm/mach-footbridge/dc21285-timer.c | 48 ++++++++---------
arch/arm/mach-gemini/time.c | 69 ++++++++++++------------
arch/arm/mach-imx/epit.c | 67 ++++++++++++-----------
arch/arm/mach-ixp4xx/common.c | 68 +++++++++++++----------
arch/arm/mach-ks8695/time.c | 43 ++++++++-------
arch/arm/mach-lpc32xx/timer.c | 40 +++++---------
arch/arm/mach-mmp/time.c | 29 ++++------
arch/arm/mach-netx/time.c | 61 +++++++++++----------
arch/arm/mach-omap1/time.c | 35 ++++++------
arch/arm/mach-omap1/timer32k.c | 33 ++++++------
arch/arm/mach-omap2/timer.c | 48 ++++++++---------
arch/arm/mach-spear/time.c | 89 ++++++++++++++++--------------
arch/arm/mach-w90x900/time.c | 51 ++++++++++--------
arch/arm/plat-iop/time.c | 70 ++++++++++++++----------
arch/arm/plat-orion/time.c | 93 ++++++++++++++++----------------
18 files changed, 522 insertions(+), 479 deletions(-)
--
2.4.0
Consider a dual core (0/1) system with two CPUs:
- sharing clock/voltage rails and hence cpufreq-policy
- CPU1 is offline while the cpufreq driver is registered
- cpufreq_add_dev() is called from subsys callback for CPU0 and we
create the policy for the group of CPUs and create links for all
present CPUs, i.e. CPU1 as well.
- cpufreq_add_dev() is called from subsys callback for CPU1, we find
that the cpu is offline and we try to create a sysfs link for CPU1.
This results in double addtion of the sysfs link and we will get this:
WARNING: CPU: 0 PID: 1 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x60/0x7c()
sysfs: cannot create duplicate filename '/devices/system/cpu/cpu1/cpufreq'
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.2.0-rc2+ #1704
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
Backtrace:
[<c0013248>] (dump_backtrace) from [<c00133e4>] (show_stack+0x18/0x1c)
r6:c01a1f30 r5:0000001f r4:00000000 r3:00000000
[<c00133cc>] (show_stack) from [<c076920c>] (dump_stack+0x7c/0x98)
[<c0769190>] (dump_stack) from [<c0029ab4>] (warn_slowpath_common+0x80/0xbc)
r4:d74abbd0 r3:d74c0000
[<c0029a34>] (warn_slowpath_common) from [<c0029b94>] (warn_slowpath_fmt+0x38/0x40)
r8:ffffffef r7:00000000 r6:d75a8960 r5:c0993280 r4:d6b4d000
[<c0029b60>] (warn_slowpath_fmt) from [<c01a1f30>] (sysfs_warn_dup+0x60/0x7c)
r3:d6b4dfe7 r2:c0930750
[<c01a1ed0>] (sysfs_warn_dup) from [<c01a22c8>] (sysfs_do_create_link_sd+0xb8/0xc0)
r6:d75a8960 r5:c0993280 r4:d00aba20
[<c01a2210>] (sysfs_do_create_link_sd) from [<c01a22fc>] (sysfs_create_link+0x2c/0x3c)
r10:00000001 r8:c14db3c8 r7:d7b89010 r6:c0ae7c60 r5:d7b89010 r4:d00d1200
[<c01a22d0>] (sysfs_create_link) from [<c0506160>] (add_cpu_dev_symlink+0x34/0x5c)
[<c050612c>] (add_cpu_dev_symlink) from [<c05084d0>] (cpufreq_add_dev+0x674/0x794)
r5:00000001 r4:00000000
[<c0507e5c>] (cpufreq_add_dev) from [<c03db114>] (subsys_interface_register+0x8c/0xd0)
r10:00000003 r9:d7bb01f0 r8:c14db3c8 r7:00106738 r6:c0ae7c60 r5:c0acbd08
r4:c0ae7e20
[<c03db088>] (subsys_interface_register) from [<c0508a2c>] (cpufreq_register_driver+0x104/0x1f4)
The check for offline-cpu in cpufreq_add_dev() is to ensure that link
gets added for the CPUs which weren't physically present earlier and
that misses the case where a CPU is offline while registering the
driver.
To fix this properly, don't create these links when the policy get
initialized. Rather wait for individual subsys callback for CPUs to
add/remove these links. This simplifies most of the code leaving
cpufreq_remove_dev().
The problem is that, we might remove cpu which was owner of policy->kobj
in sysfs, before other CPUs are removed. Fix this by the solution we
have been using until very recently, in which we move the kobject to any
other CPU, for which remove is yet to be called.
Tested on dual core exynos board with cpufreq-dt driver. The driver was
compiled as module and inserted/removed multiple times on a running
kernel.
Fixes: 87549141d516 ("cpufreq: Stop migrating sysfs files on hotplug")
Reported-and-suggested-by: Russell King <linux(a)arm.linux.org.uk>
Signed-off-by: Viresh Kumar <viresh.kumar(a)linaro.org>
---
V1->V2: Completely changed, please review again :)
@Rafael: I didn't review your solution and gave this one because I
thought Russell suggested the right thing. i.e. don't create links in
the beginning.
This is based of 4.2-rc3 and so your other patch,
https://patchwork.kernel.org/patch/6839031/ has to be rebased over it.
I didn't rebase this patch over yours for two reasons:
- Yours wasn't necessarily 4.2 material.
- I already mentioned a problem in that patch.
@Russell: I hope this will look much better than V1 to you. Please give
it a try once you get some time.
drivers/cpufreq/cpufreq.c | 165 ++++++++++++++++++----------------------------
include/linux/cpufreq.h | 1 +
2 files changed, 65 insertions(+), 101 deletions(-)
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 26063afb3eba..81c2417e52f4 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -966,67 +966,6 @@ void cpufreq_sysfs_remove_file(const struct attribute *attr)
}
EXPORT_SYMBOL(cpufreq_sysfs_remove_file);
-static int add_cpu_dev_symlink(struct cpufreq_policy *policy, int cpu)
-{
- struct device *cpu_dev;
-
- pr_debug("%s: Adding symlink for CPU: %u\n", __func__, cpu);
-
- if (!policy)
- return 0;
-
- cpu_dev = get_cpu_device(cpu);
- if (WARN_ON(!cpu_dev))
- return 0;
-
- return sysfs_create_link(&cpu_dev->kobj, &policy->kobj, "cpufreq");
-}
-
-static void remove_cpu_dev_symlink(struct cpufreq_policy *policy, int cpu)
-{
- struct device *cpu_dev;
-
- pr_debug("%s: Removing symlink for CPU: %u\n", __func__, cpu);
-
- cpu_dev = get_cpu_device(cpu);
- if (WARN_ON(!cpu_dev))
- return;
-
- sysfs_remove_link(&cpu_dev->kobj, "cpufreq");
-}
-
-/* Add/remove symlinks for all related CPUs */
-static int cpufreq_add_dev_symlink(struct cpufreq_policy *policy)
-{
- unsigned int j;
- int ret = 0;
-
- /* Some related CPUs might not be present (physically hotplugged) */
- for_each_cpu_and(j, policy->related_cpus, cpu_present_mask) {
- if (j == policy->kobj_cpu)
- continue;
-
- ret = add_cpu_dev_symlink(policy, j);
- if (ret)
- break;
- }
-
- return ret;
-}
-
-static void cpufreq_remove_dev_symlink(struct cpufreq_policy *policy)
-{
- unsigned int j;
-
- /* Some related CPUs might not be present (physically hotplugged) */
- for_each_cpu_and(j, policy->related_cpus, cpu_present_mask) {
- if (j == policy->kobj_cpu)
- continue;
-
- remove_cpu_dev_symlink(policy, j);
- }
-}
-
static int cpufreq_add_dev_interface(struct cpufreq_policy *policy,
struct device *dev)
{
@@ -1057,7 +996,7 @@ static int cpufreq_add_dev_interface(struct cpufreq_policy *policy,
return ret;
}
- return cpufreq_add_dev_symlink(policy);
+ return 0;
}
static void cpufreq_init_policy(struct cpufreq_policy *policy)
@@ -1163,11 +1102,14 @@ static struct cpufreq_policy *cpufreq_policy_alloc(struct device *dev)
if (!zalloc_cpumask_var(&policy->related_cpus, GFP_KERNEL))
goto err_free_cpumask;
+ if (!zalloc_cpumask_var(&policy->symlinks, GFP_KERNEL))
+ goto err_free_related_cpumask;
+
ret = kobject_init_and_add(&policy->kobj, &ktype_cpufreq, &dev->kobj,
"cpufreq");
if (ret) {
pr_err("%s: failed to init policy->kobj: %d\n", __func__, ret);
- goto err_free_rcpumask;
+ goto err_free_symlink_cpumask;
}
INIT_LIST_HEAD(&policy->policy_list);
@@ -1184,7 +1126,9 @@ static struct cpufreq_policy *cpufreq_policy_alloc(struct device *dev)
return policy;
-err_free_rcpumask:
+err_free_symlink_cpumask:
+ free_cpumask_var(policy->symlinks);
+err_free_related_cpumask:
free_cpumask_var(policy->related_cpus);
err_free_cpumask:
free_cpumask_var(policy->cpus);
@@ -1204,7 +1148,6 @@ static void cpufreq_policy_put_kobj(struct cpufreq_policy *policy, bool notify)
CPUFREQ_REMOVE_POLICY, policy);
down_write(&policy->rwsem);
- cpufreq_remove_dev_symlink(policy);
kobj = &policy->kobj;
cmp = &policy->kobj_unregister;
up_write(&policy->rwsem);
@@ -1234,6 +1177,7 @@ static void cpufreq_policy_free(struct cpufreq_policy *policy, bool notify)
write_unlock_irqrestore(&cpufreq_driver_lock, flags);
cpufreq_policy_put_kobj(policy, notify);
+ free_cpumask_var(policy->symlinks);
free_cpumask_var(policy->related_cpus);
free_cpumask_var(policy->cpus);
kfree(policy);
@@ -1252,26 +1196,37 @@ static int cpufreq_add_dev(struct device *dev, struct subsys_interface *sif)
{
unsigned int j, cpu = dev->id;
int ret = -ENOMEM;
- struct cpufreq_policy *policy;
+ struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu);
unsigned long flags;
bool recover_policy = !sif;
pr_debug("adding CPU %u\n", cpu);
+ /* sysfs links are only created on subsys callback */
+ if (sif && policy) {
+ pr_debug("%s: Adding symlink for CPU: %u\n", __func__, cpu);
+ ret = sysfs_create_link(&dev->kobj, &policy->kobj, "cpufreq");
+ if (ret) {
+ dev_err(dev, "%s: Failed to create link for cpu %d (%d)\n",
+ __func__, cpu, ret);
+ return ret;
+ }
+
+ /* Track CPUs for which sysfs links are created */
+ cpumask_set_cpu(cpu, policy->symlinks);
+ }
+
/*
- * Only possible if 'cpu' wasn't physically present earlier and we are
- * here from subsys_interface add callback. A hotplug notifier will
- * follow and we will handle it like logical CPU hotplug then. For now,
- * just create the sysfs link.
+ * A hotplug notifier will follow and we will take care of rest
+ * of the initialization then.
*/
if (cpu_is_offline(cpu))
- return add_cpu_dev_symlink(per_cpu(cpufreq_cpu_data, cpu), cpu);
+ return 0;
if (!down_read_trylock(&cpufreq_rwsem))
return 0;
/* Check if this CPU already has a policy to manage it */
- policy = per_cpu(cpufreq_cpu_data, cpu);
if (policy && !policy_is_inactive(policy)) {
WARN_ON(!cpumask_test_cpu(cpu, policy->related_cpus));
ret = cpufreq_add_policy_cpu(policy, cpu, dev);
@@ -1506,10 +1461,6 @@ static int __cpufreq_remove_dev_finish(struct device *dev,
if (cpufreq_driver->exit)
cpufreq_driver->exit(policy);
- /* Free the policy only if the driver is getting removed. */
- if (sif)
- cpufreq_policy_free(policy, true);
-
return 0;
}
@@ -1521,42 +1472,54 @@ static int __cpufreq_remove_dev_finish(struct device *dev,
static int cpufreq_remove_dev(struct device *dev, struct subsys_interface *sif)
{
unsigned int cpu = dev->id;
+ struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu);
int ret;
- /*
- * Only possible if 'cpu' is getting physically removed now. A hotplug
- * notifier should have already been called and we just need to remove
- * link or free policy here.
- */
- if (cpu_is_offline(cpu)) {
- struct cpufreq_policy *policy = per_cpu(cpufreq_cpu_data, cpu);
- struct cpumask mask;
+ if (!policy)
+ return 0;
- if (!policy)
- return 0;
+ if (cpu_online(cpu)) {
+ ret = __cpufreq_remove_dev_prepare(dev, sif);
+ if (!ret)
+ ret = __cpufreq_remove_dev_finish(dev, sif);
+ if (ret)
+ return ret;
+ }
- cpumask_copy(&mask, policy->related_cpus);
- cpumask_clear_cpu(cpu, &mask);
+ /* sysfs links are removed only on subsys callback */
+ if (cpumask_test_cpu(cpu, policy->symlinks)) {
+ dev_dbg(dev, "%s: Removing symlink for CPU: %u\n", __func__,
+ cpu);
+ cpumask_clear_cpu(cpu, policy->symlinks);
+ sysfs_remove_link(&dev->kobj, "cpufreq");
+ return 0;
+ }
+ if (cpumask_weight(policy->symlinks)) {
/*
- * Free policy only if all policy->related_cpus are removed
- * physically.
+ * Okay, we still have some CPUs left. Transfer the ownership of
+ * policy to one of them. Would be better to pass that to
+ * cpumask_last() as that will be the last CPU to get removed,
+ * but there is no API to get last cpu of the mask. Lets move it
+ * to the first cpu in the mask.
*/
- if (cpumask_intersects(&mask, cpu_present_mask)) {
- remove_cpu_dev_symlink(policy, cpu);
- return 0;
- }
+ int new_cpu = cpumask_first(policy->symlinks);
+ struct device *new_dev = get_cpu_device(new_cpu);
- cpufreq_policy_free(policy, true);
- return 0;
- }
+ dev_dbg(dev, "%s: Migrating kobj from %d to %d\n", __func__,
+ cpu, new_cpu);
- ret = __cpufreq_remove_dev_prepare(dev, sif);
+ cpumask_clear_cpu(new_cpu, policy->symlinks);
+ sysfs_remove_link(&new_dev->kobj, "cpufreq");
- if (!ret)
- ret = __cpufreq_remove_dev_finish(dev, sif);
+ policy->kobj_cpu = new_cpu;
+ WARN_ON(kobject_move(&policy->kobj, &new_dev->kobj));
+ } else {
+ /* This is the last CPU to be removed */
+ cpufreq_policy_free(policy, true);
+ }
- return ret;
+ return 0;
}
static void handle_update(struct work_struct *work)
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index 29ad97c34fd5..c748d1cd0815 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -62,6 +62,7 @@ struct cpufreq_policy {
/* CPUs sharing clock, require sw coordination */
cpumask_var_t cpus; /* Online CPUs only */
cpumask_var_t related_cpus; /* Online + Offline CPUs */
+ cpumask_var_t symlinks; /* CPUs for which cpufreq sysfs directory is present */
unsigned int shared_type; /* ACPI: ANY or ALL affected CPUs
should set cpufreq */
--
2.4.0
Tree/Branch: v4.1.3
Git describe: v4.1.3
Commit: c8bde72f9a Linux 4.1.3
Build Time: 96 min 55 sec
Passed: 9 / 9 (100.00 %)
Failed: 0 / 9 ( 0.00 %)
Errors: 0
Warnings: 23
Section Mismatches: 1
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
12 warnings 3 mismatches : arm64-allmodconfig
2 warnings 0 mismatches : arm-multi_v7_defconfig
10 warnings 0 mismatches : arm-allmodconfig
-------------------------------------------------------------------------------
Warnings Summary: 23
2 ../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
1 ../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../net/bluetooth/mgmt.c:6463:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../net/bluetooth/mgmt.c:6463:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../kernel/acct.c:174:2: warning: value computed is not used [-Wunused-value]
1 ../include/trace/ftrace.h:28:0: warning: "TRACE_SYSTEM_STRING" redefined [enabled by default]
1 ../drivers/usb/renesas_usbhs/common.c:492:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/rtc/rtc-armada38x.c:91:22: warning: unused variable 'flags' [-Wunused-variable]
1 ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 ../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
1 ../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/mmc/host/sh_mmcif.c:402:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/mmc/host/sh_mmcif.c:401:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/media/platform/coda/./trace.h:12:0: warning: "TRACE_SYSTEM_STRING" redefined [enabled by default]
1 ../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
1 ../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1208 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/gpio/gpio-74xx-mmio.c:132:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
1 ../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Section Mismatch Summary: 1
3 WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 12 warnings, 3 section mismatches
Warnings:
../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined
../drivers/gpio/gpio-74xx-mmio.c:132:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../sound/soc/samsung/dmaengine.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../sound/soc/samsung/dmaengine.c:60:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/infiniband/hw/qib/qib_qp.c:44:0: warning: "BITS_PER_PAGE" redefined
../drivers/mmc/host/sh_mmcif.c:401:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/mmc/host/sh_mmcif.c:402:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
../drivers/net/ethernet/dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined! [-Wcpp]
../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
../drivers/usb/renesas_usbhs/common.c:492:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Section Mismatches:
WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
WARNING: drivers/staging/fsl-mc/bus/mc-bus-driver.o(.init.text+0x18c): Section mismatch in reference from the function init_module() to the function .exit.text:dprc_driver_exit()
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../net/bluetooth/mgmt.c:6463:8: warning: 'r192' may be used uninitialized in this function [-Wmaybe-uninitialized]
../net/bluetooth/mgmt.c:6463:8: warning: 'h192' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
arm-allmodconfig : PASS, 0 errors, 10 warnings, 0 section mismatches
Warnings:
../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../crypto/wp512.c:987:1: warning: the frame size of 1112 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../kernel/acct.c:174:2: warning: value computed is not used [-Wunused-value]
../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1208 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../include/trace/ftrace.h:28:0: warning: "TRACE_SYSTEM_STRING" redefined [enabled by default]
../drivers/media/platform/coda/./trace.h:12:0: warning: "TRACE_SYSTEM_STRING" redefined [enabled by default]
../drivers/rtc/rtc-armada38x.c:91:22: warning: unused variable 'flags' [-Wunused-variable]
../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
arm64-allnoconfig
arm-multi_v5_defconfig
x86_64-defconfig
arm-allnoconfig
x86_64-allnoconfig
arm64-defconfig
The existing alternative_insn macro has some limitations that make it
hard to work with. In partiuclar the fact it takes instructions from it
own macro arguments means it doesn't play very nicely with C pre-processor
macros because the macro arguments look like a string to the C
pre-processor. Workarounds are (probably) possible but things start to
look ugly.
Introduce an alternative set of macros that allows instructions to be
presented to the assembler as normal and switch everything over to the
new macros.
Signed-off-by: Daniel Thompson <daniel.thompson(a)linaro.org>
---
Notes:
To be honest these if not/else/endif macros are simply more readable
than the original macro and that might be enough to justify them on
their own. However below is an example that is needlessly hard to
write without them because ICC_PMR_EL1 is a C pre-processor macro.
.macro disable_irq, tmp
mov \tmp, #ICC_PMR_EL1_MASKED
alternative_if_not ARM64_HAS_SYSREG_GIC_CPUIF
msr daifset, #2
alternative_else
msr_s ICC_PMR_EL1, \tmp
alternative_endif
.endm
The new macros have received a fair degree of testing because I have
based my (not published since March) pseudo-NMI patch set on them.
arch/arm64/include/asm/alternative.h | 18 ++++++++++++------
arch/arm64/kernel/entry.S | 29 +++++++++++++----------------
arch/arm64/kvm/hyp.S | 12 ++++++++++--
arch/arm64/mm/cache.S | 7 ++++++-
4 files changed, 41 insertions(+), 25 deletions(-)
diff --git a/arch/arm64/include/asm/alternative.h b/arch/arm64/include/asm/alternative.h
index c385a0c4057f..8c8cdfac7251 100644
--- a/arch/arm64/include/asm/alternative.h
+++ b/arch/arm64/include/asm/alternative.h
@@ -65,13 +65,19 @@ void free_alternatives_memory(void);
.byte \alt_len
.endm
-.macro alternative_insn insn1 insn2 cap
-661: \insn1
-662: .pushsection .altinstructions, "a"
- altinstruction_entry 661b, 663f, \cap, 662b-661b, 664f-663f
+.macro alternative_if_not cap
+ .pushsection .altinstructions, "a"
+ altinstruction_entry 661f, 663f, \cap, 662f-661f, 664f-663f
.popsection
- .pushsection .altinstr_replacement, "ax"
-663: \insn2
+661:
+.endm
+
+.macro alternative_else
+662: .pushsection .altinstr_replacement, "ax"
+663:
+.endm
+
+.macro alternative_endif
664: .popsection
.org . - (664b-663b) + (662b-661b)
.org . - (662b-661b) + (664b-663b)
diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S
index a7691a378668..be8a70d4028c 100644
--- a/arch/arm64/kernel/entry.S
+++ b/arch/arm64/kernel/entry.S
@@ -122,26 +122,23 @@
ct_user_enter
ldr x23, [sp, #S_SP] // load return stack pointer
msr sp_el0, x23
-
#ifdef CONFIG_ARM64_ERRATUM_845719
-
-#undef SEQUENCE_ORG
-#undef SEQUENCE_ALT
-
+alternative_if_not ARM64_WORKAROUND_845719
+ nop
+ nop
#ifdef CONFIG_PID_IN_CONTEXTIDR
-
-#define SEQUENCE_ORG "nop ; nop ; nop"
-#define SEQUENCE_ALT "tbz x22, #4, 1f ; mrs x29, contextidr_el1; msr contextidr_el1, x29; 1:"
-
+ nop
+#endif
+alternative_else
+ tbz x22, #4, 1f
+#ifdef CONFIG_PID_IN_CONTEXTIDR
+ mrs x29, contextidr_el1
+ msr contextidr_el1, x29
#else
-
-#define SEQUENCE_ORG "nop ; nop"
-#define SEQUENCE_ALT "tbz x22, #4, 1f ; msr contextidr_el1, xzr; 1:"
-
+ msr contextidr_el1, xzr
#endif
-
- alternative_insn SEQUENCE_ORG, SEQUENCE_ALT, ARM64_WORKAROUND_845719
-
+1:
+alternative_endif
#endif
.endif
msr elr_el1, x21 // set up the return data
diff --git a/arch/arm64/kvm/hyp.S b/arch/arm64/kvm/hyp.S
index 17a8fb14f428..10915aaf0b01 100644
--- a/arch/arm64/kvm/hyp.S
+++ b/arch/arm64/kvm/hyp.S
@@ -810,7 +810,11 @@
* Call into the vgic backend for state saving
*/
.macro save_vgic_state
- alternative_insn "bl __save_vgic_v2_state", "bl __save_vgic_v3_state", ARM64_HAS_SYSREG_GIC_CPUIF
+alternative_if_not ARM64_HAS_SYSREG_GIC_CPUIF
+ bl __save_vgic_v2_state
+alternative_else
+ bl __save_vgic_v3_state
+alternative_endif
mrs x24, hcr_el2
mov x25, #HCR_INT_OVERRIDE
neg x25, x25
@@ -827,7 +831,11 @@
orr x24, x24, #HCR_INT_OVERRIDE
orr x24, x24, x25
msr hcr_el2, x24
- alternative_insn "bl __restore_vgic_v2_state", "bl __restore_vgic_v3_state", ARM64_HAS_SYSREG_GIC_CPUIF
+alternative_if_not ARM64_HAS_SYSREG_GIC_CPUIF
+ bl __restore_vgic_v2_state
+alternative_else
+ bl __restore_vgic_v3_state
+alternative_endif
.endm
.macro save_timer_state
diff --git a/arch/arm64/mm/cache.S b/arch/arm64/mm/cache.S
index bdeb5d38c2dd..eb48d5df4a0f 100644
--- a/arch/arm64/mm/cache.S
+++ b/arch/arm64/mm/cache.S
@@ -143,7 +143,12 @@ __dma_clean_range:
dcache_line_size x2, x3
sub x3, x2, #1
bic x0, x0, x3
-1: alternative_insn "dc cvac, x0", "dc civac, x0", ARM64_WORKAROUND_CLEAN_CACHE
+1:
+alternative_if_not ARM64_WORKAROUND_CLEAN_CACHE
+ dc cvac, x0
+alternative_else
+ dc civac, x0
+alternative_endif
add x0, x0, x2
cmp x0, x1
b.lo 1b
--
2.4.3