From patchwork Sun Mar 12 05:26:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 68256 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp586331wrd; Sat, 11 Mar 2023 21:42:25 -0800 (PST) X-Google-Smtp-Source: AK7set+Y5LYeYY+7HU9K9mMFcNkbsnn4PJLx+PNw+9IVFEIvcKL+ffoY/KV9oIY4YkfH3pypb5y0 X-Received: by 2002:a17:90b:1d90:b0:233:cd29:f168 with SMTP id pf16-20020a17090b1d9000b00233cd29f168mr31547676pjb.24.1678599745591; Sat, 11 Mar 2023 21:42:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678599745; cv=none; d=google.com; s=arc-20160816; b=yKomynWnLBSQPdZvOb6EiyxbujNs5O4AVlVjQuMBDnPjmcmowfAZdtmgahChUyZMOJ teVKP5BNKycIAeN2PucCMd8ywN0fby1msVCg3uZvDm+pVKl8lIQ1U+6/oQUeHyeslC4B UVgxyhgl1BtCiU8PSb/KLhXIx89+B+zNtMfwOyHYH0wlzV2jiNLJvZAomUt+QaIRzBpw h2GQJNNY+r7ak8dAmuPRpWrjdIBA9NshZRMSuErwSnybrKdWK7a4d2IMAhf3se3XvOVg JLn8YGjQME2RclhpAPKT2k0Z1XCXEms4AWnDExCXQQvo1KjQXx6X6mKlzPwuzVQMgzcx YyqQ== 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:cc:to:from:dkim-signature; bh=HTO0kFL/gXNY82LV1tHpGaf2bVH9yozHCg1ZS/+0oeI=; b=q8jvP9HXDL4YR3Xfzl/WgA97qdibeADxTRjVBpHp8+s+9+9RNsDbroX3m/I+LxMxOx Hd20Qk9JkrC3QYlaWzA+DF5amyDRBESRqaIpilspWnR7kGD92AZrZE26Zt00mxipIDnO 0xaril4BENAkjcbqguQKLyPVyDRtWOemPWZaINal2zqzLTb8bC/z34gJ7Aw1Ah/nxBXO v8ZdNrm6Ig/pILMG1BT2Qsb6alzsWYnB3rVpdd2bPGP/eIfe12bT/A0Y0mJ4RCpgCMI1 ZabTdJa1iWSk4E9j5voed5f+y/3EL2/FwJfFWd9cl4HBhNJDqaQxbilrTURcWwRHElZb 0Aig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="v/8mSm1w"; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y13-20020a17090aa40d00b0022c4ddf8413si3615043pjp.8.2023.03.11.21.42.12; Sat, 11 Mar 2023 21:42:25 -0800 (PST) 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=@infradead.org header.s=bombadil.20210309 header.b="v/8mSm1w"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229612AbjCLF0d (ORCPT + 99 others); Sun, 12 Mar 2023 00:26:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjCLF0a (ORCPT ); Sun, 12 Mar 2023 00:26:30 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E9473BD8A; Sat, 11 Mar 2023 21:26:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=HTO0kFL/gXNY82LV1tHpGaf2bVH9yozHCg1ZS/+0oeI=; b=v/8mSm1wRqrfK74nfEGrwhkHXR KtCrGdm/ipvoyLcvdNTOEs39ZojotwJlKrM5KEIk5RW4TXWhoTjYClXsnsdMUHYOY/nvHcF1Ho/eu 5ODdLvIR+2mSDPrFYJCq9CFSbgr+nyzIqMQGWLIBuO4jhmr4VKC6kDX7TnA9LorHNEkFKdO0HSTiY 9bVrUw4GrEBTpKHAPlCZLPRsaENgTeGc3sODEDEnh0cTgpV3UVKhzUfq4C/MOSG2htvo8quJrt1Sj ZvhB1eF1HEKTHrJswoPJ8y1ulD77uuc7v35rheJrVAAvLTCbKdWy8DobAzX0LLNyYJLvdEgHlfWkU ZB7AWlXw==; Received: from [2601:1c2:980:9ec0::df2f] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbEDx-001onR-LW; Sun, 12 Mar 2023 05:26:25 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Damien Le Moal , linux-ide@vger.kernel.org, linux-um@lists.infradead.org Subject: [PATCH] ata: pata_cs5536: don't build on UML Date: Sat, 11 Mar 2023 21:26:24 -0800 Message-Id: <20230312052624.8402-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760139406775622993?= X-GMAIL-MSGID: =?utf-8?q?1760139406775622993?= Similar to 22eebaa631c4 ("ata: pata_cs5535: Don't build on UML"), prevent pata_cs5536 from building on UML since it references symbols that are not present when building X86_32/i386 allmodconfig. ERROR: modpost: "__tracepoint_write_msr" [drivers/ata/pata_cs5536.ko] undefined! ERROR: modpost: "do_trace_write_msr" [drivers/ata/pata_cs5536.ko] undefined! ERROR: modpost: "__tracepoint_read_msr" [drivers/ata/pata_cs5536.ko] undefined! ERROR: modpost: "do_trace_read_msr" [drivers/ata/pata_cs5536.ko] undefined! Signed-off-by: Randy Dunlap Cc: Damien Le Moal Cc: linux-ide@vger.kernel.org Cc: linux-um@lists.infradead.org --- drivers/ata/Kconfig | 1 + 1 file changed, 1 insertion(+) diff -- a/drivers/ata/Kconfig b/drivers/ata/Kconfig --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -650,6 +650,7 @@ config PATA_CS5535 config PATA_CS5536 tristate "CS5536 PATA support" depends on PCI && (X86_32 || MIPS || COMPILE_TEST) + depends on !UML help This option enables support for the AMD CS5536 companion chip used with the Geode LX processor family.