Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp207506iob; Mon, 2 May 2022 17:13:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/QRjZaSMnKOIIH88WlBHxkGms1ceyOfJT7VMXVBIpG165xJKQrC6rrTVnWqcQp5sxO9zX X-Received: by 2002:a05:6a00:2181:b0:4f6:f1b1:1ba7 with SMTP id h1-20020a056a00218100b004f6f1b11ba7mr13616844pfi.73.1651536833920; Mon, 02 May 2022 17:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651536833; cv=none; d=google.com; s=arc-20160816; b=AV39Zpp/628Ik7czTovT8ri+n3ErSnRuZfm3rJ2+k0zeE5Qo9giKhei3kp3wdw3xiI l3CKs9VYiX8raTHpqgajtLuDLf0fbm3sMvmo+H6xgOs+QJG1gQi9M/fshv0BhvgNyUkr LAzqZF5CGnWCxP7TrSrR8Do4gKfOXio/+hdPcy5xN7UL/xPFEYrDJeU2Sfso0V+8tuj2 ShEG2lOg7V/OQnL8jdjGTjv88c/JIZCWHYCnRL4AtwoMnJ0xmwDsB7PWiP/Kb1T0Ri/v kdH+zAIiw3z8k5+RldmN1gEmsY5bgY4D2OhZ6wsyD6wA/x00IFkl3nbCJ04Ur2qdTujx 094Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5dgPlb1Riino9LwWNiwefYKwfM8FCUXTSZxjFS+frQ0=; b=PQ2wqDiYsfrttB853c2BE4yvB4/6wy6OFaxND6Vv8NMp1TSdVqvrfVmSGh1jDpoQ6/ BSmK4qWfEViOfq6BsVEX9Lgz1HdQVbY53pyCnRYrbGkTWzix8/cs/P+Vhx9mtxQmuJgi uyuLXOuG9Br2AZKcvZmNeAYLfesl7qpdBQF29dni3ZhvI8L13sHTyJ37tyvGgs/U/utt v0sKDsCp9LKFrV2mLuNZIldtC8vVdIUUHAkqsY5MQsKjQW81jJeYH32piYIbJrPUZ7md 7aUG/cnWwbr31LN5SuMVuO0ljlz2yn1yltk+bWgUS8sQqylvk182h0vruBVipFnZ1HGs F3eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Pgw0zfUf; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s14-20020a170902ea0e00b00153b2d1647asi4763652plg.130.2022.05.02.17.13.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:13:53 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Pgw0zfUf; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4E7B1140E0; Mon, 2 May 2022 17:12:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376444AbiD2Nyv (ORCPT + 99 others); Fri, 29 Apr 2022 09:54:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352209AbiD2Nyl (ORCPT ); Fri, 29 Apr 2022 09:54:41 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13AE056415; Fri, 29 Apr 2022 06:51:23 -0700 (PDT) Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23TCOSUc013952; Fri, 29 Apr 2022 13:51:18 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 : mime-version : content-transfer-encoding; s=pp1; bh=5dgPlb1Riino9LwWNiwefYKwfM8FCUXTSZxjFS+frQ0=; b=Pgw0zfUfqsxy5HXozDo+NM46YjrH6X0AFHsNcrDVogytESY5pXcSlb5pkrIpX7pIUHMi veXXlzt91J+RL+R0TD75DD6MtVnsaasdoNPgFqo5h+AuG4DiXIusOynpy4IonYbbwNK3 qy2EQfZ5fU3/dhe7sEuTDyJ/1lg6F9V5jGPKEemnkX0KliPVvc3Ks/eOZevFe1YzhN8o zYmzRAT+KnbjCXVKXXybiUMy+ZD/B/2qwiiJWijUeKxxlZs2vrgHmpzgiwZrrVvqlzJu YGSHcwkRiud7MOWZXXE/aQ+WIiVcrB4lzpQx2I/FH5641oLFGyh8PD4OskW3mAsuA++d FA== Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3fqs3npu97-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:17 +0000 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TDRpJ2004523; Fri, 29 Apr 2022 13:51:15 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma06ams.nl.ibm.com with ESMTP id 3fm8qj988r-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 13:51:15 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TDpDwD53805354 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 13:51:13 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 39C714C04A; Fri, 29 Apr 2022 13:51:13 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DEF804C040; Fri, 29 Apr 2022 13:51:12 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 29 Apr 2022 13:51:12 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , Damien Le Moal , linux-ide@vger.kernel.org (open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers)) Subject: [RFC v2 03/39] ata: add HAS_IOPORT dependencies Date: Fri, 29 Apr 2022 15:50:03 +0200 Message-Id: <20220429135108.2781579-6-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220429135108.2781579-1-schnelle@linux.ibm.com> References: <20220429135108.2781579-1-schnelle@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: tjFf3wyR6acEEqSAI5Ys6CbS7noEnYRh X-Proofpoint-ORIG-GUID: tjFf3wyR6acEEqSAI5Ys6CbS7noEnYRh X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-29_06,2022-04-28_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=918 suspectscore=0 lowpriorityscore=0 spamscore=0 phishscore=0 adultscore=0 priorityscore=1501 clxscore=1015 mlxscore=0 malwarescore=0 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204290078 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not being declared. We thus need to add HAS_IOPORT as dependency for those drivers using them. Co-developed-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- drivers/ata/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index bb45a9c00514..a2dea866b086 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -332,6 +332,7 @@ endif # HAS_DMA config ATA_SFF bool "ATA SFF support (for legacy IDE and PATA)" + depends on HAS_IOPORT default y help This option adds support for ATA controllers with SFF -- 2.32.0