Message ID | 20230522105049.1467313-29-schnelle@linux.ibm.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1360328vqo; Mon, 22 May 2023 04:05:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6TcFMDPl2jvQMD0Sth9umJDF4OPOm6iCE+7RY6cHYKnk31gpNt/uHwCrQZ3EDMM0ssM9wh X-Received: by 2002:a17:903:492:b0:1ab:2034:26da with SMTP id jj18-20020a170903049200b001ab203426damr10593378plb.51.1684753502686; Mon, 22 May 2023 04:05:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684753502; cv=none; d=google.com; s=arc-20160816; b=p+378wmWxI3FuMLFx9Y/VC+XZiLCpJ/BdQjg8wR+D0lVbVUd3b2CpLqWbpha0WBcCY UZ4eHPOoO4sWx7EQSE815XHFyohaanjt8xKB+EQBJlhmbg/HzNt8MjrtwfltO3wXc4Ud Vo7FCqNm52obNnZsSNtmH1zwc7s/Be4dNPYc1zICne2OXCWphIhNQCSHGg+a4BCadzew 9LUQt3K4Lm+uBVQost+q9KLk6DHu7pQ1QBurQ6xCdg8tRLHfpt99WBQeZiyjPydtBBny fF9GLG7eB9GKtJum02cvEps679AkmwfDxfSp6Wnu8myr46Jo0KEJ3MiXo56bUMsD4Q0g auXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dd0K+0Sa8R65c+a2P9+/Q518l7F4X9iVJjpDwWDz76U=; b=Xwuj4UZOnNuqeor0kfgrDiYyjHI+/8k9dqQyewnzKw481Qq2237wL6TZ1L3AySwsQ1 UbZKI/yCD3SKCk/0PczDJn3Ti9fVJrIPUB1Npujz+PoNU3E79DfiREbPGw2vMR4flTSV lgQSfZXja8sUZik9yMP1DEZ6bT/UjXAQdfoL36QTebw3qrR3Vh5JJD/yUtUy1fRkXkXf XP9MMQwz2xGkHF2vAB0zrjrnJVJkO4EK3Hnmb1GxEUYqOeLU0+kSuAltCCZzWMbCKDOj 3vO6w8UGmVkFAi1eSZuZOfpB5Gd2DONFUPqeBNJf5KWNCq9i/C5iI3rtq6V293OZ9WTz iASw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=XdoTd9GJ; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q15-20020a17090311cf00b001a95d336558si4694712plh.594.2023.05.22.04.04.45; Mon, 22 May 2023 04:05:02 -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=@ibm.com header.s=pp1 header.b=XdoTd9GJ; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232934AbjEVKzA (ORCPT <rfc822;cscallsign@gmail.com> + 99 others); Mon, 22 May 2023 06:55:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232937AbjEVKwq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 22 May 2023 06:52:46 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF5E0FF; Mon, 22 May 2023 03:51:42 -0700 (PDT) Received: from pps.filterd (m0353726.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34M8lGFj030674; Mon, 22 May 2023 10:51:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : mime-version; s=pp1; bh=dd0K+0Sa8R65c+a2P9+/Q518l7F4X9iVJjpDwWDz76U=; b=XdoTd9GJZKt10ieKjQ9NJ37fphrBJPQ/2+7RBhpbE2W3cNhL5m6yWNfD0hG9Hiy/QYej APk3jr5on6k5NqzBbf78yT3btL/jwelHdDRHYU1ChvEPeuv4MJNKSkXUdCC/L8m715fT eKMOMwx1HaHRyytL2/GX+BukI4/fnEta8sMg2+ynGniSyvIGhMZGi99okRfbndxuZTWc AjW+0YuowOZkB0m+IIV+zLZljNJGjNbpNJhLnDp9nKT493z+F45Fri2jcgU7YuGT7+i+ 0sDoRylgfVtWNf34uiMH0IdnD5WbKcQH56aSyko6hQ6VxLPG9uRnhDbMqoB+F5Y2rltQ uA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qq7qjgnc5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:22 +0000 Received: from m0353726.ppops.net (m0353726.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34MAbZCM004161; Mon, 22 May 2023 10:51:21 GMT Received: from ppma03fra.de.ibm.com (6b.4a.5195.ip4.static.sl-reverse.com [149.81.74.107]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qq7qjgnb8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:21 +0000 Received: from pps.filterd (ppma03fra.de.ibm.com [127.0.0.1]) by ppma03fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34M8rw3u015786; Mon, 22 May 2023 10:51:19 GMT Received: from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230]) by ppma03fra.de.ibm.com (PPS) with ESMTPS id 3qppe08rk6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 22 May 2023 10:51:18 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay06.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34MApEOM25362716 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 May 2023 10:51:15 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C6D1020043; Mon, 22 May 2023 10:51:14 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 506D120040; Mon, 22 May 2023 10:51:14 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 22 May 2023 10:51:14 +0000 (GMT) From: Niklas Schnelle <schnelle@linux.ibm.com> To: Arnd Bergmann <arnd@arndb.de>, Jaroslav Kysela <perex@perex.cz>, "Rafael J. Wysocki" <rafael.j.wysocki@intel.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Bjorn Helgaas <bhelgaas@google.com>, =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de>, Mauro Carvalho Chehab <mchehab@kernel.org>, Alan Stern <stern@rowland.harvard.edu>, "Rafael J. Wysocki" <rafael@kernel.org>, Geert Uytterhoeven <geert@linux-m68k.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann <arnd@kernel.org>, linux-acpi@vger.kernel.org Subject: [PATCH v5 28/44] pnp: add HAS_IOPORT dependencies Date: Mon, 22 May 2023 12:50:33 +0200 Message-Id: <20230522105049.1467313-29-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230522105049.1467313-1-schnelle@linux.ibm.com> References: <20230522105049.1467313-1-schnelle@linux.ibm.com> X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 26vKMZmQBbeaYohOvs9egl8s0__WMMyg X-Proofpoint-GUID: FPgvcn5xGQ61cQNOi_ZHropGUHCEkmto Content-Transfer-Encoding: 8bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-22_06,2023-05-22_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 priorityscore=1501 clxscore=1015 mlxlogscore=866 impostorscore=0 mlxscore=0 bulkscore=0 spamscore=0 phishscore=0 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305220089 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766592088760960775?= X-GMAIL-MSGID: =?utf-8?q?1766592088760960775?= |
Series |
treewide: Remove I/O port accessors for HAS_IOPORT=n
|
|
Commit Message
Niklas Schnelle
May 22, 2023, 10:50 a.m. UTC
In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not being declared. We thus need to depend on HAS_IOPORT even when compile testing only. Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Co-developed-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> --- drivers/pnp/isapnp/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 22. 05. 23 12:50, Niklas Schnelle wrote: > In a future patch HAS_IOPORT=n will result in inb()/outb() and friends > not being declared. We thus need to depend on HAS_IOPORT even when > compile testing only. > > Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > Co-developed-by: Arnd Bergmann <arnd@kernel.org> > Signed-off-by: Arnd Bergmann <arnd@kernel.org> > Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Acked-by: Jaroslav Kysela <perex@perex.cz>
diff --git a/drivers/pnp/isapnp/Kconfig b/drivers/pnp/isapnp/Kconfig index d0479a563123..79bd48f1dd94 100644 --- a/drivers/pnp/isapnp/Kconfig +++ b/drivers/pnp/isapnp/Kconfig @@ -4,7 +4,7 @@ # config ISAPNP bool "ISA Plug and Play support" - depends on ISA || COMPILE_TEST + depends on ISA || (HAS_IOPORT && COMPILE_TEST) help Say Y here if you would like support for ISA Plug and Play devices. Some information is in <file:Documentation/driver-api/isapnp.rst>.