Re: linux-next: Tree for Feb 2 (drivers/media/pci/intel/ipu3/cio2-bridge.c)

From: Randy Dunlap
Date: Tue Feb 02 2021 - 14:00:06 EST


On 2/2/21 1:32 AM, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20210201:

on i386:

# CONFIG_ACPI is not set

../drivers/media/pci/intel/ipu3/cio2-bridge.c: In function ‘cio2_bridge_read_acpi_buffer’:
../drivers/media/pci/intel/ipu3/cio2-bridge.c:46:36: error: dereferencing pointer to incomplete type ‘struct acpi_device’
status = acpi_evaluate_object(adev->handle, id, NULL, &buffer);
^~
CC [M] drivers/most/configfs.o
../drivers/media/pci/intel/ipu3/cio2-bridge.c: In function ‘cio2_bridge_connect_sensor’:
../drivers/media/pci/intel/ipu3/cio2-bridge.c:175:2: error: implicit declaration of function ‘for_each_acpi_dev_match’; did you mean ‘for_each_pci_dev’? [-Werror=implicit-function-declaration]
for_each_acpi_dev_match(adev, cfg->hid, NULL, -1) {
^~~~~~~~~~~~~~~~~~~~~~~
for_each_pci_dev
../drivers/media/pci/intel/ipu3/cio2-bridge.c:175:52: error: expected ‘;’ before ‘{’ token
for_each_acpi_dev_match(adev, cfg->hid, NULL, -1) {
^
../drivers/media/pci/intel/ipu3/cio2-bridge.c:231:1: warning: label ‘err_out’ defined but not used [-Wunused-label]
err_out:
^~~~~~~
../drivers/media/pci/intel/ipu3/cio2-bridge.c:229:1: warning: label ‘err_put_adev’ defined but not used [-Wunused-label]
err_put_adev:
^~~~~~~~~~~~
../drivers/media/pci/intel/ipu3/cio2-bridge.c:227:1: warning: label ‘err_free_swnodes’ defined but not used [-Wunused-label]
err_free_swnodes:
^~~~~~~~~~~~~~~~
../drivers/media/pci/intel/ipu3/cio2-bridge.c:170:24: warning: unused variable ‘fwnode’ [-Wunused-variable]
struct fwnode_handle *fwnode;
^~~~~~
CC [M] drivers/gpu/drm/nouveau/nvkm/engine/disp/coregv100.o
At top level:
../drivers/media/pci/intel/ipu3/cio2-bridge.c:131:13: warning: ‘cio2_bridge_create_connection_swnodes’ defined but not used [-Wunused-function]
static void cio2_bridge_create_connection_swnodes(struct cio2_bridge *bridge,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/media/pci/intel/ipu3/cio2-bridge.c:75:13: warning: ‘cio2_bridge_create_fwnode_properties’ defined but not used [-Wunused-function]
static void cio2_bridge_create_fwnode_properties(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/media/pci/intel/ipu3/cio2-bridge.c:38:12: warning: ‘cio2_bridge_read_acpi_buffer’ defined but not used [-Wunused-function]
static int cio2_bridge_read_acpi_buffer(struct acpi_device *adev, char *id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~




Full randconfig file is attached.

--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Attachment: config-r7566.gz
Description: application/gzip