[PATCH] pstore: fix crypto dependencies without compression

2018-04-05 Thread Tobias Regnery
NFIG_CRYPTO unconditionally. Fixes: 58eb5b670747 ("pstore: fix crypto dependencies") Signed-off-by: Tobias Regnery --- fs/pstore/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig index 09c19ef91526..f42ea286ccd7 100644 --- a/fs/pstore

Re: [PATCH] pstore: fix crypto dependencies without compression

2018-04-06 Thread Tobias Regnery
On 06.04.18, Arnd Bergmann wrote: > On Fri, Apr 6, 2018 at 8:38 AM, Tobias Regnery > wrote: > > Commit 58eb5b670747 ("pstore: fix crypto dependencies") fixed up the crypto > > dependencies but missed the case when no compression is selected. > > > > With C

[PATCH v2] pstore: fix crypto dependencies without compression

2018-04-06 Thread Tobias Regnery
e-time if CONFIG_PSTORE_COMPRESS is enabled. Fixes: 58eb5b670747 ("pstore: fix crypto dependencies") Signed-off-by: Tobias Regnery --- v2: check the config at compile-time rather than change the kconfig-dependency as suggested by Arnd. --- fs/pstore/platform.c | 4 ++-- 1 file changed,

[PATCH] usb: typec: ucsi: fix tracepoint related build error

2018-04-09 Thread Tobias Regnery
usb/typec/ucsi/typec_ucsi.ko] undefined! With CONFIG_TYPEC_UCSI=y the build fails with several link errors. Fix this by changing the Makefile to unconditionally build trace.o. Tracepints are a runtime contruct and no other user of tracepoints depends on CONFIG_FTRACE. Fixes: c1b0bc2dabfa ("

Re: [PATCH] usb: typec: ucsi: fix tracepoint related build error

2018-04-09 Thread Tobias Regnery
On 09.04.18, Heikki Krogerus wrote: > On Mon, Apr 09, 2018 at 09:55:17AM +0200, Tobias Regnery wrote: > > The ucsi driver defines several tracepoints, but the header file with the > > tracepoint definition trace.h is only conditionally built depending on > > CONFIG_FTRACE.

Re: [PATCH] usb: typec: ucsi: fix tracepoint related build error

2018-04-10 Thread Tobias Regnery
On 09.04.18, Tobias Regnery wrote: > On 09.04.18, Heikki Krogerus wrote: > > On Mon, Apr 09, 2018 at 09:55:17AM +0200, Tobias Regnery wrote: > > > The ucsi driver defines several tracepoints, but the header file with the > > > tracepoint definition trace.h is only condi

[PATCH v2] usb: typec: ucsi: fix tracepoint related build error

2018-04-10 Thread Tobias Regnery
CONFIG_FTRACE. The build failure is caused by conditionally compiling trace.c depending on the wrong option CONFIG_FTRACE. Change this to depend on CONFIG_TRACING like other users of tracepoints do. Fixes: c1b0bc2dabfa ("usb: typec: Add support for UCSI interface") Signed-off-by: Tobias Re

[PATCH net-next] geneve: fix build with modular IPV6

2018-04-26 Thread Tobias Regnery
ed reference to `rt6_lookup' Fix this by adding a Kconfig dependency and forcing GENEVE to be a module when IPV6 is a module. Fixes: c40e89fd358e ("geneve: configure MTU based on a lower device") Signed-off-by: Tobias Regnery --- drivers/net/Kconfig | 1 + 1 file changed, 1 insertio

[PATCH] drm/bridge/sii8620: fix link error

2018-04-23 Thread Tobias Regnery
x2b94): undefined reference to `extcon_get_state' Fix this by selecting EXTCON. Fixes: 688838442147 ("drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL") Signed-off-by: Tobias Regnery --- drivers/gpu/drm/bridge/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/dri

[PATCH] iommu/amd: fix unused-variable warning

2018-04-20 Thread Tobias Regnery
ef. Fixes: ea6166f4b83e9 ("iommu/amd: Split irq_lookup_table out of the amd_iommu_devtable_lock") Signed-off-by: Tobias Regnery --- drivers/iommu/amd_iommu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index 2a99f0f14795..5ba14

[PATCH] extcon: axp288: fix link error

2018-04-16 Thread Tobias Regnery
to `usb_role_switch_get' The above functions are defined in drivers/usb/common/roles.c, but the build system only enters the common directory depending on CONFIG_USB_COMMON. Fix this by selecting the USB_COMMON symbol. Fixes: d54f063cdbe4 ("extcon: axp288: Set USB role where necessary

[PATCH] of: add stub for of_n_addr_cells

2017-03-24 Thread Tobias Regnery
function-declaration] parser->pna = of_n_addr_cells(node); ^~~ Fix this by adding an inline stub for of_n_addr_cells Signed-off-by: Tobias Regnery --- This is against next-20140324 include/linux/of.h | 5 + 1 file changed, 5 insertions(+) diff --git a/inclu

Re: [PATCH] of: add stub for of_n_addr_cells

2017-03-26 Thread Tobias Regnery
On 24.03.17, Arnd Bergmann wrote: > On Fri, Mar 24, 2017 at 11:39 AM, Tobias Regnery > wrote: > > With CONFIG_OF=n and CONFIG_COMPILE_TEST=y the rcar pci-e driver fails to > > build on arm: > > > > drivers/pci/host/pcie-rcar.c: In function 'pci_dma_range_pars

[PATCH] clk: sunxi-ng: fix build error without CONFIG_RESET_CONTROLLER

2017-03-27 Thread Tobias Regnery
_AARCH64_CALL26 against undefined symbol 'reset_controller_register' Fix this by adding the appropriate select statement. Signed-off-by: Tobias Regnery --- drivers/clk/sunxi-ng/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/c

[PATCH] phy: fix build error in phy-bcm-nsp-usb3 with COMPILE_TEST

2017-03-07 Thread Tobias Regnery
e to `mdio_driver_unregister' Fix this by adding the correct Kconfig dependency. Signed-off-by: Tobias Regnery --- drivers/phy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index dc5277ad1b5a..10e06f0f1dce 100

[PATCH] staging: media: atomisp: fix build error in ov5693 driver

2017-03-14 Thread Tobias Regnery
mp;dev->sd.entity, 1, &dev->pad); Add the corresponding Kconfig dependency to solve this error. Signed-off-by: Tobias Regnery --- This is against next-20170310 drivers/staging/media/atomisp/i2c/ov5693/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/stag

