From patchwork Tue Nov 5 08:56:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 11227175 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 199781599 for ; Tue, 5 Nov 2019 08:56:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EB16E217F4 for ; Tue, 5 Nov 2019 08:56:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572944198; bh=bxxJ3At97W9ejJeVHBTKeg1vHlHOi0dxLZJ2xX1raco=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=DO0sFyUqjCoJKhYK6QZbDMXACYYrOoab0eoLHltStEdY3g3CvEP9eX4vqPvJTS+tY YRkFStgY+vx36+7LnrKNooKwPz86drmnq/xDLWc2NCiZE0hSHKSV+COEJBL2UhpM1c zb5US/lbmQr0fbFTriyg5pPXdWpGRH16mbHGjHFA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730631AbfKEI4f (ORCPT ); Tue, 5 Nov 2019 03:56:35 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:34574 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730433AbfKEI4e (ORCPT ); Tue, 5 Nov 2019 03:56:34 -0500 Received: by mail-lf1-f67.google.com with SMTP id f5so14494234lfp.1; Tue, 05 Nov 2019 00:56:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7bb9D4WPcQK27Aximq7MEMFrCEKcoamLe8wArju1HWY=; b=LE9zZqSaU5KDi7ReRVRuDC/KdfJijXssH/mMo7WDexrprVddk6cTBCU9CdS8ILi2Kl 23RFZj1zC2QzT+euZEClL8Xa1x+W82qLYIEj3EjeP7yJumnH0oKPcRvzfLFyRGtkh+bx wBiROE69LzBbAqTjPOLfScnOVWSEsYgLZb9rOKeWgYNuMGhK1xBfmDW73CWoEodiWi4y MOgDkw6ArHFb8d7fKTMPNLWgdjbd239syuRYKtazGp3oX0cQEgiWw9wT/OXRnFg0dzjl 6WsdtAjX7pV66jNGouOfaSXHBlHKMwMcMprfP58cFbz432n3K2Sj7Qv/fHBTFZCm45uy eo+w== X-Gm-Message-State: APjAAAWDeEjc6wTU0gSIo/lS/VPzRNNejNQbd43/mAwMxDQ6zwPrVwm3 QNKgFEyY2b5IdmgdbmPoJtQ= X-Google-Smtp-Source: APXvYqyVqua2p1bwHqX4uNUl6tgjGR8fZ/v8HunB5j+94A3HEw1xGg4GxSpf3aehL05R4tj1c3lAgQ== X-Received: by 2002:a19:8196:: with SMTP id c144mr19349235lfd.129.1572944192326; Tue, 05 Nov 2019 00:56:32 -0800 (PST) Received: from xi.terra (c-51f1e055.07-184-6d6c6d4.bbcust.telenor.se. [85.224.241.81]) by smtp.gmail.com with ESMTPSA id z26sm8344171lfg.94.2019.11.05.00.56.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2019 00:56:30 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.92.3) (envelope-from ) id 1iRuda-0000cm-Gq; Tue, 05 Nov 2019 09:56:30 +0100 From: Johan Hovold To: "James E.J. Bottomley" , "Martin K. Petersen" Cc: YOKOTA Hiroshi , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 1/2] scsi: nsp_cs: drop redundant MODULE_LICENSE ifdef Date: Tue, 5 Nov 2019 09:56:08 +0100 Message-Id: <20191105085609.2338-2-johan@kernel.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191105085609.2338-1-johan@kernel.org> References: <20191105085609.2338-1-johan@kernel.org> MIME-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org The MODULE_LICENSE macro is unconditionally defined in module.h, no need to ifdef its use. Signed-off-by: Johan Hovold --- drivers/scsi/pcmcia/nsp_cs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/pcmcia/nsp_cs.c b/drivers/scsi/pcmcia/nsp_cs.c index 97416e1dcc5b..93616f9fd6d7 100644 --- a/drivers/scsi/pcmcia/nsp_cs.c +++ b/drivers/scsi/pcmcia/nsp_cs.c @@ -56,9 +56,7 @@ MODULE_AUTHOR("YOKOTA Hiroshi "); MODULE_DESCRIPTION("WorkBit NinjaSCSI-3 / NinjaSCSI-32Bi(16bit) PCMCIA SCSI host adapter module"); MODULE_SUPPORTED_DEVICE("sd,sr,sg,st"); -#ifdef MODULE_LICENSE MODULE_LICENSE("GPL"); -#endif #include "nsp_io.h" From patchwork Tue Nov 5 08:56:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 11227177 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 27E9D16B1 for ; Tue, 5 Nov 2019 08:56:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0626E217F4 for ; Tue, 5 Nov 2019 08:56:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572944201; bh=zPVocWgcmNtLn7J4Nb0o01WbIi+yMXtmtX6i++56S5Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=CdyfSFQ1KrT7qshfDlwNPkxi9BYuYrQ+jnBVVsarW0yn2ylKm7TrGzIMGkubsfUtJ JVTVbmRmIVFo+ACDlWnqWIyGCj1bpT2OEqx630dXNS90NO2mMccgRt0Q2XYQ4Wleoh +jGC6yLpORtMTsNhBgaPS6USCPl5802DCa+WUyVY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730652AbfKEI4i (ORCPT ); Tue, 5 Nov 2019 03:56:38 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:38524 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730509AbfKEI4e (ORCPT ); Tue, 5 Nov 2019 03:56:34 -0500 Received: by mail-lj1-f195.google.com with SMTP id v8so5196411ljh.5; Tue, 05 Nov 2019 00:56:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2pyiXXQ0QGXnUOP7x/bsC4CyQrXr0SrmnmYPxign9yQ=; b=LPgInKWbQuaDrEnZ9qn5tZBohPsQ1Uw0MCrD9OK+g8oasGBeKe2qtzCWv6nbVYB0hU oN7p5fnkiOaByQS14ZTQxPsHEjeejG6PM6zpd9XvlplDYDvYxg1xZaWhhjB/StPeI+7s daTBpG67J5kzR9HH9aHeVHk9zF+IsWs+aUuKShC6NxhaNZWjSYYSh7CmNDRx9piI04em a6VxEE6v5s4aQkD78fZWfBah/UJMPq8k9ZIjvXXFf6YfCKqeqiRtSlwGyVyh8Vjroflp clzMn94l2vZjd9oU7085iyE1rDxK8iERgs+Rxj0edKjdb9SPrw4h9crJEJfoHzFAcPk2 1Bdg== X-Gm-Message-State: APjAAAUXtSIYVG+u+wWz9AwDAqZ+YhPr06zv5tKImnJ3Yh0MQqt90hoL 7xiCdcGQBplwgSesZ5lEoBE= X-Google-Smtp-Source: APXvYqwmoXMmxJlEfNsFQArnDhO/sV6Z1d/d/GSLyJVNsQHWOdlNPnvKuD76pnoQiIgaTYTgUbpR2w== X-Received: by 2002:a2e:b053:: with SMTP id d19mr1848380ljl.36.1572944192740; Tue, 05 Nov 2019 00:56:32 -0800 (PST) Received: from xi.terra (c-51f1e055.07-184-6d6c6d4.bbcust.telenor.se. [85.224.241.81]) by smtp.gmail.com with ESMTPSA id z17sm2368342ljz.30.2019.11.05.00.56.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Nov 2019 00:56:30 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.92.3) (envelope-from ) id 1iRuda-0000cr-JK; Tue, 05 Nov 2019 09:56:30 +0100 From: Johan Hovold To: "James E.J. Bottomley" , "Martin K. Petersen" Cc: YOKOTA Hiroshi , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 2/2] scsi: nsp_cs: enable compile-testing on 64-bit Date: Tue, 5 Nov 2019 09:56:09 +0100 Message-Id: <20191105085609.2338-3-johan@kernel.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191105085609.2338-1-johan@kernel.org> References: <20191105085609.2338-1-johan@kernel.org> MIME-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org For some reason this driver depends on !64BIT, but it can still be useful to allow compile-testing on 64-bit machines. Signed-off-by: Johan Hovold --- drivers/scsi/pcmcia/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/pcmcia/Kconfig b/drivers/scsi/pcmcia/Kconfig index 2368f34efba3..dc9b74c9348a 100644 --- a/drivers/scsi/pcmcia/Kconfig +++ b/drivers/scsi/pcmcia/Kconfig @@ -32,7 +32,7 @@ config PCMCIA_FDOMAIN config PCMCIA_NINJA_SCSI tristate "NinjaSCSI-3 / NinjaSCSI-32Bi (16bit) PCMCIA support" - depends on !64BIT + depends on !64BIT || COMPILE_TEST help If you intend to attach this type of PCMCIA SCSI host adapter to your computer, say Y here and read