From patchwork Tue Jul 21 16:41:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 246938 Delivered-To: patch@linaro.org Received: by 2002:a54:2c11:0:0:0:0:0 with SMTP id g17csp2713027ecp; Tue, 21 Jul 2020 09:44:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWzJDspkSTK/+j53FHWahOKm5JFQ3ShMPIFpbePWAI4ewZZxCqiSVjWziYXspC7If8zvW2 X-Received: by 2002:aa7:c655:: with SMTP id z21mr26832484edr.330.1595349898489; Tue, 21 Jul 2020 09:44:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595349898; cv=none; d=google.com; s=arc-20160816; b=HD6mO7N8YVXhrZEITh1MosJvW2hnnzX4UkppjgRWQGm7lOpgXFcGHYs4Huv90vgrpY gE8965yoGvB1EkLais7/liWUK6+Z4Tv3VoSgqUroh9Xwq6uzT1mx6mwjtJpBDMJe08Xs cSNBoDxPh7ey6HKQji95Wy6EMXNHxLcuJSCANErYosxvRA73m9RNiPw3VPY7MsPcZpCY hzR66fqFomfKWdMxSo3fhc4MIgxkO0Gu345wguDHqjR66E3+S3ut0ujP9dk8KTWfdHy6 kyGSY8YFyd1IthrBCsJOb6hi60GM2RaoMlc/RyfjwoAST8lhIGV/90J7kBO55hl6tUmT sCUw== 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=jrvp4Bz5UjZdR7iMsUpWTUDT01MaTtGC3shuBGmqGX4=; b=FYhL9lFItn9tSv92jJ0LibKDAk2Dlga+1dkrLo3OTAh3Wz0lwQkypJSqF7sopOmNgj +tg3vmJCPjd8NRLoMHgtb187cqq3U2a/HhqiP5etz8RPBrOvu2JbQnz9YUEMBpB4MgaJ 0lHGLckUcrNK0gvlTLfsj9M+8U0wrDIHNDeWPhXQj4PcXBxQz11KVl4MuAh6wtmml9Rk 07+/hvLflscyBw/1LCu+oYvjW4C/VH0nW5LwYl4XERh0hcmv90zdbGisGQN4cp4ca0+E 9QYqaW5zKOo/pxbS46QMTe1D0TP3Y7/qJvsc//bCLUajJVjape4FwtxCFW0DIG+AwJEU GeDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cq2Bp7+9; 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 ni7si12494282ejb.725.2020.07.21.09.44.58 for ; Tue, 21 Jul 2020 09:44:58 -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=cq2Bp7+9; 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 S1730085AbgGUQlz (ORCPT ); Tue, 21 Jul 2020 12:41:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728281AbgGUQly (ORCPT ); Tue, 21 Jul 2020 12:41:54 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DE14C0619DA for ; Tue, 21 Jul 2020 09:41:54 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id o2so3548970wmh.2 for ; Tue, 21 Jul 2020 09:41:54 -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=jrvp4Bz5UjZdR7iMsUpWTUDT01MaTtGC3shuBGmqGX4=; b=cq2Bp7+9rqaPiy5mR4WAheJe9dB5/w6mx7Ww01A0+6be4T9ijK1oakrf2zcNFuIgKv SGcsaq/jIhei8ZKPDj63Sq6wfNxVIKPgjKh7ktng3nRGkYUxBL2SmBwZshlZ192ukxc0 Gd4oShMtvs0zcXOjRWQ7JlP77WgeYU45Q0+/mzTb4s03m8SHNHpDAhKIitVTPr1fYDCa uQs1XqOm1uVPvZP0co5dWrGEUBenKzzZ8rdfPuSbTe/Zwc3nJtTpI9hcA6ImQyX6HAGt ZxOeGQFTh06eDbDffF8O38AFZDaSN5NVSXFSQJ/+MYNK6zUdX4hBx8lhLVJu6UFvMKVh FkPw== 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=jrvp4Bz5UjZdR7iMsUpWTUDT01MaTtGC3shuBGmqGX4=; b=egG807Tm8cWfJyTAR0LvCmec/+BhZkLBkC87xu5BXpwNTJlRnTRKmf8C1RiAY+vqbH D2ChgxZyll2zr/767orR/pAP+FaMpCCPejXIBsiqP8QO++iM1EJarlsr7Cpzf0qeXHHn 5zs4E352AcFLWQBTL4FhwMBsdxhJtxSVn5rj+ZicB+gklv8dYow0mC8qQzgmrS9ikdct FiGt+w7L6vMqJfWrnCZ2/InpjDXLYA8qhy8I9UiMam1VYbp7trDQlQGe8Nx4kqYB7VmS 2p66K3Z9/S1f7+6k3x7ekhOeWP9Uill5wrB4cWIv8rISKKyVTPd3QpocDKR1b1w4rZQG lpdQ== X-Gm-Message-State: AOAM532+ggfamOdhlMGO84/nEqT3QcjHORlwnh0smgHaj9TrfLLG61Ee JFNcspKgdijR/OwHdUsq1Qf+NQ== X-Received: by 2002:a1c:3504:: with SMTP id c4mr4795113wma.177.1595349712779; Tue, 21 Jul 2020 09:41:52 -0700 (PDT) Received: from localhost.localdomain ([2.27.167.94]) by smtp.gmail.com with ESMTPSA id m4sm3933524wmi.48.2020.07.21.09.41.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 09:41:52 -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 00/40] Set 4: Next set of SCSI related W=1 warnings Date: Tue, 21 Jul 2020 17:41:08 +0100 Message-Id: <20200721164148.2617584-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@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. This brings the total of W=1 SCSI wanings from 1690 in v5.8-rc1 to 817. Lee Jones (40): scsi: arcmsr: arcmsr_hba: Remove statement with no effect scsi: aic7xxx: aic79xx_core: Remove a bunch of unused variables scsi: aacraid: sa: Add descriptions for missing parameters scsi: aacraid: rkt: Add missing description for 'dev' scsi: aacraid: nark: Add missing description for 'dev' scsi: aic94xx: aic94xx_dev: Fix a couple of kerneldoc formatting issues scsi: aacraid: src: Add descriptions for missing parameters scsi: aic94xx: aic94xx_tmf: Fix kerneldoc formatting issue with 'task' scsi: pm8001: pm8001_sas: Fix strncpy() warning scsi: pm8001: pm8001_sas: Mover function header and supply some missing parameter descriptions scsi: pm8001: pm8001_ctl: Add descriptions for unused 'attr' function parameters scsi: qla4xxx: ql4_init: Remove set but unused variable 'func_number' scsi: qla4xxx: ql4_init: Check return value of pci_set_mwi() scsi: qla4xxx: ql4_83xx: Move 'qla4_83xx_reg_tbl' from shared header scsi: aic7xxx: aic79xx_core: Remove set but unused variables 'targ_info' and 'value' scsi: pm8001: pm8001_hwi: Fix a bunch of kerneldoc issues scsi: pm8001: pm80xx_hwi: Fix some function documentation issues scsi: pm8001: pm8001_hwi: Remove a bunch of set but unused variables scsi: qla4xxx: ql4_nx: Move 'qla4_82xx_reg_tbl' to the only place its used scsi: lpfc: lpfc_sli: Remove unused variable 'pg_addr' scsi: qla4xxx: ql4_mbx: Fix-up incorrectly documented parameter scsi: qla4xxx: ql4_iocb: Fix incorrectly named function parameter scsi: lpfc: lpfc_sli: Fix-up around 120 documentation issues scsi: pm8001: pm8001_hwi: Remove unused variable 'value' scsi: pm8001: pm80xx_hwi: Staticify 'pm80xx_pci_mem_copy' and 'mpi_set_phy_profile_req' scsi: qla4xxx: ql4_os: Fix some kerneldoc parameter documentation issues scsi: qla4xxx: ql4_isr: Repair function documentation headers scsi: lpfc: lpfc_mem: Provide description for lpfc_mem_alloc()'s 'align' param scsi: qla4xxx: ql4_init: Document qla4xxx_process_ddb()'s 'conn_err' scsi: lpfc: lpfc_ct: Fix-up formatting/docrot where appropriate scsi: csiostor: csio_init: Fix misnamed function parameter scsi: qla4xxx: ql4_nx: Remove three set but unused variables scsi: qla4xxx: ql4_nx: Supply description for 'code' scsi: csiostor: csio_lnode: Demote kerneldoc that fails to meet the criteria scsi: bfa: bfad_bsg: Staticify all local functions scsi: lpfc: lpfc_sli: Ensure variable has the same stipulations as code using it scsi: sym53c8xx_2: sym_glue: Add missing description for 'pdev' scsi: sym53c8xx_2: sym_hipd: Ensure variable has the same stipulations as code using it scsi: mvsas: mv_init: Move 'core_nr' inside #ifdef and remove unused variable 'res_flag' scsi: cxgbi: cxgb3i: cxgb3i: Remove bad documentation and demote kerneldoc header drivers/scsi/aacraid/nark.c | 1 + drivers/scsi/aacraid/rkt.c | 5 +- drivers/scsi/aacraid/sa.c | 19 ++- drivers/scsi/aacraid/src.c | 13 +- drivers/scsi/aic7xxx/aic79xx_core.c | 20 +-- drivers/scsi/aic94xx/aic94xx_dev.c | 4 +- drivers/scsi/aic94xx/aic94xx_tmf.c | 2 +- drivers/scsi/arcmsr/arcmsr_hba.c | 3 - drivers/scsi/bfa/bfad_bsg.c | 222 ++++++++++++++-------------- drivers/scsi/csiostor/csio_init.c | 2 +- drivers/scsi/csiostor/csio_lnode.c | 3 +- drivers/scsi/cxgbi/cxgb3i/cxgb3i.c | 13 +- drivers/scsi/lpfc/lpfc_ct.c | 10 +- drivers/scsi/lpfc/lpfc_mem.c | 1 + drivers/scsi/lpfc/lpfc_sli.c | 125 ++++++++++------ drivers/scsi/mvsas/mv_init.c | 9 +- drivers/scsi/pm8001/pm8001_ctl.c | 9 +- drivers/scsi/pm8001/pm8001_hwi.c | 30 ++-- drivers/scsi/pm8001/pm8001_sas.c | 11 +- drivers/scsi/pm8001/pm80xx_hwi.c | 23 +-- drivers/scsi/qla4xxx/ql4_83xx.h | 17 --- drivers/scsi/qla4xxx/ql4_init.c | 6 +- drivers/scsi/qla4xxx/ql4_iocb.c | 2 +- drivers/scsi/qla4xxx/ql4_isr.c | 6 +- drivers/scsi/qla4xxx/ql4_mbx.c | 7 +- drivers/scsi/qla4xxx/ql4_nx.c | 18 +-- drivers/scsi/qla4xxx/ql4_nx.h | 17 --- drivers/scsi/qla4xxx/ql4_os.c | 58 ++++++-- drivers/scsi/sym53c8xx_2/sym_glue.c | 1 + drivers/scsi/sym53c8xx_2/sym_hipd.c | 8 + 30 files changed, 354 insertions(+), 311 deletions(-) -- 2.25.1