From patchwork Wed Mar 17 08:56:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 403044 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp283730jai; Wed, 17 Mar 2021 01:57:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxO/Vi5E6jrPu9X8kKIL20qcH3znrmCuCDUYZ1wdhvlD2lO829dfIYakqzFKRVzPTeJWTGu X-Received: by 2002:a17:906:4955:: with SMTP id f21mr35246462ejt.74.1615971471133; Wed, 17 Mar 2021 01:57:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615971471; cv=none; d=google.com; s=arc-20160816; b=dXSp0NCgensLfu8XGK/wy0gkoGZciILdX4gLZi48wUjBQ+ujtDt49oKs5oQdlYpk+O YmR5qAqsZkaZu1pNqEiRro3fO17rSsy+qrWw1bdgt3eTNTwdZwoW5XMcIgdGHTU/pTFx Hwv+1SUC3SotyYZdV9UI33BGwIMKvz4+J62wM4p2XOgjm+vo+x7Mklrjh1+n1M3N7wY6 NvqMC7POMCGq1i7HSBWrFJpet4i7jqNT+JYIEkamEJ/SLkGo5ovdWP7Fo3c3ViLflSXo c67z8MNxEd6+gv4Pz+srZTp/nbgZie0GAa5Cx9xA7ZqMev1iJPLe63HlUutWgmWgVjY1 K5VA== 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=8wVUxohbsfODPlJl3e1edTwvvrJeFWzCJfamwkCreXQ=; b=ZgUYkpTVAEaiWwIictOm/XO/4KwVqzKgFMvlp7aszjsAwsX8dspppLZACa4vKvrqAD dlaWxuAtDYVa5Y+JF7B9oQepzbcKYS5Rpv9yrpGH5/lNUIfmNurlY3FmlSuygG45hX9m KcAyMhkxct986VU94rLQoM3JXFwYOgnlmv73PTqtXq4LRq2SFf7ndFW56tqLgVD5zeK6 69NurnAJ1u8xntVDrzKn9HobnaWvu4jsfBEvxxbxJE5ESS9OuaHJEUEVTvpRuSdW+ChG cB5lpYIec/cV2kEU70C63Mpp9dWqKUceO5INeHYYibyHzAjnG5agnQBoLpuD4+OsLmqZ xeXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IYgLtZTY; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kd10si15492094ejc.41.2021.03.17.01.57.51 for ; Wed, 17 Mar 2021 01:57:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IYgLtZTY; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229578AbhCQI5R (ORCPT ); Wed, 17 Mar 2021 04:57:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229608AbhCQI5H (ORCPT ); Wed, 17 Mar 2021 04:57:07 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63001C06175F for ; Wed, 17 Mar 2021 01:57:07 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id t5-20020a1c77050000b029010e62cea9deso849415wmi.0 for ; Wed, 17 Mar 2021 01:57:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8wVUxohbsfODPlJl3e1edTwvvrJeFWzCJfamwkCreXQ=; b=IYgLtZTY7WoXHTe6XoxbNP9IG4gzinQ889fwNtBUHEwHJHDn6k7qtirS8GXP3SKz7I w3HBQ6W9vCxmK7fVqv3FBzzGZHOX3SVfoJWzx3Gv1u8L3g/DpAqI3xIyOtAvtoiBPU70 ps1ABIYnj6hrxqYGR2AGbyF7EH+klmkDnKa+aEcZrnbakW+kUy7lvKGksZQvN1yr1MHj RFO597U0OwGxuVBE0o3W60iIGe2Dd5VFEBYnRKtOK61GqUr6WZC8ixFskprN8M9T7fA5 73MGEIEijX6EJuk408gV+6NULmlapZcAU5huUAKTcdYATmJiEjCoSBJdTaQMjLS9fuJb 7cHw== 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:mime-version :content-transfer-encoding; bh=8wVUxohbsfODPlJl3e1edTwvvrJeFWzCJfamwkCreXQ=; b=p882+cH0ugSawtph+CkGPQi7hD+Y0ZtdhcD9Jqemkx5/yh03Cx1RH4VaEaqVgSVcPz 0YmKMA1Mo9DSmd9RSvUnInrhxXUsLRnclXb9kEBJkNOdaUcEZNGPddorHpbZRLiUE0AI O61Nklb9ZaDCvJT7pKJCy7LmOd+Psd1ATZzV6+fnV049vLksPt23UK5XEPWivOyS64Gq qACbNnsGE6CZBssyxnQ+4m9MDp+d68ZVDwxB9IShmnJvsasKNnTO/NykaAGiOfqSI380 6/kFFZwCT7gtdRmSCqXDmPo6qob0JqdVG6rxfvYoIXqhKXwTkL27zmymWBoiat2DN6v+ XumQ== X-Gm-Message-State: AOAM531kp5hLYKI8FZOFPZXWojrL1DZsYIW7UF9USH4eriH5REVCcNlF +2oSJEoqlPdauo3Oh9rJqhJysQ== X-Received: by 2002:a7b:c151:: with SMTP id z17mr2653536wmi.189.1615971426070; Wed, 17 Mar 2021 01:57:06 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id j123sm1807243wmb.1.2021.03.17.01.57.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Mar 2021 01:57:05 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Adam Radford , Alan Cox , Andre Hedrick , Anil Gurumurthy , Artur Paszkiewicz , Bas Vermeulen , Bradley Grove , Brian Macy , c by , Christoph Hellwig , David Chaw , de Melo , Doug Ledford , GOTO Masanori , gotom@debian.org, Hannes Reinecke , "James E.J. Bottomley" , Joel Jacobson , Khalid Aziz , "Leonard N. Zubkoff" , Linux GmbH , linux-scsi@vger.kernel.org, Luben Tuikov , "Martin K. Petersen" , MPT-FusionLinux.pdl@avagotech.com, MPT-FusionLinux.pdl@broadcom.com, Richard Hirst , Sathya Prakash , Sreekanth Reddy , Sudarsana Kalluru , Suganath Prabu Subramani , YOKOTA Hiroshi Subject: [PATCH 00/18] [Set 3] Rid W=1 warnings in SCSI Date: Wed, 17 Mar 2021 08:56:43 +0000 Message-Id: <20210317085701.2891231-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This set contains functional changes. This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. Lee Jones (18): scsi: aic94xx: aic94xx_dump: Remove code that has been unused for at least 13 years scsi: mpt3sas: mpt3sas_scs: Move a little data from the stack onto the heap scsi: bfa: bfa_fcs_lport: Move a large struct from the stack onto the heap scsi: esas2r: esas2r_log: Supply __printf(x, y) formatting for esas2r_log_master() scsi: BusLogic: Supply __printf(x, y) formatting for blogic_msg() scsi: nsp32: Supply __printf(x, y) formatting for nsp32_message() scsi: initio: Remove unused variable 'prev' scsi: a100u2w: Remove unused variable 'bios_phys' scsi: myrs: Remove a couple of unused 'status' variables scsi: 3w-xxxx: Remove 2 unused variables 'response_que_value' and 'tw_dev' scsi: 3w-9xxx: Remove a few set but unused variables scsi: 3w-sas: Remove unused variables 'sglist' and 'tw_dev' scsi: nsp32: Remove or exclude unused variables scsi: FlashPoint: Remove unused variable 'TID' from 'FlashPoint_AbortCCB()' scsi: sim710: Remove unused variable 'err' from sim710_init() scsi: isci: port: Make local function 'port_state_name()' static scsi: isci: remote_device: Make local function isci_remote_device_wait_for_resume_from_abort() static scsi: nsp32: Correct expected types in debug print formatting drivers/scsi/3w-9xxx.c | 14 +- drivers/scsi/3w-sas.c | 10 +- drivers/scsi/3w-xxxx.c | 6 +- drivers/scsi/BusLogic.c | 2 +- drivers/scsi/FlashPoint.c | 4 - drivers/scsi/a100u2w.c | 2 - drivers/scsi/aic94xx/aic94xx_dump.c | 184 --------------------------- drivers/scsi/bfa/bfa_fcs_lport.c | 20 ++- drivers/scsi/esas2r/esas2r_log.c | 7 + drivers/scsi/initio.c | 5 +- drivers/scsi/isci/port.c | 2 +- drivers/scsi/isci/remote_device.c | 2 +- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 38 ++++-- drivers/scsi/myrs.c | 6 +- drivers/scsi/nsp32.c | 31 ++--- drivers/scsi/sim710.c | 14 +- 16 files changed, 77 insertions(+), 270 deletions(-) Cc: Adam Radford Cc: Alan Cox Cc: Andre Hedrick Cc: Anil Gurumurthy Cc: Artur Paszkiewicz Cc: Bas Vermeulen Cc: Bradley Grove Cc: Brian Macy Cc: c by Cc: Christoph Hellwig Cc: David Chaw Cc: de Melo Cc: Doug Ledford Cc: GOTO Masanori Cc: gotom@debian.org Cc: Hannes Reinecke Cc: "James E.J. Bottomley" Cc: Joel Jacobson Cc: Khalid Aziz Cc: "Leonard N. Zubkoff" Cc: Linux GmbH Cc: linux-scsi@vger.kernel.org Cc: Luben Tuikov Cc: "Martin K. Petersen" Cc: MPT-FusionLinux.pdl@avagotech.com Cc: MPT-FusionLinux.pdl@broadcom.com Cc: Richard Hirst Cc: Sathya Prakash Cc: Sreekanth Reddy Cc: Sudarsana Kalluru Cc: Suganath Prabu Subramani Cc: YOKOTA Hiroshi -- 2.27.0