From patchwork Fri May 5 11:57:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 98625 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp81129qge; Fri, 5 May 2017 04:58:08 -0700 (PDT) X-Received: by 10.99.4.3 with SMTP id 3mr2865000pge.86.1493985488403; Fri, 05 May 2017 04:58:08 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m25si5435892pli.193.2017.05.05.04.58.08; Fri, 05 May 2017 04:58:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753170AbdEEL5z (ORCPT + 6 others); Fri, 5 May 2017 07:57:55 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:49540 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753134AbdEEL5y (ORCPT ); Fri, 5 May 2017 07:57:54 -0400 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0MEVGT-1dHrKZ3wxV-00Fg2W; Fri, 05 May 2017 13:57:35 +0200 From: Arnd Bergmann To: gregkh@linuxfoundation.org Cc: stable@vger.kernel.org, Arnd Bergmann , Hannes Reinecke Subject: [PATCH 6/9] [3.18-stable] scsi: advansys: remove #warning message Date: Fri, 5 May 2017 13:57:22 +0200 Message-Id: <20170505115725.1424772-7-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20170505115725.1424772-1-arnd@arndb.de> References: <20170505115725.1424772-1-arnd@arndb.de> X-Provags-ID: V03:K0:s93Wws0hl/82GGE3kxKP2uGepKwiSjYwds/IL7KLv+lOKj4NZDO IrclDTpvKV6kCVCSR+LSg7nc3nhfotaXU/9LrmMOcO7cYo9RDAlTtQOWi9y5PygZ0C+/ORh BMHgVdY+6n++Mac87OL/kFfRE2CdDLcls3kyyF4F4hB++wkJFeIN6TKdWIGweA7KoNWx7dp sJfhwd4ABePyu7c7pFSQw== X-UI-Out-Filterresults: notjunk:1; V01:K0:PXId3il6TMk=:rxk82nX8tHGJr6lSHUy8Rf l066HjR2fYXbMMQO9LzVKGqOZI4IMnCa67TMCRBBM7OkmdNZEvn44fvs/FBE7aCQKYD/OiSVZ nb9eiKSlt+ceeREAsxNqJZo1aU4OKlxUcZD7ssSuXA1jypvUIp79G44EWanplAKlnMGjN630g ARbnYPWXZsx5qtFmUoNT/5DA0i7+PszamlsH0e3Ea0yVWOT5TjPSofqfXKzQ/uTKxESliUErE sMmnRQapkJzBrXM8vnARfN6k3JFDzRFx9xnZ85xMzAheNDV8hFrzr57iGa6Ar4Qi8a+VTUiMa Vr/oSx1QcPTVxI3Lw8+U/8gpJ22LFSvaL15qMztEswa1ZosDE8p6zamJ2SIcxCZKo2JW2CktL VGoAdjQTaN01vksd7ly+xFK8pchLx37+EbCZnn+aZm7x3QDxaApz4h+5dM4EhvJIub72bJg37 uW7AdEdzvMTd0HA792uR+Kbfq/b/Z/VEt3buC+ZHrON5WTaPgAR2b9npK9h5kmDebVkI0OwoZ qW31qVM0NI/7YBQxy06UK5zuS4jKFyc0VYKBNPIzCUr67/w6ZDIxVOqgk06Ehh5mBGajgjKY+ ee5Qb2dgOky+Av4SJdwW6g9oJX3k4VaDp56wLVf1nvggiS52U2MDzU9ocmAVhZBvHRPgyV22V +mR5S9d4gddeyXrxoQrnqaJzrg4wwmzEgtj5CE3BoZbV8mBUdRMO2mFLPWVIucoVoe9A= Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org The advansys driver was converted to the proper DMA API in linux-4.2, but the 3.18-stable kernel still warns about this: drivers/scsi/advansys.c:71:2: warning: #warning this driver is still not properly converted to the DMA API [-Wcpp] The warning clearly is not helpful in 3.18 any more, it just clutters up the build log. This removes the warning instead, and clarifies the comment above it. Cc: Hannes Reinecke Signed-off-by: Arnd Bergmann --- drivers/scsi/advansys.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.9.0 diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c index 43761c1c46f0..620b04b7c13d 100644 --- a/drivers/scsi/advansys.c +++ b/drivers/scsi/advansys.c @@ -49,7 +49,7 @@ #include #include -/* FIXME: +/* Fixed in linux-4.2, not backported to 3.18: * * 1. Although all of the necessary command mapping places have the * appropriate dma_map.. APIs, the driver still processes its internal @@ -68,7 +68,6 @@ * 7. advansys_info is not safe against multiple simultaneous callers * 8. Add module_param to override ISA/VLB ioport array */ -#warning this driver is still not properly converted to the DMA API /* Enable driver /proc statistics. */ #define ADVANSYS_STATS