From patchwork Mon Dec 19 20:46:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen Webb X-Patchwork-Id: 34765 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp2607411wrn; Mon, 19 Dec 2022 12:47:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXu3zxOr6XfBvnGuF7Nvrpn5c2HZKU2AXHsqPKI19AYir9FC3denGFiabJxCz6f6qdcxmBhD X-Received: by 2002:a05:6a20:b829:b0:ae:7f1d:1912 with SMTP id fi41-20020a056a20b82900b000ae7f1d1912mr10215071pzb.38.1671482859582; Mon, 19 Dec 2022 12:47:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671482859; cv=none; d=google.com; s=arc-20160816; b=GnBsjREebnWAkKup+k60ZvsxC9My22lwIhH+XkMXG75fNHpXZE5Y/6wRnSRBRmlPtX JW4dIXLswbLV3C2skazWV+BlwI+kXtEnX0N/mUybO4toj6JYnawqu47a4DK3Lr5iSpUG K17Iq7itWRPYFVgni/NB4TRVTjJ6akCBqZo1QyMMSULNlxpmlATSDPoyDgGR0mIfJkOZ 0xrQXjjE0x1zSMUAeUD82AlObhjoEVFGbjpU6qWa6lRmh0uTkYCqhye86Sw5IfNP9mn8 sxIVqYuPoN/rhh7PbgM3BuX43k48TGZJSD73Jwzzgp+De5F1pPsdYr22hpEUlIMeknnV N1HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=UfA/1MB8RCHraPM1ZZUmCBSUNYuUoVh3fP3DF148QbI=; b=gw7rrKfUYylGdDKCXmf47rbeUZGtW6CI9htD0eAJy558FtPeVrVDiA2Tet8eoGPShs AwK/J0XCty662KiFriELeXqjlEs/MAxY+ARTiPOs28+nuAJ0/h/pyMEAj0gIpmG3XWRw cKmf65RyOUOqEl44+QdLZ02g+dZ71S/+AO1JR4R/9vZoYrMsLJ8YGgD6oKAoyARTjPMN AoJRG12BMhH7OI+tBYxPWTmjaih3NU2q56nTKjrOx/invoBkUH7OA0ZRdhGIot8XR+vQ seInaULm9b+yIbqVozqR5KkWbVp2D77QXyBw7Wzze8dQVT0qkqcI6L6LaQ/kEdDsr/Qj LveQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=QMFV2eSA; 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=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j69-20020a638048000000b004789f4ef89fsi11049318pgd.875.2022.12.19.12.47.26; Mon, 19 Dec 2022 12:47:39 -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=@google.com header.s=20210112 header.b=QMFV2eSA; 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=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231942AbiLSUqk (ORCPT + 99 others); Mon, 19 Dec 2022 15:46:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229977AbiLSUq0 (ORCPT ); Mon, 19 Dec 2022 15:46:26 -0500 Received: from mail-io1-xd4a.google.com (mail-io1-xd4a.google.com [IPv6:2607:f8b0:4864:20::d4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D54A1262B for ; Mon, 19 Dec 2022 12:46:25 -0800 (PST) Received: by mail-io1-xd4a.google.com with SMTP id f23-20020a5d8157000000b006dfb209094fso4607860ioo.18 for ; Mon, 19 Dec 2022 12:46:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=UfA/1MB8RCHraPM1ZZUmCBSUNYuUoVh3fP3DF148QbI=; b=QMFV2eSAxUPCmTJI+06ooZ3vGoXfoKx9XX7IFkpYAWPmeSDxtIfwAsBfcWJN3ni5CY 25IOWkIGivPYJA0uHFNBUp35c/G0iYTakt4DY1MuCHflFGzugguEePHY+Vu2CKxLAjFp J3ZmBGY6/+5Z4rEPgWVdX1UEwAkvBCZ1G1zuAQu0z+SJiGnK7fTmMyLdgdDm8wi6UGne Cdh4YEx0jvHcPTK9u4UIUZmhQzMFoZSwy+SG4IkGOKvNoNrQRrj3FbfeQD7SyJJujU/M T9HJPmiiYpy3SNigeHCTqpnQ6orCvOXBTd8k+sG4aeEYDIpL5//nDkDulHNYEviaf3FE AUYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UfA/1MB8RCHraPM1ZZUmCBSUNYuUoVh3fP3DF148QbI=; b=1IqMLqxLJw1pbuEbGPWOqUerWYNzYHMsk8VqW+hUpXKnGNi76qVTaOsHR90i0fmWPI /xxA24mxMKH5VxoE5oHlgb9/xnBZllC9aVFh1c0ZY1/+VjdwjovZOve3TD9uvwKynbdh 38xsGnW5q7Z8lMGhhEWbT4qLReTVeTQwA+rAQH/enJbzB9qyaiBDQem/4y5QjnjXx0wP xa84c8MdUfG+5oELgK3dbZE1GsMO3P3s7+G/uuVxxC/Vg6y0Iubp1yOh7XGUqRUzKyiJ Wvw8FlzY0EhpAwqCdL+wuNkXsVCPU141URVxHKap52yC5kNG30CndPq3sU7v7TY1mFAk jGgQ== X-Gm-Message-State: ANoB5pnhf/OJR9yeJ1ufhruVz5xsw8edRefqDf8Ewda2dmGpShM96aBf FsnKiPABUNVt5iS2ERjkFwyBtSaF7YUfA/4= X-Received: from allenwebb.c.googlers.com ([fda3:e722:ac3:cc00:2b:ff92:c0a8:12e8]) (user=allenwebb job=sendgmr) by 2002:a6b:e719:0:b0:6e0:38cf:f538 with SMTP id b25-20020a6be719000000b006e038cff538mr6718031ioh.108.1671482784948; Mon, 19 Dec 2022 12:46:24 -0800 (PST) Date: Mon, 19 Dec 2022 14:46:11 -0600 In-Reply-To: <20221219204619.2205248-1-allenwebb@google.com> Mime-Version: 1.0 References: <20221219191855.2010466-1-allenwebb@google.com> <20221219204619.2205248-1-allenwebb@google.com> X-Mailer: git-send-email 2.39.0.314.g84b9a713c41-goog Message-ID: <20221219204619.2205248-4-allenwebb@google.com> Subject: [PATCH v9 03/10] scsi/BusLogic: Always include device id table From: Allen Webb To: "linux-modules@vger.kernel.org" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" Cc: Luis Chamberlain , Greg Kroah-Hartman , "Rafael J. Wysocki" , Allen Webb , kernel test robot X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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?1752671286495579543?= X-GMAIL-MSGID: =?utf-8?q?1752676811147150836?= A future patch makes use of the device table for built-in modules, so do not ifdef out the match id table. Reported-by: kernel test robot Signed-off-by: Allen Webb --- drivers/scsi/BusLogic.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/BusLogic.c b/drivers/scsi/BusLogic.c index f2abffce2659..0c60867c9e7c 100644 --- a/drivers/scsi/BusLogic.c +++ b/drivers/scsi/BusLogic.c @@ -3715,7 +3715,6 @@ static void __exit blogic_exit(void) __setup("BusLogic=", blogic_setup); -#ifdef MODULE /*static struct pci_device_id blogic_pci_tbl[] = { { PCI_VENDOR_ID_BUSLOGIC, PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, @@ -3731,7 +3730,6 @@ static const struct pci_device_id blogic_pci_tbl[] = { {PCI_DEVICE(PCI_VENDOR_ID_BUSLOGIC, PCI_DEVICE_ID_BUSLOGIC_FLASHPOINT)}, {0, }, }; -#endif MODULE_DEVICE_TABLE(pci, blogic_pci_tbl); module_init(blogic_init);