Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4456557rwb; Tue, 6 Sep 2022 07:48:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR7LuPEu2fHuqob9yf3A3zOlF9YTEZglclNKyeNR3ktaxhY9Y/WtZPKpYLgTlCLD+cf/8NVs X-Received: by 2002:a05:6402:42c3:b0:43d:682f:c0ca with SMTP id i3-20020a05640242c300b0043d682fc0camr47771823edc.334.1662475716994; Tue, 06 Sep 2022 07:48:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662475716; cv=none; d=google.com; s=arc-20160816; b=xV5e19bbALu++VDwh1Jk9yUb0wbk6j7UpY2/mAXfghIbmcEggoPaZPCdPtOY5zGsn2 9G5n//XGPgwYPG2zIIKxlIZ7GA0ajLNAbkSBRHAtDtGkkN7kc0C1NUzE4zhz/r1p8kQu BEjsXULWd1IUHFdVzjT0spQ/AwDA7IWaArCdf70wXbbloQzJkqIpVk+ObQ30MXyAlpDj ppMiYX0Jxt+PqhK8ztp7BDyztDlBMqrknPO/UiF+k08Fyr2gBTaIWh1fWKgeFnXIXnGx HiSNivbAVdjZOdYnQtQl9//T3q5g8+66ZXyx8DNaoaXvt8BUvrGKocNE9ZHm7fxbKP0M /fLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=m9VZ6NjEvgrGSOZ6CbeDvLYXZuH6DoEO463ZoGpX+Gs=; b=ce1iQ/TEbvT8PcWUHZyb/M8qiH23WFC21B1d5l9H2VL6EFLktLCp2Z+Rjfyb00iJa9 djSlbvarOrQ2J0+c/elSutQmVVV+bVYM6VoVx7yv3cGZIFrEPl2BeJGcneH4b0BpKZBw 8+dNQBnQR5ELuEXCnwfSNSteSJZ4vTsjSjXvyqjmtOBVfMsJaAL5iPstXIIJpmJKCA61 MUso0k+OBE8EeP9NqC1x8QHVDvRJ1q6NyLM/BwvOA5xtZJlye1cmZMwG+dQcEJe+Zqlr cOiswtdRwyr9o350lgNXcDewZh54wGUMxKZhBwSyF/MkVIMFZl/QP2c1/lMshObm82Ll +ntA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=GZpYqsZw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt14-20020a170907728e00b0073da4a0f01csi10043722ejc.743.2022.09.06.07.48.11; Tue, 06 Sep 2022 07:48:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=GZpYqsZw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240140AbiIFMtL (ORCPT + 99 others); Tue, 6 Sep 2022 08:49:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232428AbiIFMtJ (ORCPT ); Tue, 6 Sep 2022 08:49:09 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80C19558D1 for ; Tue, 6 Sep 2022 05:49:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1662468547; x=1694004547; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=Hi2qklq2xhnRG4gCIuro5N1FGkvddM43euvA3ELuofs=; b=GZpYqsZwZsvBfZMlZhC2+OLudIsW1UBkj3pgRCl4bhe+aau8G4D0jbJ3 xl4H3yYRIuDqKbsHClVXKTepOJmMO7NedYYtcD8PD9X/bF5ZRTWB9Huka BEDXB4y9pYbmLSGQOM+rQSMtc6roRr6AaNG4dbboXWHEnfA/OAtQMEoGI 3sHclareIFovP2Fd60sV8Bt+pF+QlEnEdOqhiTQ+/d8GQ8gplF6ZBZcv4 X8DP1avxBOywAZa8B4ytSClOwsRn2w4WphMcVhkY0ZmpirgH1lwM0dI0F HjqoZTErQpvyXypJ2wAcmVBtwNwKGXY3zplo20cfMFdFfO96CQX77Hc31 g==; X-IronPort-AV: E=Sophos;i="5.93,294,1654585200"; d="scan'208";a="179335532" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 06 Sep 2022 05:49:07 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Tue, 6 Sep 2022 05:49:07 -0700 Received: from CHE-LT-UNGSOFTWARE.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Tue, 6 Sep 2022 05:49:05 -0700 From: Kumaravel Thiagarajan To: , , , , Subject: [PATCH v3 char-misc-next] misc: microchip: pci1xxxx: fix dependency issues in building the pci1xxxx's aux bus driver. Date: Tue, 6 Sep 2022 18:19:51 +0530 Message-ID: <20220906124951.696776-1-kumaravel.thiagarajan@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org build errors and warnings listed below and reported by kernel test robot on the char-misc-next branch are fixed in this add-on patch. errors: ERROR: modpost: "auxiliary_device_init" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.ko] undefined! ERROR: modpost: "__auxiliary_device_add" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.ko] undefined! ERROR: modpost: "auxiliary_driver_unregister" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.ko] undefined! ERROR: modpost: "__auxiliary_driver_register" [drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.ko] undefined! ia64-linux-ld: drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.o: in function `gp_aux_bus_probe.part.0': mchp_pci1xxxx_gp.c:(.text+0x342): undefined reference to `auxiliary_device_init' ia64-linux-ld: mchp_pci1xxxx_gp.c:(.text+0x392): undefined reference to `__auxiliary_device_add' ia64-linux-ld: mchp_pci1xxxx_gp.c:(.text+0x5c2): undefined reference to `auxiliary_device_init' ia64-linux-ld: mchp_pci1xxxx_gp.c:(.text+0x612): undefined reference to `__auxiliary_device_add' ia64-linux-ld: drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gpio.o: in function `pci1xxxx_gpio_driver_init': mchp_pci1xxxx_gpio.c:(.init.text+0x42): undefined reference to `__auxiliary_driver_register' warnings: unmet direct dependencies detected for GPIOLIB_IRQCHIP when selected by GP_PCI1XXXX Fixes: 393fc2f5948f ("misc: microchip: pci1xxxx: load auxiliary bus driver for the PIO function in the multi-function endpoint of pci1xxxx device.") Reported-by: kernel test robot Signed-off-by: Kumaravel Thiagarajan --- Changes in v3: - Unwrap the error messages & warnings to display in single line Changes in v2: - Shorten the subject line. - List the errors and warnings that would be fixed by this patch - In Fixes Tag, add only first 12 characters of SHA-1 and include one line summary --- drivers/misc/mchp_pci1xxxx/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/misc/mchp_pci1xxxx/Kconfig b/drivers/misc/mchp_pci1xxxx/Kconfig index f6a6970d2a59..4abb47de7219 100644 --- a/drivers/misc/mchp_pci1xxxx/Kconfig +++ b/drivers/misc/mchp_pci1xxxx/Kconfig @@ -1,7 +1,9 @@ config GP_PCI1XXXX tristate "Microchip PCI1XXXX PCIe to GPIO Expander + OTP/EEPROM manager" - depends on PCI + depends on PCI + depends on GPIOLIB select GPIOLIB_IRQCHIP + select AUXILIARY_BUS help PCI1XXXX is a PCIe GEN 3 switch with one of the endpoints having multiple functions and one of the functions is a GPIO controller -- 2.25.1