[PATCH v2] of: add stubs for of_n_{addr, size}_cells

2017-03-28 Thread Tobias Regnery
function-declaration] parser->pna = of_n_addr_cells(node); ^~~ Fix this by adding an inline stub for of_n_addr_cells While at it also provide a stub for of_n_size_cells for consistency reasons. Signed-off-by: Tobias Regnery --- Changes in v2: - add a stub

[PATCH] drm/i915: fix build error without CONFIG_BACKLIGHT_CLASS_DEVICE

2017-03-29 Thread Tobias Regnery
ion on ACPI from the appropriate select statement. Signed-off-by: Tobias Regnery --- drivers/gpu/drm/i915/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/Kconfig b/drivers/gpu/drm/i915/Kconfig index a5cd5dacf055..532df4bb9283 100644 --- a/drivers/

[PATCH] platform/x86: INT33FE: add i2c dependency

2017-04-20 Thread Tobias Regnery
_driver_exit': intel_cht_int33fe.c:(.exit.text+0x206e): undefined reference to 'i2c_del_driver' Fix this by adding a kconfig dependency on the I2C subsystem. Fixes: 1cd706df8a9c ("platform/x86: Add Intel Cherry Trail ACPI INT33FE device driver") Signed-off-by: Tobias Regnery ---

Re: [PATCH 5/6] mm, memory_hotplug: do not associate hotadded memory to zones until online

2017-04-04 Thread Tobias Regnery
On 30.03.17, Michal Hocko wrote: > From: Michal Hocko > > The current memory hotplug implementation relies on having all the > struct pages associate with a zone during the physical hotplug phase > (arch_add_memory->__add_pages->__add_section->__add_zone). In the vast > majority of cases this mea

[PATCH] IB/hns: include linux/of.h to fix build failure

2017-04-04 Thread Tobias Regnery
on-declaration] Fix this by including linux/of.h directly. Signed-off-by: Tobias Regnery --- This is against next-20170404 drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v1.c b/drivers/infiniband/hw/hns/hn

[PATCH net-next] net/mlx5e: fix build error without CONFIG_SYSFS

2017-04-05 Thread Tobias Regnery
net_device' has no member named 'real_num_rx_queues'; did you mean 'real_num_tx_queues'? Fix this by unconditionally call netif_set_real_num{tx,rx}_queues like before commit 9008ae074885. Fixes: 9008ae074885 ("net/mlx5e: Minimize mlx5e_{open/close}_locked") Signed-of

