Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp794675ybh; Mon, 13 Jul 2020 01:03:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxh2eTUfR0cK6wzb/co68B/zQfrtPBWq3ueiUjxRP9JVmm93b5yw0cqlHKr/WwLQjYMWgnB X-Received: by 2002:a17:906:1254:: with SMTP id u20mr54510786eja.540.1594627411816; Mon, 13 Jul 2020 01:03:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594627411; cv=none; d=google.com; s=arc-20160816; b=Xv/guJz0M0qlI/NbC2oq6at4Uq7TwvtuuSEjRj4yzMT4CKpfIkzzguO0NkMl9FtCtj EcFqLoFNRIhK6yXByiA06bsKBEUSIUzuWxGhDNeSAAoLolI02sVAQcIHvTOBQx699D7Q +twrvPfNVCrYIb/n8YizJ5gxRA9gLiKktU7rqvPAEOVFNdE+lTu1YfAKllexgCzRGObK VFymvk4JJQCWlA8roFzEyNrtrJmuEvoWCT5U2esWAlqYfaSgbAQbXmA7lqsbnDVTJrd3 IfU6QLvVFiizUpV2e2EapDq+UD9B9rzANNZLTXbLLstNek9zyBpdqCoAFLvqqa4ZSSzQ Scxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=g0025PyTY/eWJewtXJ8I/jkg/HPx62AopbKf5qsThd0=; b=A+3AbFz/mdXnZcBAwLnSJHq30E8mQKxKMhBqHQIgvpJTdM6DBDPHoohEBCqlNPiwvK sX35VpYXtYdyhzOyThXeajKYh731PuJKtL5ClS40ffhGir1jQkS+dDInXTLN4Ax0qpnm esMCTwc//5wdDhRJg7QNtTQokRcZu/BLtp8SVx4fOPWKCLJn/KkLm3d7gbPeq21FyL0q YLdRzMPPZs6VV2lXZWrzZKubiWcKz75W0O54pBR0zTc0s/nmxDsdTGFhNNFaN9nCNUtd ac0Nfm7u+WEtMnl5LdGRlgKP3kqWI/hwx8vnHeyXlpMDNhvSawZt/dM/DVlNKhSGmdAO iQNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=shosgGIq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 h17si8146799ejl.514.2020.07.13.01.03.09; Mon, 13 Jul 2020 01:03:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=shosgGIq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1727035AbgGMIAK (ORCPT + 99 others); Mon, 13 Jul 2020 04:00:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725985AbgGMIAK (ORCPT ); Mon, 13 Jul 2020 04:00:10 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F362DC061794 for ; Mon, 13 Jul 2020 01:00:09 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id s10so14700859wrw.12 for ; Mon, 13 Jul 2020 01:00:09 -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=g0025PyTY/eWJewtXJ8I/jkg/HPx62AopbKf5qsThd0=; b=shosgGIqEV5Mi43/el0Qv3n5SrwGOeatsv60Jx9hdx9avXnYhxdW+EndMvsg1rCMjv shGen7E57TNPkoGMqud+THaV6Pxm5a1cFSN6eJHKBEgy7yv4jFRHSFf7f/eI9o8m9zNx fQ6UB5BXKUASSQZX4ijyMpS7qqQ7EtQqCB4U4PFCY5Z3UAtutQ3ZPu9eccfAugAxDvzy A7cVnIeVlLgB7VEEpche2qEH/rMQNUvpv+jsED0gn2TRhxSWffJUk5M/R2dbASwUvjaF X1lLwy4wo3Bv//etcDgghdkUqRB+Xy1/GjvCTbSuCMnajegNbsvInGm5DwUue+WQJFea 0ZXQ== 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=g0025PyTY/eWJewtXJ8I/jkg/HPx62AopbKf5qsThd0=; b=iorK9MjoTQCwwdEH+k3ygkpNWblBV5lOtwhOY4yqKQIOKfPInCoJJ4T7YgdIPiKJ8O TpjEwnx7SNJlGgN48VTcPb/rltqdNQisLxEySjKMrLJGCNXUriOOJgYjTcEudCmElNG7 Ra+SaYr2IHc5Ivhk1XYH8inx3WbucOVfe/olDs1V//vv7Wy50upnhxdIwP2fPctGhgpU g3OjXjhl6g+NZ2N+PkEE2zuh2UO6XwN+IJ8VCIZ+CwlejiXjMCuaTKiWVdo3C+D8NEef SO08LOq/hCDVBOVMBIAQdZC5bxjDQiV+CTtS2WHxsZ7HaKy9eCDBelyMSS1uc5aaTP5u d1Zw== X-Gm-Message-State: AOAM530+pA9gDw4Q/QzJbYFOOgK02eUe++d3ViT0bsmMpxeTXUfNdyo+ /vCltqmqg6ggdQgecc96hXcVDA== X-Received: by 2002:a5d:464e:: with SMTP id j14mr78277009wrs.393.1594627207673; Mon, 13 Jul 2020 01:00:07 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.6]) by smtp.gmail.com with ESMTPSA id 33sm24383549wri.16.2020.07.13.01.00.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2020 01:00:06 -0700 (PDT) From: Lee Jones To: jejb@linux.ibm.com, martin.petersen@oracle.com Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, Lee Jones Subject: [PATCH v2 00/24] Set 3: Fix another set of SCSI related W=1 warnings Date: Mon, 13 Jul 2020 08:59:37 +0100 Message-Id: <20200713080001.128044-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Slowly working through the SCSI related ones. There are many. This brings the total of W=1 SCSI wanings from 1690 in v5.8-rc1 to 1109. Changelog: v1 => v2 - Collected *-bys - Removed inert function-calls when removing unused variables - As suggested by James Bottomley Lee Jones (24): scsi: aacraid: aachba: Repair two kerneldoc headers scsi: aacraid: commctrl: Fix a few kerneldoc issues scsi: aacraid: dpcsup: Fix logical bug when !DBG scsi: aacraid: dpcsup: Remove unused variable 'status' scsi: aacraid: dpcsup: Demote partially documented function header scsi: aic94xx: aic94xx_seq: Document 'lseq' and repair asd_update_port_links() header scsi: aacraid: commsup: Fix a bunch of function header issues scsi: aic94xx: aic94xx_scb: Fix a couple of formatting and bitrot issues scsi: aacraid: rx: Fill in the very parameter descriptions for rx_sync_cmd() scsi: pm8001: pm8001_ctl: Provide descriptions for the many undocumented 'attr's scsi: ipr: Fix a mountain of kerneldoc misdemeanours scsi: virtio_scsi: Demote seemingly unintentional kerneldoc header scsi: ipr: Remove a bunch of set but checked variables scsi: ipr: Fix struct packed-not-aligned issues scsi: myrs: Demote obvious misuse of kerneldoc to standard comment blocks scsi: megaraid: Fix a whole bunch of function header formatting issues scsi: be2iscsi: be_iscsi: Fix API/documentation slip scsi: be2iscsi: be_main: Fix misdocumentation of 'pcontext' scsi: be2iscsi: be_mgmt: Add missing function parameter description scsi: lpfc: lpfc_nvme: Correct some pretty obvious misdocumentation scsi: aic7xxx: aic79xx_osm: Remove unused variable 'ahd' scsi: aic7xxx: aic79xx_osm: Remove unused variables 'wait' and 'paused' scsi: aic7xxx: aic79xx_osm: Fix 'amount_xferred' set but not used issue scsi: aic7xxx: aic79xx_osm: Remove set but unused variabes 'saved_scsiid' and 'saved_modes' drivers/scsi/aacraid/aachba.c | 5 +- drivers/scsi/aacraid/commctrl.c | 14 +- drivers/scsi/aacraid/commsup.c | 12 +- drivers/scsi/aacraid/dpcsup.c | 15 +- drivers/scsi/aacraid/rx.c | 12 +- drivers/scsi/aic7xxx/aic79xx_osm.c | 14 +- drivers/scsi/aic94xx/aic94xx_scb.c | 6 +- drivers/scsi/aic94xx/aic94xx_seq.c | 6 +- drivers/scsi/be2iscsi/be_iscsi.c | 11 +- drivers/scsi/be2iscsi/be_main.c | 4 +- drivers/scsi/be2iscsi/be_mgmt.c | 3 +- drivers/scsi/ipr.c | 90 +++++++----- drivers/scsi/ipr.h | 4 +- drivers/scsi/lpfc/lpfc_nvme.c | 38 +++-- drivers/scsi/megaraid.c | 218 ++++++++++++++--------------- drivers/scsi/myrs.c | 34 ++--- drivers/scsi/pm8001/pm8001_ctl.c | 14 ++ drivers/scsi/virtio_scsi.c | 2 +- 18 files changed, 273 insertions(+), 229 deletions(-) -- 2.25.1