[PATCH] phy: qcom-qusb2: add NVMEM dependency

2017-04-10 Thread Tobias Regnery
en the nvmem core is build as module, too. Fixes: deffad633413 ("phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips") Signed-off-by: Tobias Regnery --- drivers/phy/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index c120071fd

[PATCH] clk: sunxi-ng: fix build failure in ccu-sun9i-a80 driver

2017-04-10 Thread Tobias Regnery
.data+0x2d638): undefined reference to 'ccu_mult_ops' Fix this by explicitly selecting CONFIG_SUNXI_CCU_MULT like the other users of the struct. Signed-off-by: Tobias Regnery --- drivers/clk/sunxi-ng/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/sunxi-ng/Kc

[PATCH] KEYS: fix build failure with CONFIG_KEY_DH_OPERATIONS

2017-04-11 Thread Tobias Regnery
ext+0x9710): undefined reference to 'crypto_destroy_tfm' Fix this by selecting the crypto core in order to reach the functions above. Fixes: f1c316a3ab9d ("KEYS: add SP800-56A KDF support for DH") Signed-off-by: Tobias Regnery --- security/keys/Kconfig | 1 + 1 file changed,

[PATCH] CIFS: Fix build failure with smb2

2017-03-30 Thread Tobias Regnery
er to fix this issue. Signed-off-by: Tobias Regnery --- This is against next-20170330 fs/cifs/smb2ops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c index c6d14cc44510..c1b70559496c 100644 --- a/fs/cifs/smb2ops.c +++ b/fs/cifs/smb2ops.c @@ -21,

Re: [PATCH] drm/i915: fix build error without CONFIG_BACKLIGHT_CLASS_DEVICE

2017-03-30 Thread Tobias Regnery
On 30.03.17, Jani Nikula wrote: > On Wed, 29 Mar 2017, Tobias Regnery wrote: > > With CONFIG_ACPI=n and CONFIG_BACKLIGHT_CLASS_DEVICE=n we see the following > > link error in the i915 driver: > > > > drivers/built-in.o: In function 'intel_backlight_devic

[PATCH net-next] net: dsa: fix build error with devlink build as module

2017-03-31 Thread Tobias Regnery
'devlink_unregister' dsa2.c:(.text.unlikely+0x3fb): undefined reference to 'devlink_free' Fix this by adding a dependency on MAY_USE_DEVLINK so that CONFIG_NET_DSA get switched to be build as module when CONFIG_NET_DEVLINK=m. Fixes: 96567d5dacf4 ("net: dsa: dsa2: Add basi

[PATCH net-next] net: dsa: LAN9303: add i2c dependency

2017-04-24 Thread Tobias Regnery
icit-function-declaration] ... Fix this by adding a kconfig dependency on the I2C subsystem. Fixes: be4e119f9914 ("net: dsa: LAN9303: add I2C managed mode support") Signed-off-by: Tobias Regnery --- drivers/net/dsa/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH] clk: meson: gxbb: fix build error without RESET_CONTROLLER

2017-04-24 Thread Tobias Regnery
controller subsystem. Signed-off-by: Tobias Regnery --- drivers/clk/meson/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/meson/Kconfig b/drivers/clk/meson/Kconfig index 19480bcc7046..2f29ee1a4d00 100644 --- a/drivers/clk/meson/Kconfig +++ b/drivers/clk/meson/Kconfig @@ -

[PATCH] Bluetooth: hci_nokia: select BT_HCIUART_H4

2017-05-08 Thread Tobias Regnery
ation] ... Fix this by selecting the BT_HCIUART_H4 symbol like all the other users of the protocoll. Fixes: 7bb318680e86 ("Bluetooth: add nokia driver") Signed-off-by: Tobias Regnery --- drivers/bluetooth/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bluetoo

[PATCH] misc: pci_endpoint_test: select CRC32

2017-05-09 Thread Tobias Regnery
CI driver for PCI test function device") Signed-off-by: Tobias Regnery --- drivers/misc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 2cba76e6fa3c..07bbd4cc1852 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/

[PATCH] bluetooth: hci_uart: fix kconfig dependency

2017-05-02 Thread Tobias Regnery
ency on BT_HCIUART and hci_ll.c is only compiled in if SERIAl_DEV_BUS is built in or SERIAL_DEV_BUS and BT_HCIUART are modules. Fixes: 371805522f87 ("bluetooth: hci_uart: add LL protocol serdev driver support") Signed-off-by: Tobias Regnery --- Hi, I'm not sure if this is the righ