From patchwork Wed Mar 3 14:46:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115151 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 798A4C433DB for ; Thu, 4 Mar 2021 00:33:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4B1EF64EBA for ; Thu, 4 Mar 2021 00:33:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352003AbhCDAdJ (ORCPT ); Wed, 3 Mar 2021 19:33:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244746AbhCCPLo (ORCPT ); Wed, 3 Mar 2021 10:11:44 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43225C0613DB for ; Wed, 3 Mar 2021 06:46:39 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id w11so23945017wrr.10 for ; Wed, 03 Mar 2021 06:46:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hMTcPdE33rA73xW40/obaAvyxI/BmbG2/vcK9AyPiS4=; b=mS2POgFSLO40xsinsRY3MMKCXhGYf1A11/5sMXF7zxv2nHlnPJxPysD4ylhjcVQ8kh A70Rm6aFdiUirop6xa9cLvaG4VrN+ecdZILgN87YY9sv0v/j4QVQzM8TtV+h6oO7EqZB XFJ4x/veAixASCCXlr0osy5PY7oAItmTxoctKYBtzd14H7Ygkbvs7OKeS6cDVEb+A9Xd XaMYTl7lk7IkPQ4aR8UfeoPG8uQ2Vs155Fb9cJiUhsa2HIx4JyJ9UoVC0ZEExucHkKPO qLN1J3tzCBRWDx0MEfydPpm5vmIphA+ukdogi4hfk3l7B507yhLQTFHHhA+uMBzE/vqZ SNWw== 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=hMTcPdE33rA73xW40/obaAvyxI/BmbG2/vcK9AyPiS4=; b=elF2QoPLF/eTqjqrv5v6irzsrVgZ1+GIlONm2HcFRUVyQQAv7g7wy2HwdkPCAEnqnz 4MHTsx/QmeyXsGgIl5wMb4Cf/8hLPTtBdQNb/QctU1PCjzAUIC+vCnEv+IsPhNO3gcyl xk+hig71g0lDONuCC2/nCbUAAtP1yE6PmseMX+88cQfS6F4gcAw23x88RbFcFXw0ArkW 7kthpNzqtzS5G1l2nf1wISgRryheRyOQ6Yol/qSaameeYiZIyDG86AdZXOQjV80aS3GY yYbipyVkjdx65jGQ96QjUPSB92tzNYQf8P55eMwV76PyBaZHIJs2NyjEZ2ZLtRE2OPY+ uzZA== X-Gm-Message-State: AOAM532EHR4K5RY0d0Cr0z5m0TpcocDvlMAGqM5WK7UJW9kl+7+Y0RZZ p9wTbCdzktSwLsKiigW2SK1ArQ== X-Google-Smtp-Source: ABdhPJxzl2S/6mPsCSWDdqebFn02H0GPE34h99eBG9YNUF/tAqgELGiZ7hv7lNiNulAIUzRwM1GR+Q== X-Received: by 2002:adf:8445:: with SMTP id 63mr28128128wrf.222.1614782797914; Wed, 03 Mar 2021 06:46:37 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.46.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:46:36 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Kashyap Desai , Sumit Saxena , Shivasharan S , "James E.J. Bottomley" , "Martin K. Petersen" , megaraidlinux.pdl@broadcom.com, linux-scsi@vger.kernel.org Subject: [PATCH 01/30] scsi: megaraid: megaraid_mm: Fix incorrect function name in header Date: Wed, 3 Mar 2021 14:46:02 +0000 Message-Id: <20210303144631.3175331-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/megaraid/megaraid_mm.c:505: warning: expecting prototype for mraid_mm_attch_buf(). Prototype was for mraid_mm_attach_buf() instead Cc: Kashyap Desai Cc: Sumit Saxena Cc: Shivasharan S Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: megaraidlinux.pdl@broadcom.com Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/megaraid/megaraid_mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/megaraid/megaraid_mm.c b/drivers/scsi/megaraid/megaraid_mm.c index 8df53446641ac..abf7b401f5b90 100644 --- a/drivers/scsi/megaraid/megaraid_mm.c +++ b/drivers/scsi/megaraid/megaraid_mm.c @@ -490,7 +490,7 @@ mimd_to_kioc(mimd_t __user *umimd, mraid_mmadp_t *adp, uioc_t *kioc) } /** - * mraid_mm_attch_buf - Attach a free dma buffer for required size + * mraid_mm_attach_buf - Attach a free dma buffer for required size * @adp : Adapter softstate * @kioc : kioc that the buffer needs to be attached to * @xferlen : required length for buffer From patchwork Wed Mar 3 14:46:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115149 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4B88C433E0 for ; Thu, 4 Mar 2021 00:33:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BBABE64EEC for ; Thu, 4 Mar 2021 00:33:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355715AbhCDAdI (ORCPT ); Wed, 3 Mar 2021 19:33:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244781AbhCCPLo (ORCPT ); Wed, 3 Mar 2021 10:11:44 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0DBCC0613DC for ; Wed, 3 Mar 2021 06:46:40 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id h98so23950385wrh.11 for ; Wed, 03 Mar 2021 06:46:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VTZlxPdC6tOaR4YW3uOVh3ivUP3wQLpmLCn/3aAS9PY=; b=fHCmsZu4raHnHQdTB+i+6PySCzKOYbYFaifk/WckOWyAjgve29tbXBa6Be1cQrc79F ngac8XpdaE5Xc/hEzofa3UtRMpHDeMyWg2ICUo55hs/OrXdsWXl+RPwfY7SxGK43DEIB ruf2LppCaWuY4eex3GF1A2DIRzdRoU0iB5wPAbz3jXoHo6HnTmIELcLYC+FXNjexOszd imO6OZKqdmR9vNwMrfiYslj570x1ajiD8NrE7bGNw3cbBAbVxxV4IGh+2NW83K8poJwu fExiuIhrUERigsEzlhnAItndOI0rU2shY/RBOczE/4U00yrLbWMuwAtg9RbeZSF8lG5m biHQ== 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=VTZlxPdC6tOaR4YW3uOVh3ivUP3wQLpmLCn/3aAS9PY=; b=uP3B85Mtt/RUD51w5qz6YbGzjU+jeK25oETA96yYEdXyIIsr4POsn6do6igFPlUX7Q vvv8+Q1NmN1E+f/3+wgwHR3+5I5KnVBIMFtC2LbHvKofpYr+XG8Gqj09jcU8WSt8zKDw MNzI2Zffcp63jq8I710IEkrL/n8UpLX2AK1Toim1XlymySTnt9pTG+xbdBO+BZedQBO8 GcuSllWqu5NARolPODk9uA8KvitGSbGhfVvtRg9VMaSh9ORj8NwUo5FE0LEWJZ+S/HyU lxmhJl+t33t0s70squTrbco2GpkdYvdG7FP5zlFzfiorSrfJJ/+sroCwV5YUzEnO4uxf G1XA== X-Gm-Message-State: AOAM5303Z7r/9B8GLajQvC3nirRhm4cXDihB+Y0xa8Nti8Esa9oY9OGa 9daywWXBE8F58SQlEJkCEOQ/bg== X-Google-Smtp-Source: ABdhPJyFhsQoQvy6uw89GqgZ4zZnoNULvP5/4EAZhI7MUnzj4Z1DHvRJ1ti+fxtn80e4nur4abD8HQ== X-Received: by 2002:adf:a2d3:: with SMTP id t19mr27314761wra.299.1614782799353; Wed, 03 Mar 2021 06:46:39 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.46.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:46:38 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Kashyap Desai , Sumit Saxena , Shivasharan S , "James E.J. Bottomley" , "Martin K. Petersen" , megaraidlinux.pdl@broadcom.com, linux-scsi@vger.kernel.org Subject: [PATCH 02/30] scsi: megaraid: megaraid_sas_base: Fix a bunch of misnamed functions in their headers Date: Wed, 3 Mar 2021 14:46:03 +0000 Message-Id: <20210303144631.3175331-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/megaraid/megaraid_sas_base.c:483: warning: expecting prototype for megasas_clear_interrupt_xscale(). Prototype was for megasas_clear_intr_xscale() instead drivers/scsi/megaraid/megaraid_sas_base.c:666: warning: expecting prototype for megasas_clear_interrupt_ppc(). Prototype was for megasas_clear_intr_ppc() instead drivers/scsi/megaraid/megaraid_sas_base.c:795: warning: expecting prototype for megasas_clear_interrupt_skinny(). Prototype was for megasas_clear_intr_skinny() instead drivers/scsi/megaraid/megaraid_sas_base.c:943: warning: expecting prototype for megasas_clear_interrupt_gen2(). Prototype was for megasas_clear_intr_gen2() instead drivers/scsi/megaraid/megaraid_sas_base.c:4902: warning: expecting prototype for opcode(). Prototype was for megasas_host_device_list_query() instead drivers/scsi/megaraid/megaraid_sas_base.c:5173: warning: expecting prototype for megasas_get_controller_info(). Prototype was for megasas_get_ctrl_info() instead Cc: Kashyap Desai Cc: Sumit Saxena Cc: Shivasharan S Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: megaraidlinux.pdl@broadcom.com Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/megaraid/megaraid_sas_base.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index 63a4f48bdc755..7f5fb714347e3 100644 --- a/drivers/scsi/megaraid/megaraid_sas_base.c +++ b/drivers/scsi/megaraid/megaraid_sas_base.c @@ -475,7 +475,7 @@ megasas_read_fw_status_reg_xscale(struct megasas_instance *instance) return readl(&instance->reg_set->outbound_msg_0); } /** - * megasas_clear_interrupt_xscale - Check & clear interrupt + * megasas_clear_intr_xscale - Check & clear interrupt * @instance: Adapter soft state */ static int @@ -658,7 +658,7 @@ megasas_read_fw_status_reg_ppc(struct megasas_instance *instance) } /** - * megasas_clear_interrupt_ppc - Check & clear interrupt + * megasas_clear_intr_ppc - Check & clear interrupt * @instance: Adapter soft state */ static int @@ -787,7 +787,7 @@ megasas_read_fw_status_reg_skinny(struct megasas_instance *instance) } /** - * megasas_clear_interrupt_skinny - Check & clear interrupt + * megasas_clear_intr_skinny - Check & clear interrupt * @instance: Adapter soft state */ static int @@ -935,7 +935,7 @@ megasas_read_fw_status_reg_gen2(struct megasas_instance *instance) } /** - * megasas_clear_interrupt_gen2 - Check & clear interrupt + * megasas_clear_intr_gen2 - Check & clear interrupt * @instance: Adapter soft state */ static int @@ -4884,6 +4884,7 @@ megasas_ld_list_query(struct megasas_instance *instance, u8 query_type) } /** + * megasas_host_device_list_query * dcmd.opcode - MR_DCMD_CTRL_DEVICE_LIST_GET * dcmd.mbox - reserved * dcmd.sge IN - ptr to return MR_HOST_DEVICE_LIST structure @@ -5161,7 +5162,7 @@ void megasas_get_snapdump_properties(struct megasas_instance *instance) } /** - * megasas_get_controller_info - Returns FW's controller structure + * megasas_get_ctrl_info - Returns FW's controller structure * @instance: Adapter soft state * * Issues an internal command (DCMD) to get the FW's controller structure. From patchwork Wed Mar 3 14:46:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115145 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7B2CC433DB for ; Thu, 4 Mar 2021 00:33:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 908C764EE3 for ; Thu, 4 Mar 2021 00:33:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355707AbhCDAdA (ORCPT ); Wed, 3 Mar 2021 19:33:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244719AbhCCO6a (ORCPT ); Wed, 3 Mar 2021 09:58:30 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1FA1C0613DE for ; Wed, 3 Mar 2021 06:46:42 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id u16so5966950wrt.1 for ; Wed, 03 Mar 2021 06:46:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WNQAPxGMnqLL7g3LltPLuvKvyAOeTz8LyxGMxNVsyHE=; b=sVSVp9AxBtfr9XnMsMLHY+Za2AdiIrWKn4fsk+8hYwtrvDV7QnyEYYyptJ4Kbctavg 2Mr1ByDFM+WvEJr2kRUwFcR5jblcTFpP3XzGbNKLX8R6J0QAmgVJEPr9qSxdV8r8Sja4 Rjggve1rDqlK8Bj9wf+F7imYLbeOMy8RnVijKXgyP5LACWRkPa35nfeARfMcIwleM1XY BUHCKHOrzAl5Qvzz2Yca8DjZa1EQTJCWVeZF3KBvmvMKkuVkVDzyucKx/dEMNzpGHsno goFv0W4F+yAE2kxqNHDYMaABbhaf71ehoTFQOBCH+Ly3U1Lq4xmQIOmdcT/8MvJldPdx /Tqg== 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=WNQAPxGMnqLL7g3LltPLuvKvyAOeTz8LyxGMxNVsyHE=; b=Mo1NdsQc4KXweYk/8FxPXoBaIE+g/lOL+3LBLvS/rwD19dJ+5c9K2IGIaa/454hRnu O/p5pf75Lxn5KCEzRa/SLV4S5+J9dtT08ucb2zZmFtINzQ1zIVMT1vfJHu/hJJeUea0J 4Q/0ijYfhVyEEHn4e5wplG9AwdEXPCmcQmxpFtsYCP2d1Keum4YHeR5o8PFWFckypK1Q 0QpWs5FTH1nBAEcgSbzA4DtAIBZ5XDjMsKrm9ofjANNh5WlqmRcdvZAaHg66tHgjQmtW pzAnacj5esyf3iGcGqa/lr2AfebpxxRH49VOFSoH6FD9VkUWHsBl1lhjI/XXO4RwTA5N TK4A== X-Gm-Message-State: AOAM530U1zLOXMI13KV7TyYlaS46BMurwHHNU9p3EatZKdf3DLVNhGJ9 S1X3D2yt3+t7hL+WcfCqQFPENw== X-Google-Smtp-Source: ABdhPJwz7Cbb5q6oZiB21g3fYOlbJ9E2LU3Ob3H595o8I3XgXxqkikxXdx4eIh6JmOjiR51ogLMcIA== X-Received: by 2002:adf:c101:: with SMTP id r1mr27898465wre.38.1614782801291; Wed, 03 Mar 2021 06:46:41 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.46.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:46:40 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Hannes Reinecke , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 03/30] scsi: fcoe: Fix function name fcoe_set_vport_symbolic_name() in description Date: Wed, 3 Mar 2021 14:46:04 +0000 Message-Id: <20210303144631.3175331-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/fcoe/fcoe.c:2782: warning: expecting prototype for fcoe_vport_set_symbolic_name(). Prototype was for fcoe_set_vport_symbolic_name() instead Cc: Hannes Reinecke Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/fcoe/fcoe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index 03bf49adaafe6..89ec735929c3e 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c @@ -2771,7 +2771,7 @@ static int fcoe_vport_disable(struct fc_vport *vport, bool disable) } /** - * fcoe_vport_set_symbolic_name() - append vport string to symbolic name + * fcoe_set_vport_symbolic_name() - append vport string to symbolic name * @vport: fc_vport with a new symbolic name string * * After generating a new symbolic name string, a new RSPN_ID request is From patchwork Wed Mar 3 14:46:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115093 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55EE9C4361B for ; Thu, 4 Mar 2021 00:32:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 432106146D for ; Thu, 4 Mar 2021 00:32:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1388057AbhCDAb6 (ORCPT ); Wed, 3 Mar 2021 19:31:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244419AbhCCOs0 (ORCPT ); Wed, 3 Mar 2021 09:48:26 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B8CFC0613E2 for ; Wed, 3 Mar 2021 06:46:44 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id u14so23984637wri.3 for ; Wed, 03 Mar 2021 06:46:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QFi9T+E/g8V3YsAnSZJJVAc9TXJo52o0NpqktVEIKdw=; b=ZYh5jmZHnR3UgmUDrFZUwUXHTN8rG1lpAeCiLfkVk9wOllZP5B463CAeaE5CPiTXBU PaTq0vpL/WvMIVCrJYsTd+pzenjEU8khfmgTqOO/tIPAlUxH8evimfYnKpAV9rWLYmgn 0Mx9jZPaVk6bqWHDW7FD8pU8UxX0Cg0M4ZyX60LoeCA4Ptpq6f+wV+BTqTmVBlFtWL1U 5Sm+fPLpMJM74M5LwXxINJ0h7bfItbIlkq1FynPDAPq+GM8kZGez0JGWfYiWsOwiAos7 LaV5E0NzoR5E8lrcq83Zaf9SKITfXrvj3c5+VL3jBoJOIeGTRCsLGuviwbiLhj9eVTy5 6LvA== 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=QFi9T+E/g8V3YsAnSZJJVAc9TXJo52o0NpqktVEIKdw=; b=BFJriRR44DkGCosvptIB4LYdWyUGQVIAMEsGLheJZlFCukO8B4d0bR0VvF5coCfUEA n7SPwBUTQWhVkGKck10eLTCxwmrYMRVgtgWSlFXaTejgyh/cfipSxq6RywBPpUU1H7k7 YbpJY2qOxyaFRa1h7Jgyd8HlXrVikdtsgchpkxf8yPcwRvRPp3HnFOLByu63aH3GH8lA s2GPIWrFyBPtbthm3uH5YnvhZR+p5MAFNxGc+EbLvA0yuVSGSFiPVqqU4gAORzhu5bGS 6kdksPbUr2wDWOCmVO9c07URdLU130FLIdEk8fibl6gJqti7lxUHjzG5Qfuujapzourv SFGQ== X-Gm-Message-State: AOAM531hVqj96DYDoiQ4fC4Z7wQ+0wo7fKOzNInuvrbvDfwAP5rttMCM +JuxFfAeXBRcx9vn3REBg09WsA== X-Google-Smtp-Source: ABdhPJyFEYZyODmwSj8L4In3YWPgE8FpGflz9nPBfBP0ld8nT3CDiDCvShIovuKdMp8S9fyjSsQWKQ== X-Received: by 2002:adf:d1ce:: with SMTP id b14mr27612863wrd.126.1614782803009; Wed, 03 Mar 2021 06:46:43 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.46.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:46:42 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Kashyap Desai , Sumit Saxena , Shivasharan S , "James E.J. Bottomley" , "Martin K. Petersen" , Atul Mukker , Sreenivas Bagalkote , Manoj Jose , megaraidlinux@lsi.com, megaraidlinux.pdl@broadcom.com, linux-scsi@vger.kernel.org Subject: [PATCH 04/30] scsi: megaraid: megaraid_mbox: Fix function name megaraid_queue_command_lck() in description Date: Wed, 3 Mar 2021 14:46:05 +0000 Message-Id: <20210303144631.3175331-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/megaraid/megaraid_mbox.c:1438: warning: expecting prototype for megaraid_queue_command(). Prototype was for megaraid_queue_command_lck() instead Cc: Kashyap Desai Cc: Sumit Saxena Cc: Shivasharan S Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Atul Mukker Cc: Sreenivas Bagalkote Cc: Manoj Jose Cc: megaraidlinux@lsi.com Cc: megaraidlinux.pdl@broadcom.com Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/megaraid/megaraid_mbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c index d57e93872d7b5..b1a2d3536add6 100644 --- a/drivers/scsi/megaraid/megaraid_mbox.c +++ b/drivers/scsi/megaraid/megaraid_mbox.c @@ -1427,7 +1427,7 @@ mbox_post_cmd(adapter_t *adapter, scb_t *scb) /** - * megaraid_queue_command - generic queue entry point for all LLDs + * megaraid_queue_command_lck - generic queue entry point for all LLDs * @scp : pointer to the scsi command to be executed * @done : callback routine to be called after the cmd has be completed * From patchwork Wed Mar 3 14:46:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115095 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68290C433E6 for ; Thu, 4 Mar 2021 00:32:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 46D2B64E62 for ; Thu, 4 Mar 2021 00:32:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355599AbhCDAcA (ORCPT ); Wed, 3 Mar 2021 19:32:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244434AbhCCOs0 (ORCPT ); Wed, 3 Mar 2021 09:48:26 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C7D8C0613E4 for ; Wed, 3 Mar 2021 06:46:46 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id n4so6576621wmq.3 for ; Wed, 03 Mar 2021 06:46:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LQo94ZcfBBuoFY/1jYEsk/EDMJmQ504CLIYBmOmNlDo=; b=ERgJAswEWwGJcDUkR52X8TC8ezcOCCa6+8alb64vHVFwshhU4Gm2kFN4zKH/+7aHr+ 2k67F1awD2Roqqo2RG6++tlvEY9Prf3wENCLCTfyjbg7HULZQoSdkRFyXzoXPOngbHkb BtRtpHemEXNtobp14or4D2hLNo46tcV8e4+mEuu2Nl03JNQZeV1dNQopa07/2rSinanS 9ib3CNZUf4RHpdxrbrCpeqM75UUAMo3tXUkhOV8mcjJX6oH1ttfRAbJJaTR/TApUe1A8 yy1QyqUbe9COAc5bzP7yj2x9Q8b7iPztsqbtQKoAULqDcZFg7LF75YApXwLnVlK/Epmi pvrA== 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=LQo94ZcfBBuoFY/1jYEsk/EDMJmQ504CLIYBmOmNlDo=; b=XizAME+QuSUQIiiycpfQQDhGnmx18WGu392UDDRSeeqyn11DExgDGNF5MgXlxs88N3 n0vwK9JIkGwwsUkrcoAF3WmWVBGwNNOsjtaOYHeloSjSJy4lmfG2rmwjc3YIRvl4xTSU 4zCggf76+wDjpRcyWch+Yfscux3DosOnyymtPsp9Aan2y/whrbhwweVfKZQZ3ARgdRj1 7WbeohnpMWcidR6EbHjCPs2ucy6US/TAiSHJ2bNabzR+GKlylpZsB+Lpl5YUs1NN1wYY qVMlSoYbG5fU6TASI23ew5/JYGsoOOY3EQP+dp92lMceNcPru3iR0SYz403O65GddwlI QRRQ== X-Gm-Message-State: AOAM533N2G/4t9yMpIMpdQBnBSmhnkuxBIIrTUUNoVQ9aMuEKhcI6iiJ xpox99n+q7LAyRwhip4dPFMMrpuGGL4Y4Q== X-Google-Smtp-Source: ABdhPJyY3dGJO9LEZjajUPaKUxzIN5qx3Ifi9H/Au4nQ0TT37FozWbX0DBkV6eljG6DOvXBrf23QZQ== X-Received: by 2002:a1c:2403:: with SMTP id k3mr9542103wmk.130.1614782805138; Wed, 03 Mar 2021 06:46:45 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.46.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:46:44 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Hannes Reinecke , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 05/30] scsi: fcoe: fcoe_ctlr: Fix a couple of incorrectly named functions Date: Wed, 3 Mar 2021 14:46:06 +0000 Message-Id: <20210303144631.3175331-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/fcoe/fcoe_ctlr.c:1314: warning: expecting prototype for fcoe_ctlr_recv_els(). Prototype was for fcoe_ctlr_recv_clr_vlink() instead drivers/scsi/fcoe/fcoe_ctlr.c:2963: warning: expecting prototype for fcoe_ctlr_vlan_disk_reply(). Prototype was for fcoe_ctlr_vlan_disc_reply() instead Cc: Hannes Reinecke Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/fcoe/fcoe_ctlr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/fcoe/fcoe_ctlr.c b/drivers/scsi/fcoe/fcoe_ctlr.c index 5ea426effa609..1756a0ac6f083 100644 --- a/drivers/scsi/fcoe/fcoe_ctlr.c +++ b/drivers/scsi/fcoe/fcoe_ctlr.c @@ -1302,7 +1302,7 @@ static void fcoe_ctlr_recv_els(struct fcoe_ctlr *fip, struct sk_buff *skb) } /** - * fcoe_ctlr_recv_els() - Handle an incoming link reset frame + * fcoe_ctlr_recv_clr_vlink() - Handle an incoming link reset frame * @fip: The FCoE controller that received the frame * @skb: The received FIP packet * @@ -2952,7 +2952,7 @@ static void fcoe_ctlr_vlan_send(struct fcoe_ctlr *fip, } /** - * fcoe_ctlr_vlan_disk_reply() - send FIP VLAN Discovery Notification. + * fcoe_ctlr_vlan_disc_reply() - send FIP VLAN Discovery Notification. * @fip: The FCoE controller * @frport: The newly-parsed FCoE rport from the Discovery Request * From patchwork Wed Mar 3 14:46:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115091 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5950C4360C for ; Thu, 4 Mar 2021 00:31:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BF15464F02 for ; Thu, 4 Mar 2021 00:31:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1388405AbhCDAb5 (ORCPT ); Wed, 3 Mar 2021 19:31:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244583AbhCCOs0 (ORCPT ); Wed, 3 Mar 2021 09:48:26 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 640F7C0613E6 for ; Wed, 3 Mar 2021 06:46:48 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id w7so5390105wmb.5 for ; Wed, 03 Mar 2021 06:46:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GDZddnpJba/Pn4dRuDBATAXJPUWXaNHEAc/aEwqe0w8=; b=Ua/75M0QhR8/drEWLtFBQrIsnqyLuPVFUJjnLiJNBN2hoIsvh/UU52in5+buLcIkFa d8c2BpEoZIupANMs+/h10v8Gvxf25g8awXnaTNzkUmJDNro9b43l9kcMzGa37d/s7lUw 9qrP5XrmGetmklGmKz5c/183AaUjzzuqcG+j4/3fANVPrIQUnOhaF+TodFznz4At4Slf RdRijxmLIilHcYZ7q/r5uZofsjrQvKGpOIuQO30Xsy18fDKlowOWX0RnbkoJKnx14MR6 5PBu3HVkW47lwQV/QCHy5OC2gOj4zmM4bhatPOh8leUXuvllrKOKE1SX60aHQxLG/TJi VdIg== 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=GDZddnpJba/Pn4dRuDBATAXJPUWXaNHEAc/aEwqe0w8=; b=g9SV1o4GrVYxcd4YSMmUk+6oXClP0Cn4OhyVZqoMkZH6p7BUs8M6axnDNq/QKGHeoO A3THljB3J2xFi3w3FjcnX8eMlGL+ejBFLR0wTfl52Jxlkpwo0U/z/MQfGt25gBqyzMsx qLfn1l5gKgeCRfZBJ8RwMivJm7AS2eqsbypYfK9RxwaPPdpY2JdL4mtQ9oRT5JYrCtcB sPt/1mOndgK6sHKL/oW5SuFsijfDINt54LSR56O0XtTGj1wZnPkf34kiRK43tqSaEWHw HkGrtVRVSu/pgfdcaRlFUPjrlzn7GrlhVFgxZ5LvQGK510BpAdjwDZBkH6DTI90qKYUK YzNQ== X-Gm-Message-State: AOAM532j3th2wQoaaanj0I7EXqBTikRYnwZw7VzB0PhC0Mi+lw+iV8Rs if86J124euNTNiRvRWVnuE7t8w== X-Google-Smtp-Source: ABdhPJzC/yJRQcCFUJ3VLRPBZ1oNcc73HDGPnWdcOLFcyKW4fuXspgpB4PoiOZB3LiEGlIbp6koTTw== X-Received: by 2002:a7b:c3c1:: with SMTP id t1mr9352438wmj.47.1614782807074; Wed, 03 Mar 2021 06:46:47 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.46.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:46:46 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, "James E.J. Bottomley" , "Martin K. Petersen" , Luben Tuikov , linux-scsi@vger.kernel.org Subject: [PATCH 06/30] scsi: aic94xx: aic94xx_hwi: Fix a couple of misnamed function names Date: Wed, 3 Mar 2021 14:46:07 +0000 Message-Id: <20210303144631.3175331-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/aic94xx/aic94xx_hwi.c:910: warning: expecting prototype for ads_rbi_exsi_isr(). Prototype was for asd_rbi_exsi_isr() instead drivers/scsi/aic94xx/aic94xx_hwi.c:1156: warning: expecting prototype for asd_start_timers(). Prototype was for asd_start_scb_timers() instead Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Lee Jones Cc: Luben Tuikov Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/aic94xx/aic94xx_hwi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/aic94xx/aic94xx_hwi.c b/drivers/scsi/aic94xx/aic94xx_hwi.c index 9256ab7b25227..3dd1101434715 100644 --- a/drivers/scsi/aic94xx/aic94xx_hwi.c +++ b/drivers/scsi/aic94xx/aic94xx_hwi.c @@ -903,7 +903,7 @@ static void asd_dch_sas_isr(struct asd_ha_struct *asd_ha) } /** - * ads_rbi_exsi_isr -- process external system interface interrupt (INITERR) + * asd_rbi_exsi_isr -- process external system interface interrupt (INITERR) * @asd_ha: pointer to host adapter structure */ static void asd_rbi_exsi_isr(struct asd_ha_struct *asd_ha) @@ -1144,7 +1144,7 @@ static void asd_swap_head_scb(struct asd_ha_struct *asd_ha, } /** - * asd_start_timers -- (add and) start timers of SCBs + * asd_start_scb_timers -- (add and) start timers of SCBs * @list: pointer to struct list_head of the scbs * * If an SCB in the @list has no timer function, assign the default From patchwork Wed Mar 3 14:46:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115097 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34320C433E0 for ; Thu, 4 Mar 2021 00:32:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0D2CF64EE3 for ; Thu, 4 Mar 2021 00:32:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346423AbhCDAb7 (ORCPT ); Wed, 3 Mar 2021 19:31:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244602AbhCCOs0 (ORCPT ); Wed, 3 Mar 2021 09:48:26 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7646AC0613E9 for ; Wed, 3 Mar 2021 06:46:50 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id d11so23969994wrj.7 for ; Wed, 03 Mar 2021 06:46:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tQl7mbrrhEKHC32TkV4fz8OFde4Lv3Zz/lWsaXzMeiU=; b=jP6UzxQWWLZBBh1M+Mr7owpCzEHSd63thoMd19rKf62xiOl9dDBnKZ0en9mOwRrD1o Q5P5LKTT+tUTRE/6uSIHmVUWxV0qC4zUYcM7qV82ZnVZeWCeyaMAUmgJS+Vsd3ZRLjmy dZaOSh8OikJ2677ZdCplpZMPTxu91oBlWaPtHx5C+kP7XzMU+4S6k/wBms/Eg0a+tez4 ZtFpbmbSE9Ri0YK40ds52QW0yx/wBkvPWKI8jrZlMQHnDlA/FKtwaDGHOfDcjqWnPAnV WGG/5fiZMF0Nzo0Grd+wyY55Pv0wn5FP7ovMaPJOf4qwXRGaRaWRTsc9lQhdPoPz+85l TmDg== 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=tQl7mbrrhEKHC32TkV4fz8OFde4Lv3Zz/lWsaXzMeiU=; b=p2Jqn3fKYz00iwJfPV5zUzlqcdfuBJ6dp/I32nu/wQ345kpuIgPiAu6FESQwi77ICe wGdSNFs9qnPlMPAi1CN5uQcxTOq5lToZsp4jIt0kNWD+fljDBlv4FyRwcsyd6oqr5bck pv468omffBYpmdcqvnk6G3QWTaAIO+zLfSqHon8IAbL2quanAxMEGIuQfRXJ1zVnuxut StMCXkD2rLyeYpHMMQt+7sKG4U0IopKqgLQxvmN0yX8qas5I5s4Ax8FwcCLZrQaMfUBz rWClEJ5gVXXmXHgZnTwp5kqUj2kX+z32U7sNf42zJ/wZbHdJC5tbM+pNz2HPZ/b4EH+Q RZmA== X-Gm-Message-State: AOAM530yOt7KwucqsemkXf1pz2Iu9qcJrNSVamNwPqLFPg3ydxFaTU/Y I0YnYLDUUCnuaRle9D7LWSWFrQ== X-Google-Smtp-Source: ABdhPJxoSvJV6na+LIJDkg36WaYm1zxX4VejesfMcT4qguGDAPY2K2EfM0rY+0T2Wz/oYqLtE80dOA== X-Received: by 2002:adf:a2c2:: with SMTP id t2mr27327939wra.47.1614782809025; Wed, 03 Mar 2021 06:46:49 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.46.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:46:47 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Adaptec OEM Raid Solutions , "James E.J. Bottomley" , "Martin K. Petersen" , "PMC-Sierra, Inc" , linux-scsi@vger.kernel.org Subject: [PATCH 07/30] scsi: aacraid: aachba: Fix a few incorrectly named functions Date: Wed, 3 Mar 2021 14:46:08 +0000 Message-Id: <20210303144631.3175331-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/aachba.c:796: warning: expecting prototype for aac_probe_container(). Prototype was for aac_probe_container_callback1() instead drivers/scsi/aacraid/aachba.c:850: warning: expecting prototype for InqStrCopy(). Prototype was for inqstrcpy() instead drivers/scsi/aacraid/aachba.c:1814: warning: expecting prototype for Process topology change(). Prototype was for aac_get_safw_ciss_luns() instead Cc: Adaptec OEM Raid Solutions Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: "PMC-Sierra, Inc" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/aacraid/aachba.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c index 4ca5e13a26a62..8e06604370c4c 100644 --- a/drivers/scsi/aacraid/aachba.c +++ b/drivers/scsi/aacraid/aachba.c @@ -786,8 +786,8 @@ static int _aac_probe_container(struct scsi_cmnd * scsicmd, int (*callback)(stru } /** - * aac_probe_container - query a logical volume - * @scsicmd: the scsi command block + * aac_probe_container_callback1 - query a logical volume + * @scsicmd: the scsi command block * * Queries the controller about the given volume. The volume information * is updated in the struct fsa_dev_info structure rather than returned. @@ -838,7 +838,7 @@ struct scsi_inq { }; /** - * InqStrCopy - string merge + * inqstrcpy - string merge * @a: string to copy from * @b: string to copy to * @@ -1804,7 +1804,7 @@ static inline void aac_free_safw_ciss_luns(struct aac_dev *dev) } /** - * aac_get_safw_ciss_luns() Process topology change + * aac_get_safw_ciss_luns() - Process topology change * @dev: aac_dev structure * * Execute a CISS REPORT PHYS LUNS and process the results into From patchwork Wed Mar 3 14:46:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115101 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A9E2C15503 for ; Thu, 4 Mar 2021 00:32:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1DFAA64E62 for ; Thu, 4 Mar 2021 00:32:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355606AbhCDAcF (ORCPT ); Wed, 3 Mar 2021 19:32:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345260AbhCCOsf (ORCPT ); Wed, 3 Mar 2021 09:48:35 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FFC3C0613EF for ; Wed, 3 Mar 2021 06:46:53 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id o7-20020a05600c4fc7b029010a0247d5f0so2974050wmq.1 for ; Wed, 03 Mar 2021 06:46:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nK4eefo6NrFTl4crSl1/DHJIw7UTb4L0OHxeSI3Uc2E=; b=ML8ij0NytYJdYa1UhFHNKItuAT7SeWi4ZjzKZ0lUoHQamtkkVYhMwjU9x0r0j5nBI5 O08WuH9ercltleOgu7V92WnWMunllo5s4r9gedetm3BRxkMWRRPJKR8nb5a7YdnWGDVF vb73w39mKLlaeYHr7hAAx46giWMELjHP2vf9qTpwBZUabhLhUHmfqJM1nL45R2OE7GhE XXp+NoL8fu8iNML10qDc42jkuzWvhhKWn901TJWhVY6HDZPDNM2ZlSEeQQn7qfX7WUuH FghJDjqoVbUVhK9345mMChpriaCPV7mqBWMVB6mHKixI1Pxn+n3/wjXBoHNnpSHjPvAt 7Ryg== 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=nK4eefo6NrFTl4crSl1/DHJIw7UTb4L0OHxeSI3Uc2E=; b=eF/H7NcyZWeDZ++lRt1DFSeDUqxlElSri/bn6gBd76h2REqWYset8rFhjM5Zo/vS1t yYai9XS1NFTYxpYUNxmuS4GkpnbLmp6AuB7WrHosDgKxAI8GjXNFcQfeZHg8RhvaXidd /1yQVJZJ+HA/DnmzITDIyf8yOBzbnPpz2r3Zn1XO9/gIH975anJu9F0hnkWr7lnF7t31 f7YOrhnKvMtp4A9DATHgQBkym8VP/Ej2bCfm1ZVdmYuUarR76riyS+2DSZEcnWjFiO4Z T9XUtSgqOApMTzTSD/GmOHL349WO+LdyCHlwR9qANiOBRDnaIMPkwHOhitU7rMkwglVP bf3Q== X-Gm-Message-State: AOAM533PWpTWXumPTMEObK35Y++KtZp/Uj9aHEMkaqC6/H50IfPxKduu 58pT4SwVAGHsRz9BWK/EsLtJUQ== X-Google-Smtp-Source: ABdhPJz3HUn1iV4Mr3ACScTkwR7ze/a6od0APWdQI8cJupILZPBEJcNfDu4EJ/WCQKO9jNkbxq8r2g== X-Received: by 2002:a1c:7210:: with SMTP id n16mr9171547wmc.13.1614782811891; Wed, 03 Mar 2021 06:46:51 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.46.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:46:49 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Jack Wang , "James E.J. Bottomley" , "Martin K. Petersen" , Kumar Santhanam , Sangeetha Gnanasekaran , Nikith Ganigarakoppal , linux-scsi@vger.kernel.org Subject: [PATCH 08/30] scsi: pm8001: pm8001_init: Provide function name and fix a misspelling Date: Wed, 3 Mar 2021 14:46:09 +0000 Message-Id: <20210303144631.3175331-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/pm8001/pm8001_init.c:192: warning: expecting prototype for tasklet for 64 msi(). Prototype was for pm8001_tasklet() instead drivers/scsi/pm8001/pm8001_init.c:872: warning: expecting prototype for pm8001_set_phy_settings_ven_117c_12Gb(). Prototype was for pm8001_set_phy_settings_ven_117c_12G() instead Cc: Jack Wang Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Kumar Santhanam Cc: Sangeetha Gnanasekaran Cc: Nikith Ganigarakoppal Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones Acked-by: Jack Wang --- drivers/scsi/pm8001/pm8001_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c index bd626ef876dac..bbb6b23aa6b1c 100644 --- a/drivers/scsi/pm8001/pm8001_init.c +++ b/drivers/scsi/pm8001/pm8001_init.c @@ -184,7 +184,7 @@ static void pm8001_free(struct pm8001_hba_info *pm8001_ha) #ifdef PM8001_USE_TASKLET /** - * tasklet for 64 msi-x interrupt handler + * pm8001_tasklet() - tasklet for 64 msi-x interrupt handler * @opaque: the passed general host adapter struct * Note: pm8001_tasklet is common for pm8001 & pm80xx */ @@ -864,7 +864,7 @@ void pm8001_get_phy_mask(struct pm8001_hba_info *pm8001_ha, int *phymask) } /** - * pm8001_set_phy_settings_ven_117c_12Gb : Configure ATTO 12Gb PHY settings + * pm8001_set_phy_settings_ven_117c_12G() : Configure ATTO 12Gb PHY settings * @pm8001_ha : our adapter */ static From patchwork Wed Mar 3 14:46:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115099 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D53FC15502 for ; Thu, 4 Mar 2021 00:32:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0281364E51 for ; Thu, 4 Mar 2021 00:32:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240351AbhCDAcC (ORCPT ); Wed, 3 Mar 2021 19:32:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345212AbhCCOsd (ORCPT ); Wed, 3 Mar 2021 09:48:33 -0500 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24B40C0613A5 for ; Wed, 3 Mar 2021 06:46:56 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id u16so5967843wrt.1 for ; Wed, 03 Mar 2021 06:46:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6dlf3qjgdWUqI4rrG7I4PZpuEcemDbJUwXNtCIJSW+Q=; b=VRFsB6LsxDa4mu0P/0q40CbV2aqVAxp2BphRbLYBE2Pw1hA9l5ZafJhY3iNKUGG5C4 0hoWWOPblsjroACqkfasVgWPXak7sJccOkIkEmY7unpV/qhaqfUn+f0mEQnnxu14GzYF yppzBvbbUnnvfsiuXKYuORDg8l5QD67qqGW1bSBt1ne/kzScXjELVwEKJKWHFRZlb6SR 8JXmS/BdZ93z2rqJSj+9rb4muhY1VH0z86KzPtMyJg1TLeeiah5QXRZbWPNxJiuJlHDP NJsg1rr46qF/21OCg0E84/VAh0l2/B+gWWjWIr7IXfD221Q3AHgz8Gi4DFUju0jBQHBz rzrA== 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=6dlf3qjgdWUqI4rrG7I4PZpuEcemDbJUwXNtCIJSW+Q=; b=DfS6GAtmR6ZnFfrYPhOK8JF3outbz25thE46K+s6DkL0m2u/xtLiNIBw+NzDYcQpcL GJyKqYANrbLL94CcQ729U5DwhKocmFX+Fe5QqY43HIuZtymRnxPOfxCDwfraU+gKkPiL njbr78FjPiq92uF2RyCG7JNhpX812lVLrhYddrS1TkT5skXOjp/vhp4RmVc4qDzoOWUO Oz4M+bTevDdcQovtQO1Iy1A0jrCN7Kfkhhjd44c9AT80IjXFlb1OoKUsjdW5gDfq9SXL NUqZqJgahrRCst5JPbiJHsH1lWwZlkmBlXkNZIyaQkB7p6Rh3c/hgjG2/B1bMp+6hwC+ ZfCA== X-Gm-Message-State: AOAM530tjoNu2qq6573UpNhw/BaZ4g12vayCfaJ+DzXDCA7A66RESNyh wP3k+ILrqIIfFx8ziGhrxDVH5w== X-Google-Smtp-Source: ABdhPJz/WYxvodqQ21nmeRvaNQXvGsQcURiK2zDbxI1ZoOdOVNEurMuEUdeHxSFNQjt0l7/GWMQ+Sg== X-Received: by 2002:adf:a2d3:: with SMTP id t19mr27315610wra.299.1614782814810; Wed, 03 Mar 2021 06:46:54 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.46.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:46:54 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Adaptec OEM Raid Solutions , "James E.J. Bottomley" , "Martin K. Petersen" , "PMC-Sierra, Inc" , linux-scsi@vger.kernel.org Subject: [PATCH 09/30] scsi: aacraid: commctrl: Fix incorrect spelling of aac_send_raw_srb() Date: Wed, 3 Mar 2021 14:46:10 +0000 Message-Id: <20210303144631.3175331-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/commctrl.c:480: warning: expecting prototype for aac_send_raw_scb(). Prototype was for aac_send_raw_srb() instead Cc: Adaptec OEM Raid Solutions Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: "PMC-Sierra, Inc" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/aacraid/commctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/aacraid/commctrl.c b/drivers/scsi/aacraid/commctrl.c index 1b1da162f5f6b..e7cc927ed952d 100644 --- a/drivers/scsi/aacraid/commctrl.c +++ b/drivers/scsi/aacraid/commctrl.c @@ -472,7 +472,7 @@ static int check_revision(struct aac_dev *dev, void __user *arg) /** - * aac_send_raw_scb + * aac_send_raw_srb() * @dev: adapter is being processed * @arg: arguments to the send call */ From patchwork Wed Mar 3 14:46:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115103 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E115C15506 for ; Thu, 4 Mar 2021 00:32:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3EE9E64EEC for ; Thu, 4 Mar 2021 00:32:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355613AbhCDAcH (ORCPT ); Wed, 3 Mar 2021 19:32:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358743AbhCCOsf (ORCPT ); Wed, 3 Mar 2021 09:48:35 -0500 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CBA0C0613A7 for ; Wed, 3 Mar 2021 06:46:59 -0800 (PST) Received: by mail-wm1-x334.google.com with SMTP id u187so5390566wmg.4 for ; Wed, 03 Mar 2021 06:46:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vp3LPfDWxhdq4CveN15ZDZ5FBUzcaMZimN4dQHLGxEA=; b=U0t3uAQ1g04sV8BV3udjZX3FLFf7m9474Vpho7imY1X2KE7eofeW6q49vDhw/hQz+Y QClDNQdYSGdtzEjKxmTwHqipmi56/yu0l1y6dq72qV4dBoRXIx0DTSpTMkSLOSbaW/gg 2mlTzK/hAtuoXindUm6/q579w/4/xdH6VWao6xlLmQHyTuejaumQfYdNtlTx3Pv64CsO +jcf71+zePwLC00WaR+8AMQXM6PKHGkWNbs2mAQeJJSrrAvZTCXL6z1+DWwnwAXQx0+/ Rp28RPvUhO0iKKGfjR7ufQz64mM69E2bMD8kWgUfwfGDva7dYsgwxXdASdbWjSGt5Lqa ICaQ== 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=vp3LPfDWxhdq4CveN15ZDZ5FBUzcaMZimN4dQHLGxEA=; b=GjFx3Fx6aYbKobjOeL5QZ0NFz6Gpf/6vw71Ph2+Z5plAzSHCxl2J4rtKd6hYrOYCGf QM517c5qrUy8tdf9jFPM3axKN/XIQGh/Z5/Q7kB43X4EownbZXUjCCtqqio8NyBfbVJU 1/eA1tjClayVJbF5r8nBvJRv94HcXk1FxQv3/rbDbehBknFwv93lIy+W9zTGcRaQmsgJ NpJBW4SWsbHHjKeAxWYeC8lJ+Np31vgSJCVvdZ0hcJ2/tdthKEkKgVNsbHYb1QLM/rgD AoI71glk+Dq0pNG4LIL521majVcQ1lfn4IJnst/K+pt3notzTOLgvLXFKzXiUNXnx1Ne mUvw== X-Gm-Message-State: AOAM5311rUt/i1G6PyzDEfzIW/Buv2BIavMZVewid96n/b5OIbDB010m NDIl+CGfDAR4mgEa9ph2V21C6g== X-Google-Smtp-Source: ABdhPJzy1ig3CiMz5pH8IM8oo6QRsHmv3YgS8sVxcDf9UGyBapGjgLkMoSQUT8Fxn/34Lvdo/cjCxg== X-Received: by 2002:a1c:e184:: with SMTP id y126mr9487057wmg.163.1614782818007; Wed, 03 Mar 2021 06:46:58 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.46.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:46:55 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Saurav Kashyap , Javed Hasan , GR-QLogic-Storage-Upstream@marvell.com, "James E.J. Bottomley" , "Martin K. Petersen" , Prakash Gollapudi , linux-scsi@vger.kernel.org Subject: [PATCH 10/30] scsi: bnx2fc: bnx2fc_hwi: Fix typo in bnx2fc_indicate_kcqe() Date: Wed, 3 Mar 2021 14:46:11 +0000 Message-Id: <20210303144631.3175331-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/bnx2fc/bnx2fc_hwi.c:1344: warning: expecting prototype for bnx2fc_indicae_kcqe(). Prototype was for bnx2fc_indicate_kcqe() instead Cc: Saurav Kashyap Cc: Javed Hasan Cc: GR-QLogic-Storage-Upstream@marvell.com Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Prakash Gollapudi Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/bnx2fc/bnx2fc_hwi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/bnx2fc/bnx2fc_hwi.c b/drivers/scsi/bnx2fc/bnx2fc_hwi.c index b37b0a9ec12de..0103f811cc252 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_hwi.c +++ b/drivers/scsi/bnx2fc/bnx2fc_hwi.c @@ -1331,7 +1331,7 @@ static void bnx2fc_init_failure(struct bnx2fc_hba *hba, u32 err_code) } /** - * bnx2fc_indicae_kcqe - process KCQE + * bnx2fc_indicate_kcqe() - process KCQE * * @context: adapter structure pointer * @kcq: kcqe pointer From patchwork Wed Mar 3 14:46:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115105 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EFED6C4360C for ; Thu, 4 Mar 2021 00:32:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B1B0D64E51 for ; Thu, 4 Mar 2021 00:32:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241610AbhCDAcI (ORCPT ); Wed, 3 Mar 2021 19:32:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359478AbhCCOsf (ORCPT ); Wed, 3 Mar 2021 09:48:35 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07BD8C0613A8 for ; Wed, 3 Mar 2021 06:47:17 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id w7so5391641wmb.5 for ; Wed, 03 Mar 2021 06:47:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=EHdWW2swQWWLN2fON0JrG3mS4u0FbNeaPrg5kb6hkWU=; b=PV+MriZ79UvO8Un1KZdEI7jH/TmK2pAk1bDhwBgsfrqdMEl5aZHt1iJgNEUfpiLo1V wMmDAU5F94CjmyJAaRirgMQwwNLOuiM5CLMYXAJQpPU/B5SCDupT7VL1EX0ZO4xiwRnd G4ww+yglt+l42P+MUzEyGedFGTybK2/JquvE1mC2gNnEk49ND7Ep3cFkuhVqnWGGy1gv zedscH0PVDB9gtw5qZPZZaPP7mWnhP9zXT8wJk5SyEyh+YQHK1DeNvD1kGzNSLpRx1o/ RsI8JCTFXug/3DmPQLgJKRDsD2/Hufl21NeCaOQeISGiSCRe8v9ODktA7G/5FJJi/UI3 e4Xg== 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=EHdWW2swQWWLN2fON0JrG3mS4u0FbNeaPrg5kb6hkWU=; b=WJ95oF3sTMOe6T2aS8axfFY86jlnJJcS2ZPQddgOyJN+A7XmYbeMkfpbrsIZ9m3Ccf 0DYTVxA1CrMQTAi0IlDjJMDKbuMM499/77QhsPDNG64IqhGuAitK+m2HmJ2GnIyTQUu/ bj4qaHaPcZKIiNrJaYGDtgCE5wt2Uf9pmbF3ehBnnxIp/+03tx7J7ukPzmvcgN8NCsWE Mb9VOt/eMAo0nLo0i1BCw5wU2w+cRGaCvYa3WU9tZA95pCdM43bUvej4G3zQe8Vtmqfm /cl3B0o1tculoOeU6t1WKht4w6umf8xRSjSx96pTrBFeDZ4J9VpxgPSlFyHMXweJ1t6a vxuA== X-Gm-Message-State: AOAM5312T50EsUvwSQd65vcg+Q3OfaO3d39haczBcbydRUhTz+ugcW1e ixInLTIk+azR++7GGvB/KYEckPhpO+ksRQ== X-Google-Smtp-Source: ABdhPJwr6HXMhNS0fRSUdIbEmUeBkONMcWjvSRrkPqHtMou00uULtcanI944/JGGWrmz6LNeITwM/A== X-Received: by 2002:a1c:8005:: with SMTP id b5mr9578341wmd.130.1614782821020; Wed, 03 Mar 2021 06:47:01 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.46.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:46:58 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Jack Wang , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 11/30] scsi: pm8001: pm8001_sas: Provide function name 'pm8001_I_T_nexus_reset()' in header Date: Wed, 3 Mar 2021 14:46:12 +0000 Message-Id: <20210303144631.3175331-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/pm8001/pm8001_sas.c:989: warning: expecting prototype for and hard reset for(). Prototype was for pm8001_I_T_nexus_reset() instead Cc: Jack Wang Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones Acked-by: Jack Wang --- drivers/scsi/pm8001/pm8001_sas.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/pm8001/pm8001_sas.c b/drivers/scsi/pm8001/pm8001_sas.c index a98d4496ff8b6..742c83bc45554 100644 --- a/drivers/scsi/pm8001/pm8001_sas.c +++ b/drivers/scsi/pm8001/pm8001_sas.c @@ -981,6 +981,7 @@ void pm8001_open_reject_retry( } /** + * pm8001_I_T_nexus_reset() * Standard mandates link reset for ATA (type 0) and hard reset for * SSP (type 1) , only for RECOVERY * @dev: the device structure for the device to reset. From patchwork Wed Mar 3 14:46:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115107 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9981FC43603 for ; Thu, 4 Mar 2021 00:32:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 72AA664E62 for ; Thu, 4 Mar 2021 00:32:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355625AbhCDAcJ (ORCPT ); Wed, 3 Mar 2021 19:32:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359481AbhCCOsg (ORCPT ); Wed, 3 Mar 2021 09:48:36 -0500 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 465B7C0613AA for ; Wed, 3 Mar 2021 06:47:18 -0800 (PST) Received: by mail-wr1-x42b.google.com with SMTP id 7so23991447wrz.0 for ; Wed, 03 Mar 2021 06:47:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gGrr9T7NomFeuiTH4lgL2Bpnb+NGOdMtM4BXDpHgTNU=; b=xkcY0dECP581NNSgUwVihjJSM6/h+SZYYMJ0ZakPWJeLpf2+EFMp471iI8sFQUBPe6 kP/YQsFS1cRv8DHlqXuG+F2kBmMdye1VPNqDt0/MW2u7xwtFWUTkdp0tFuGTCJh2/mA3 mhx8GhyWZxMVJz50WUnQbr06OoS9cjTADgiP7AAmyh92XbHwZYaompYG2LAvuHJetfoe 13htKb0UJ7QPQJezKv11jPeMMnWy/P7CU+cvPIhbPHG2G+cvw+O65i1xeZeWHOBEVOx7 WzEEKGB959vWbTOJzmoEq6V1lF0zINFxSkITJPVnM4xzilGthJUw0PoBUOpHOtJDJyZp qqEg== 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=gGrr9T7NomFeuiTH4lgL2Bpnb+NGOdMtM4BXDpHgTNU=; b=n9vTtPIvATUoVMfZckNz68VyHHN00En3oYUcaZCj/kesFZBFD1qGh5+P3n5oKaQq4i NKJRQv7RQ/6ncxvCZ8egLOt5J1cmgkbG/iGx1LDht9Awu+DkQD0majolDil9os/rdd0Q jzlL8oziNCQ0MDZ3Y9YPl1v+kgCg0RZb6D3TaH2L6JKeS4dsqIhy4xtmQnK96De1b/D0 MJZGe26x8T8O2ZpPQOfuZGmw4YBFHQZNjWhOyEEVT7JIGB41gO+KXTgePjajplzYE0+o fkxx4z8DyPtxxGv3Wh/SCVfyZ42K2x+Gu/9ODULd79ggZIzR/PiyzyWqi9VknDHZjQPQ FjxQ== X-Gm-Message-State: AOAM531KH+oTqCIsRWH7nrxisMfu6I6ww0EjvDNoIiXigewvJwIEVaRL QRsyDpPFtugkL8OdgIZ9WxXr3Q== X-Google-Smtp-Source: ABdhPJw6jTNXLQqEabROh13Z9vvXRfzv0RD4iGLhlsh6uyIdkRDhebVScqDZgnGZ65QDWI4dNUdD2g== X-Received: by 2002:adf:d1ce:: with SMTP id b14mr27614718wrd.126.1614782836318; Wed, 03 Mar 2021 06:47:16 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:15 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Nilesh Javali , Manish Rangankar , GR-QLogic-Storage-Upstream@marvell.com, "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 12/30] scsi: qla4xxx: ql4_os: Fix formatting issues - missing '-' and '_' Date: Wed, 3 Mar 2021 14:46:13 +0000 Message-Id: <20210303144631.3175331-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/qla4xxx/ql4_os.c:631: warning: expecting prototype for qla4xxx_create chap_list(). Prototype was for qla4xxx_create_chap_list() instead drivers/scsi/qla4xxx/ql4_os.c:9643: warning: expecting prototype for gets called if(). Prototype was for qla4xxx_pci_mmio_enabled() instead Cc: Nilesh Javali Cc: Manish Rangankar Cc: GR-QLogic-Storage-Upstream@marvell.com Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/qla4xxx/ql4_os.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 7bd9a4a04ad5d..597a64d91fe92 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c @@ -618,7 +618,7 @@ static umode_t qla4_attr_is_visible(int param_type, int param) } /** - * qla4xxx_create chap_list - Create CHAP list from FLASH + * qla4xxx_create_chap_list - Create CHAP list from FLASH * @ha: pointer to adapter structure * * Read flash and make a list of CHAP entries, during login when a CHAP entry @@ -9633,7 +9633,7 @@ qla4xxx_pci_error_detected(struct pci_dev *pdev, pci_channel_state_t state) } /** - * qla4xxx_pci_mmio_enabled() gets called if + * qla4xxx_pci_mmio_enabled() - gets called if * qla4xxx_pci_error_detected() returns PCI_ERS_RESULT_CAN_RECOVER * and read/write to the device still works. * @pdev: PCI device pointer From patchwork Wed Mar 3 14:46:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115109 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EEAE5C433E0 for ; Thu, 4 Mar 2021 00:32:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B915864E62 for ; Thu, 4 Mar 2021 00:32:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355636AbhCDAcM (ORCPT ); Wed, 3 Mar 2021 19:32:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359507AbhCCOsv (ORCPT ); Wed, 3 Mar 2021 09:48:51 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DF7AC0613AD for ; Wed, 3 Mar 2021 06:47:19 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id l12so23970470wry.2 for ; Wed, 03 Mar 2021 06:47:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fC33Zk0ZyYtHJeu4W5SBQTBQUeiPwdCaCHRN8M5tXzo=; b=DwK5Dwt6nm/K8A2h+SM7y1TVazpE7jM04zdOA6+fAjDaE24o4gNxKo0p47FOYZmr5p 7tz4IncFdVyJWF34XsqHuofmvBXLxB0VAuFNK5Oarknakq8yfMUTidNNUttmss0O8dd2 LEBuwpPwAa1vCL9qmlwDs04zTKm1W+O1XnxL559HFLhUE87HM/kKOm4AeqUvHaKjPpd8 5QVrXrzwZMt9Jtn+JncyrKUh1LJ4L1EtZBsq+SiAJT78Kq71lCH2cWHhn3EZ1j+TYLgI NEVaoCHNezYapYZl+Jk0ZxYtfYtqV3+m+EikoTtv6hzQJawGtJ4cWul13WUXMTXEc+Hw GKUg== 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=fC33Zk0ZyYtHJeu4W5SBQTBQUeiPwdCaCHRN8M5tXzo=; b=KK2C7uRAJBn+E2raRHAxnzikbTohOvJtIAoLONpXbNZt28jo/kXMHNgwMIPUlfuIWC XILXpeWFeAhuDFeemiozUGsrcrPXO97eXaKX5hBf1xflQvrd8g0YvUU3lb+78E/By7oU RRbShKxc8GY1sjydT0zZei9MSOwbO0xxPUaxs9cGHkAHrIPAwiI8uCEVXDK2VxHFFcRi LJ5sQGqtYUVGuLXBFvzv5vn/56Bhm5OZTD6nL83pvGX0kIWf8ZtBbkFy/eYvHzfhtYHR RF6d1+tvGCRro1NhU2Vmh1au05FyllB2rykm2fd/txiRXnp11lHyp7WiGvbltAgo6Vo0 4YGA== X-Gm-Message-State: AOAM532fa1atxqT+bOKYR5F5eYJbGBK03RHZHrrKjgskKnrBHcoG8Dpb VTEZExdUpKjTwQ9TrGVqfE+Vig== X-Google-Smtp-Source: ABdhPJxA1ca38hEZOIyWn15165I5rGmv6LMTG2ybwsHKfb9NP+M/DFJfic2d7l229KukE2tLKHBKfA== X-Received: by 2002:adf:eec5:: with SMTP id a5mr12420188wrp.303.1614782838134; Wed, 03 Mar 2021 06:47:18 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:17 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Jack Wang , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 13/30] scsi: pm8001: pm8001_ctl: Fix incorrectly named functions in headers Date: Wed, 3 Mar 2021 14:46:14 +0000 Message-Id: <20210303144631.3175331-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/pm8001/pm8001_ctl.c:313: warning: expecting prototype for pm8001_ctl_sas_address_show(). Prototype was for pm8001_ctl_host_sas_address_show() instead drivers/scsi/pm8001/pm8001_ctl.c:530: warning: expecting prototype for pm8001_ctl_aap_log_show(). Prototype was for pm8001_ctl_iop_log_show() instead Cc: Jack Wang Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones Acked-by: Jack Wang --- drivers/scsi/pm8001/pm8001_ctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/pm8001/pm8001_ctl.c b/drivers/scsi/pm8001/pm8001_ctl.c index 12035baf0997b..1921e69bc2328 100644 --- a/drivers/scsi/pm8001/pm8001_ctl.c +++ b/drivers/scsi/pm8001/pm8001_ctl.c @@ -299,7 +299,7 @@ static DEVICE_ATTR(sas_spec_support, S_IRUGO, pm8001_ctl_sas_spec_support_show, NULL); /** - * pm8001_ctl_sas_address_show - sas address + * pm8001_ctl_host_sas_address_show - sas address * @cdev: pointer to embedded class device * @attr: device attribute (unused) * @buf: the buffer returned @@ -518,7 +518,7 @@ static ssize_t event_log_size_show(struct device *cdev, } static DEVICE_ATTR_RO(event_log_size); /** - * pm8001_ctl_aap_log_show - IOP event log + * pm8001_ctl_iop_log_show - IOP event log * @cdev: pointer to embedded class device * @attr: device attribute (unused) * @buf: the buffer returned From patchwork Wed Mar 3 14:46:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115111 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 06530C4332D for ; Thu, 4 Mar 2021 00:32:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D0C5764EBB for ; Thu, 4 Mar 2021 00:32:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348203AbhCDAcP (ORCPT ); Wed, 3 Mar 2021 19:32:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359542AbhCCOtN (ORCPT ); Wed, 3 Mar 2021 09:49:13 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD37AC0613AE for ; Wed, 3 Mar 2021 06:47:20 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id e10so23731354wro.12 for ; Wed, 03 Mar 2021 06:47:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=03tsdJPhWuYiSI0vJFPWzGstz88JASegtGpotthaiZA=; b=fxop5XSojvd0qLVyjl9NSYYbfO289XRBh7TnVKZ8AUP7qlQqhkVMDCsaBbmh1o8N1m IZTj/mkXgBPTbgHCOzPwMYut7OGfeTAOa9Fwj5DTRahGmahmNp885YfS+9T7Ja7hlRth gNpliWedUAWddaYJVPX+f6aJ/8Paqa0l14ml083Y4hOE8e00Ecmm1mMkd3H59Sj/zTHR BXbCWL0jp5xZpzXPR+cdCxDL9LVTlh3J/gl8lzL87CY7TVfAw+BSPInONJe5ANgh41ID PnIDFaUSnAvxuVNJe8fTyKhiz7rlJjnDXG5mrvRV8Z3OkHtwivQzK4VuzJ2CBaPKYjD5 plBA== 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=03tsdJPhWuYiSI0vJFPWzGstz88JASegtGpotthaiZA=; b=USyIMomD3LH/qmE3LC3m9kPnJqkUYlDHmjZDhZnuNGZuQ0aMX9PgDJ5g0yjRDw2rjE x1uPuC/9fb5+PYl9v8j9Mfvd4iVSXqP0W4Lynz88qxMhcvA7F2m1GjRw4aGV1qMwS35H qYVjbOvHbv3oqmizSklW0qTH19cmBRVCEJENBCDumtuo635XSrKzFRaAMdSW96sXWNQ7 gXP322HzjGlE9fzN7YCwF0EVwDzipDs7HaAHlwyfI5eCmORzc27fWlw3zzrFO6Az8ygN Q6ZqtL/jesfeyb8KZYcgvOVMdVwDW2Tak5F2xawbEY0nM7KBRLoP9ToaNu0Ztx6wlhJP CHCA== X-Gm-Message-State: AOAM530CpYb5BBcmBVhQhNvZJCdikvLNNke3SOa/rTTFfsyhACIQipce BeXLPOlk4SyNdiSLWZAh+TdeLQ== X-Google-Smtp-Source: ABdhPJxvyd/Qrr/gP4Z+wpquuQecyDRePOIyvznf9CTCYZ5472NrUWvunZfzpLhAklmGcrL1V5fIwQ== X-Received: by 2002:adf:8445:: with SMTP id 63mr28130475wrf.222.1614782839508; Wed, 03 Mar 2021 06:47:19 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:18 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, "James E.J. Bottomley" , "Martin K. Petersen" , Jason Yan , John Garry , "Gustavo A. R. Silva" , Luben Tuikov , linux-scsi@vger.kernel.org Subject: [PATCH 14/30] scsi: aic94xx: aic94xx_sds: Fix asd_erase_nv_sector()'s header Date: Wed, 3 Mar 2021 14:46:15 +0000 Message-Id: <20210303144631.3175331-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/aic94xx/aic94xx_sds.c:1253: warning: expecting prototype for asd_hwi_erase_nv_sector(). Prototype was for asd_erase_nv_sector() instead Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Jason Yan Cc: John Garry Cc: "Gustavo A. R. Silva" Cc: Luben Tuikov Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/aic94xx/aic94xx_sds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/aic94xx/aic94xx_sds.c b/drivers/scsi/aic94xx/aic94xx_sds.c index 105adba559a1e..297a66770260c 100644 --- a/drivers/scsi/aic94xx/aic94xx_sds.c +++ b/drivers/scsi/aic94xx/aic94xx_sds.c @@ -1244,7 +1244,7 @@ int asd_chk_write_status(struct asd_ha_struct *asd_ha, } /** - * asd_hwi_erase_nv_sector - Erase the flash memory sectors. + * asd_erase_nv_sector - Erase the flash memory sectors. * @asd_ha: pointer to the host adapter structure * @flash_addr: pointer to offset from flash memory * @size: total bytes to erase. From patchwork Wed Mar 3 14:46:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115113 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1BF74C43381 for ; Thu, 4 Mar 2021 00:32:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E33286146D for ; Thu, 4 Mar 2021 00:32:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355646AbhCDAcQ (ORCPT ); Wed, 3 Mar 2021 19:32:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359583AbhCCOti (ORCPT ); Wed, 3 Mar 2021 09:49:38 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17845C0613B0 for ; Wed, 3 Mar 2021 06:47:22 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id o2so6076447wme.5 for ; Wed, 03 Mar 2021 06:47:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KhH1xvkfKyHob/JVHWX/WPbUcPF6tAGWDv8dCHz7P4Y=; b=aztHD8iVRoFpmuHKdT4/MeQg+lOMUbxq/ZfeR5CxyTLSl8NBTnotat+PqLnXumvZlp M+vVkh7tXtuB0HvlDcyuWo3828I0feAqCoa8oftRH2OTGIVMR9ZuFfWCRXJ5mLkSXGnl rg/6YZC9jab/1cJLDlGL9Dw+VwEOe5ezTNVfBksLOE+d3pFsTL8T50cCxDzjrJPeBQ2W x7/ZthhURKXRI99h3ospu68ZisK+qWkvVRPczXuKofg362I5Vh9D2bGkXacfj07yj7Qg vMbqfaw1jq/WYEytpGSn5Uw8wLY2Pi+zh7Dohp/J0DY//GJJ+w/AFzWo8VFB+yQOsq6P aB7Q== 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=KhH1xvkfKyHob/JVHWX/WPbUcPF6tAGWDv8dCHz7P4Y=; b=l6U2Y2tDqEEwlEjLbHIS0gxJog2W0sLVNy3FkIVU6uPkoUl/uO75gysJqj6xm0EtAb HQ5ZX+zhkfqw4eT2PdEQmqZN7mXyCjtpvNjOY1AsIXdCkZoL7DcLIxarK7UMHS8070GM UygJ0GYawPp017qVjQ8ugvJdQxaXZsBHMmaBXDqFB69udy9Fe708ToL/DVA2MrcXd1ru Mn36R6tbsTQRnhflBjDiXYDAi4s14ck2NM26APJwxIJYPlu/jpzUFWSZC5sadmkShqTj o5jmxFHzGVl5XH2w0p+IuHCWbkLfFl/U6MFPlkQ1omp3kXrYDwxeWmRNs3POt6tHISth 0waQ== X-Gm-Message-State: AOAM533vo/lpZ9XcDSV1E3EQN4kZ0vBkNUeAao1cqUHzwPffNa6TrFjy BuMTFHnIFT0alZecpRDybDFaaQ== X-Google-Smtp-Source: ABdhPJwMrWETbcDsqW4KaMV/belvEGPoi8GPHErlEc6coWhJiwt+46GaHhzZ22UTHQ8ul4iKRosikA== X-Received: by 2002:a1c:8041:: with SMTP id b62mr9856101wmd.0.1614782840669; Wed, 03 Mar 2021 06:47:20 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:20 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Nilesh Javali , GR-QLogic-Storage-Upstream@marvell.com, "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 15/30] scsi: qla2xxx: qla_iocb: Replace __qla2x00_marker()'s missing underscores Date: Wed, 3 Mar 2021 14:46:16 +0000 Message-Id: <20210303144631.3175331-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/qla2xxx/qla_iocb.c:508: warning: expecting prototype for qla2x00_marker(). Prototype was for __qla2x00_marker() instead Cc: Nilesh Javali Cc: GR-QLogic-Storage-Upstream@marvell.com Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/qla2xxx/qla_iocb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 8b41cbaf8535b..e765ee4ce162a 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c @@ -491,7 +491,7 @@ qla2x00_start_iocbs(struct scsi_qla_host *vha, struct req_que *req) } /** - * qla2x00_marker() - Send a marker IOCB to the firmware. + * __qla2x00_marker() - Send a marker IOCB to the firmware. * @vha: HA context * @qpair: queue pair pointer * @loop_id: loop ID From patchwork Wed Mar 3 14:46:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115115 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C998CC4332B for ; Thu, 4 Mar 2021 00:32:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A1FF364E51 for ; Thu, 4 Mar 2021 00:32:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243233AbhCDAcS (ORCPT ); Wed, 3 Mar 2021 19:32:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359590AbhCCOtn (ORCPT ); Wed, 3 Mar 2021 09:49:43 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAC26C0613B3 for ; Wed, 3 Mar 2021 06:47:23 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id o2so6076533wme.5 for ; Wed, 03 Mar 2021 06:47:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cHGLMgmESXIFZCs0JUgZJMepuDsyuMDs79DqzpopOh4=; b=lBZHN8bPn8ofPtdUDEJ9YHpgj9Y5X9y4JEPsFoxiXXsOoaBiEw7ABoTWgRRMkeTh4L L8dYeKAZ04n2f2OIyrIhaHoY7l++4dm/3AUZLiFo2dfGV/iEuQZP55N6fRrjG8zYkTWU euyHo8Yvjnd8bI0HMhSOOJI9oGLvDNM/A23TYmyn4Zmh2FrZzNSQ+nA0+5RQoe8eAUeL fhsF9IePdsCJfsqQeTNpErqcHANrWkvpwGb82NRgFMln2r4vEAv9tdBiLA+q29a+zmKF aX6v0Kc/1/Mg1A6sroXBtZSwvxYSDW6Xr7Qqts1qxZL5RY89YQppWO5OFg+1Zk2ctl/9 WjWg== 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=cHGLMgmESXIFZCs0JUgZJMepuDsyuMDs79DqzpopOh4=; b=GvdUapNzdLmhSNm+H0sGJJx1oDJXBl2TUnQ1oA1MSY2xMgOhzIO7cXY6Vkb/8YaBlG kxB96+kQBGcBaMasBmA3FRMMszVwDxzuDDpN7EKgmGXUODTG4+EYWZ6tNu3x/EKQHlt9 gllOT3sCdrYi1QJcbmJ2D9Ko0RhDxehYeygtt6aocm7nwz2LO4bPwwzCUAomC+qLLNYl 5dkArK6vzs2X3+1c/MFS1T9llvkIhgy+vYCemlmWmlcFeRAp6t1voTqwGOH3Nn4wpMoS ebR4bkkSkfaduBwUzBk+lwIBYef9bfy/E8PCoMuxMZiUV7KltX91aO2FkGc6aRC8zNGr yyTw== X-Gm-Message-State: AOAM531Jyo0tmmb6Tvy4YBpIfoZM6IiSpzxgHvSUjrR9YiFGOGkF59Cq UjQQO3LQ0lytmHOvmHFixftAtA== X-Google-Smtp-Source: ABdhPJwT5ycXh7v72pauBAfT/7F41M3dC7pMHTlOeEz2LNBHe69VWsAs12AKit5DPIkGD21Kk0wVyQ== X-Received: by 2002:a1c:2403:: with SMTP id k3mr9543941wmk.130.1614782842402; Wed, 03 Mar 2021 06:47:22 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:21 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Adaptec OEM Raid Solutions , "James E.J. Bottomley" , "Martin K. Petersen" , Sumit Semwal , =?utf-8?q?Christian_K=C3=B6nig?= , "PMC-Sierra, Inc" , linux-scsi@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 16/30] scsi: aacraid: commsup: Repair formatting issue in aac_handle_sa_aif()'s header Date: Wed, 3 Mar 2021 14:46:17 +0000 Message-Id: <20210303144631.3175331-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/commsup.c:334: warning: expecting prototype for fib_deallocate(). Prototype was for fib_dealloc() instead drivers/scsi/aacraid/commsup.c:1961: warning: expecting prototype for aac_handle_sa_aif Handle a message from the firmware(). Prototype was for aac_handle_sa_aif() instead Cc: Adaptec OEM Raid Solutions Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Sumit Semwal Cc: "Christian König" Cc: "PMC-Sierra, Inc" Cc: linux-scsi@vger.kernel.org Cc: linux-media@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/scsi/aacraid/commsup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c index 0ae0d1fa2b507..54eb4d41bc2c2 100644 --- a/drivers/scsi/aacraid/commsup.c +++ b/drivers/scsi/aacraid/commsup.c @@ -323,7 +323,7 @@ void aac_fib_init(struct fib *fibptr) } /** - * fib_deallocate - deallocate a fib + * fib_dealloc - deallocate a fib * @fibptr: fib to deallocate * * Will deallocate and return to the free pool the FIB pointed to by the @@ -1950,7 +1950,7 @@ void aac_src_reinit_aif_worker(struct work_struct *work) } /** - * aac_handle_sa_aif Handle a message from the firmware + * aac_handle_sa_aif - Handle a message from the firmware * @dev: Which adapter this fib is from * @fibptr: Pointer to fibptr from adapter * From patchwork Wed Mar 3 14:46:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115117 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72521C4332D for ; Thu, 4 Mar 2021 00:32:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4A06D64E51 for ; Thu, 4 Mar 2021 00:32:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239870AbhCDAcU (ORCPT ); Wed, 3 Mar 2021 19:32:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359611AbhCCOuA (ORCPT ); Wed, 3 Mar 2021 09:50:00 -0500 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33A19C0613B7 for ; Wed, 3 Mar 2021 06:47:25 -0800 (PST) Received: by mail-wm1-x329.google.com with SMTP id m1so6591816wml.2 for ; Wed, 03 Mar 2021 06:47:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2UGn20PQxJqEKTFAC3EFVHnHz1ZJw2m1WZDwhJNb+Iw=; b=PfGdnhVOxPMdNIWrE0A3QNUF8gAe+nELjZltascoIWbJ5sLFj4YgG9ZrV3TBY3Csfp fAxw0eBD/FkOX0adMzibZvBALKRq75aACSdkAdPizipYGqwQwCYvSXcQJVGDzaeHau1/ FptWixcWGpEV0obeZLxGaxXNWdwuiQbetD/cSPh0ZmNaOAGJJklXYnQkAyr84gh3bv9X +pFwknfvv7+MonHIwCfnBlDiwPRVnjtNvcBECoCew1YPVEwwqt1B50V5ZAnqsnUjMn36 5jC6hZgwryg6sNFNYKLtEvf61M7YsFvDEzx7UD/qKwd73xQGEroM3du02S/x46WwP5Ty /1Ww== 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=2UGn20PQxJqEKTFAC3EFVHnHz1ZJw2m1WZDwhJNb+Iw=; b=R6u4scJltuuNI8Y6acMUTgTDduWo448ZiQbOu4xJYPavHeaH3ot939wbCKhW7XMeCK 4mcGS2dkiKOKWegi9jtuquIxBSkjVBn9LwhuYTiOWAfdS4pvy69Kjvwi0b1Tq/3Ij7ah uxl/2SwQYiB/c1Bc86lm16JvMBAIw2D9+cp5M/MFDYjhfLupex/dpAor9BOtRW3+XQ8o dX1njFOPk/UpkjkRWfCf+NLzG1CPT5huiQvZnPiajCl0VbSNk/Ff2j3VDXCXDpMGegCu TKKE0LUs9j+Zq65q6C2UyZltaihNLsQ+KTbx6Vwazf1tk5G0pHqLXUnDAshixD3sLpTn FwIQ== X-Gm-Message-State: AOAM5323xpH4xahsdCKMe8ZvYeqCNm6FVP/DG/R/Dg7boT34BDJLxIwU FaksY+Kxn82Fuerdp5kXEJOqqA== X-Google-Smtp-Source: ABdhPJz+i6eb5nwXlp7WpWuXa9PrjDmdQa0kNy+e8ZT5cHAX5Gkl7tpL7+1lbOkBOjeMEV57c9Q4gQ== X-Received: by 2002:a1c:2017:: with SMTP id g23mr9338841wmg.126.1614782843814; Wed, 03 Mar 2021 06:47:23 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:23 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, James Smart , Dick Kennedy , "James E.J. Bottomley" , "Martin K. Petersen" , Sumit Semwal , =?utf-8?q?Christian_K=C3=B6nig?= , linux-scsi@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 17/30] scsi: lpfc: lpfc_sli: Fix a bunch of kernel-doc issues Date: Wed, 3 Mar 2021 14:46:18 +0000 Message-Id: <20210303144631.3175331-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/lpfc/lpfc_sli.c:9654: warning: expecting prototype for lpfc_sli_iocb2wqe(). Prototype was for lpfc_sli4_iocb2wqe() instead drivers/scsi/lpfc/lpfc_sli.c:10439: warning: Function parameter or member 'phba' not described in 'lpfc_sli_issue_fcp_io' drivers/scsi/lpfc/lpfc_sli.c:10439: warning: Function parameter or member 'ring_number' not described in 'lpfc_sli_issue_fcp_io' drivers/scsi/lpfc/lpfc_sli.c:10439: warning: Function parameter or member 'piocb' not described in 'lpfc_sli_issue_fcp_io' drivers/scsi/lpfc/lpfc_sli.c:10439: warning: Function parameter or member 'flag' not described in 'lpfc_sli_issue_fcp_io' drivers/scsi/lpfc/lpfc_sli.c:14189: warning: expecting prototype for lpfc_sli4_sp_process_cq(). Prototype was for __lpfc_sli4_sp_process_cq() instead drivers/scsi/lpfc/lpfc_sli.c:14754: warning: expecting prototype for lpfc_sli4_hba_process_cq(). Prototype was for lpfc_sli4_dly_hba_process_cq() instead drivers/scsi/lpfc/lpfc_sli.c:17230: warning: expecting prototype for lpfc_sli4_free_xri(). Prototype was for __lpfc_sli4_free_xri() instead drivers/scsi/lpfc/lpfc_sli.c:18950: warning: expecting prototype for lpfc_sli4_free_rpi(). Prototype was for __lpfc_sli4_free_rpi() instead Cc: James Smart Cc: Dick Kennedy Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Sumit Semwal Cc: "Christian König" Cc: linux-scsi@vger.kernel.org Cc: linux-media@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/scsi/lpfc/lpfc_sli.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index fa1a714a78f09..9801193983ff0 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c @@ -9635,7 +9635,7 @@ lpfc_sli4_bpl2sgl(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, } /** - * lpfc_sli_iocb2wqe - Convert the IOCB to a work queue entry. + * lpfc_sli4_iocb2wqe - Convert the IOCB to a work queue entry. * @phba: Pointer to HBA context object. * @iocbq: Pointer to command iocb. * @wqe: Pointer to the work queue entry. @@ -10421,7 +10421,7 @@ __lpfc_sli_issue_iocb_s4(struct lpfc_hba *phba, uint32_t ring_number, return 0; } -/** +/* * lpfc_sli_issue_fcp_io - Wrapper func for issuing fcp i/o * * This routine wraps the actual fcp i/o function for issusing WQE for sli-4 @@ -14170,7 +14170,7 @@ __lpfc_sli4_process_cq(struct lpfc_hba *phba, struct lpfc_queue *cq, } /** - * lpfc_sli4_sp_process_cq - Process a slow-path event queue entry + * __lpfc_sli4_sp_process_cq - Process a slow-path event queue entry * @cq: pointer to CQ to process * * This routine calls the cq processing routine with a handler specific @@ -14744,7 +14744,7 @@ lpfc_sli4_hba_process_cq(struct work_struct *work) } /** - * lpfc_sli4_hba_process_cq - fast-path work handler when started by timer + * lpfc_sli4_dly_hba_process_cq - fast-path work handler when started by timer * @work: pointer to work element * * translates from the work handler and calls the fast-path handler. @@ -17218,7 +17218,7 @@ lpfc_sli4_alloc_xri(struct lpfc_hba *phba) } /** - * lpfc_sli4_free_xri - Release an xri for reuse. + * __lpfc_sli4_free_xri - Release an xri for reuse. * @phba: pointer to lpfc hba data structure. * @xri: xri to release. * @@ -18938,7 +18938,7 @@ lpfc_sli4_alloc_rpi(struct lpfc_hba *phba) } /** - * lpfc_sli4_free_rpi - Release an rpi for reuse. + * __lpfc_sli4_free_rpi - Release an rpi for reuse. * @phba: pointer to lpfc hba data structure. * @rpi: rpi to free * From patchwork Wed Mar 3 14:46:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115119 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36EF2C4160E for ; Thu, 4 Mar 2021 00:32:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0C1CC64E51 for ; Thu, 4 Mar 2021 00:32:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355660AbhCDAcW (ORCPT ); Wed, 3 Mar 2021 19:32:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359658AbhCCOuP (ORCPT ); Wed, 3 Mar 2021 09:50:15 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FD0AC0613B9 for ; Wed, 3 Mar 2021 06:47:26 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id n22so5409311wmc.2 for ; Wed, 03 Mar 2021 06:47:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xZLBI/8SqO3lQnkC11OaIHS0M/CameoMxsEwafnsB1c=; b=sV0WJ5awppAN6jeDvroI2TUJPkOXgTrWX5NupraTKExh6YFI7ps6gOgZAKZ9PMBR3C 6A+S+kKhkHNj3O/BwjvwukRsBxHH00pwRuqAb9rfA7npMqIhVuVTi9hUIBx4679upMva 1QKIGrinWSdP08ex0VNEAtfkzjK5acsN9tOd+SyuTycvsTUszESnVVgWwQB22ty0ClPr ccyw6AG4M8EafLYlPyjWwFzzw4UEQwoknxE13W9ggiT3TCheOJm5MSBoZnnJF1FuFJx+ XgKggaTJ5yx5b1fXfN1ofpPTiCvKnrhNbTKUKwT/yLNt/pXZUmrtG1FEeMJ62HyZ72de SwEQ== 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=xZLBI/8SqO3lQnkC11OaIHS0M/CameoMxsEwafnsB1c=; b=tz8m5t5ttEBkClIdrnhkw735SRCuRCvO2YOsuPbOF4J6ONfb4mN/nrmS1R3oKvg1Oh MpMFIQI7QzUCcGhM/ghSTc3+06Zu3I9UxOh6YlIqyTltG681l2PHnWsOs4ekfuPHFnGN SJJ6+IGM2nnWUfXbeCDZ9FmiCDeeBUVr9F0ofEduLsGYqtCWmyXxg6GQF+PFwk7ejgmI Ndv1NU4V2KfJ2ToaOBrMb0+Zle9k0pwT5QwQKWZr4jQzkORLa4XWpH8AAJozQ0er7/I5 rxyufrJMIEda/f0ZqyQbGh5Ed+lJmlce39fU/eOJ/YZ/RAO2ghYIr7sk38ct36wNTT+a hZ2g== X-Gm-Message-State: AOAM5311dr5TbEC6YMOGMBfru840gNdQ0gNIBbXjtiJhzE2WbWNgRcrz iwRqfdQ5ZmTaAZQqZ27nUYTJqw== X-Google-Smtp-Source: ABdhPJwe8JD1NLxuRyWvUDwBYH+oG7tZAH6fZ5CsYEXhUT3tkZWH8K+UTsMamm4CoavJaq0kgLGmUA== X-Received: by 2002:a1c:730a:: with SMTP id d10mr9232298wmb.53.1614782845136; Wed, 03 Mar 2021 06:47:25 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:24 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Jack Wang , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 18/30] scsi: pm8001: pm8001_hwi: Fix some misnamed function descriptions Date: Wed, 3 Mar 2021 14:46:19 +0000 Message-Id: <20210303144631.3175331-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/pm8001/pm8001_hwi.c:1183: warning: expecting prototype for pm8001_chip_interrupt_enable(). Prototype was for pm8001_chip_intx_interrupt_enable() instead drivers/scsi/pm8001/pm8001_hwi.c:1257: warning: expecting prototype for pm8001_chip_intx_interrupt_disable(). Prototype was for pm8001_chip_interrupt_disable() instead drivers/scsi/pm8001/pm8001_hwi.c:3235: warning: expecting prototype for asd_get_attached_sas_addr(). Prototype was for pm8001_get_attached_sas_addr() instead drivers/scsi/pm8001/pm8001_hwi.c:3555: warning: expecting prototype for fw_flash_update_resp(). Prototype was for pm8001_mpi_fw_flash_update_resp() instead Cc: Jack Wang Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones Acked-by: Jack Wang --- drivers/scsi/pm8001/pm8001_hwi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/pm8001/pm8001_hwi.c b/drivers/scsi/pm8001/pm8001_hwi.c index 49bf2f70a470e..6b600e33e9e8d 100644 --- a/drivers/scsi/pm8001/pm8001_hwi.c +++ b/drivers/scsi/pm8001/pm8001_hwi.c @@ -1175,7 +1175,7 @@ void pm8001_chip_iounmap(struct pm8001_hba_info *pm8001_ha) #ifndef PM8001_USE_MSIX /** - * pm8001_chip_interrupt_enable - enable PM8001 chip interrupt + * pm8001_chip_intx_interrupt_enable - enable PM8001 chip interrupt * @pm8001_ha: our hba card information */ static void @@ -1248,7 +1248,7 @@ pm8001_chip_interrupt_enable(struct pm8001_hba_info *pm8001_ha, u8 vec) } /** - * pm8001_chip_intx_interrupt_disable- disable PM8001 chip interrupt + * pm8001_chip_interrupt_disable - disable PM8001 chip interrupt * @pm8001_ha: our hba card information * @vec: unused */ @@ -3219,7 +3219,7 @@ void pm8001_get_lrate_mode(struct pm8001_phy *phy, u8 link_rate) } /** - * asd_get_attached_sas_addr -- extract/generate attached SAS address + * pm8001_get_attached_sas_addr - extract/generate attached SAS address * @phy: pointer to asd_phy * @sas_addr: pointer to buffer where the SAS address is to be written * @@ -3546,7 +3546,7 @@ int pm8001_mpi_dereg_resp(struct pm8001_hba_info *pm8001_ha, void *piomb) } /** - * fw_flash_update_resp - Response from FW for flash update command. + * pm8001_mpi_fw_flash_update_resp - Response from FW for flash update command. * @pm8001_ha: our hba card information * @piomb: IO message buffer */ From patchwork Wed Mar 3 14:46:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115121 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0AE63C433E0 for ; Thu, 4 Mar 2021 00:32:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D632F64EBB for ; Thu, 4 Mar 2021 00:32:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381117AbhCDAcX (ORCPT ); Wed, 3 Mar 2021 19:32:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359666AbhCCOuU (ORCPT ); Wed, 3 Mar 2021 09:50:20 -0500 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C17E8C0613BB for ; Wed, 3 Mar 2021 06:47:27 -0800 (PST) Received: by mail-wm1-x330.google.com with SMTP id l22so5411546wme.1 for ; Wed, 03 Mar 2021 06:47:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ySODZ2632aeayKlQPyHeudZTc8h2kJ2bKUfsQdptsf8=; b=cUBgEPDjKYhvu0dZiA4icyJA4vYab4lZb6iX/nQJ2sOJUYF/AQq3BkXozRnfCXXyZf C5lXrtJF48Tk/3a5M7tUI+AiDfrXocEW5VOVyqrEz/158Yyzs0rDJt4ZJsjiLM0B+zIp mooa1IFW/sBUw0tkpWtuGZln6XSKuxzDukJyRyh0FM4Z56DeAHP4aCdRNXkhUvwKV1qq Ra7tgXvQscr5N0phsB/kcKVu5DAxsOKX2KyMN4jivihgcgMJvu3jxSd8EKJxkxd7hfyQ +61uagjqC+STaS0xxSqAo4Mw4/XeNrP+k9nQnWJ918DiYvwJdZis0YTzimsMrlXkRBXG b6mQ== 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=ySODZ2632aeayKlQPyHeudZTc8h2kJ2bKUfsQdptsf8=; b=rjbpPu27hPNIWBCk8TOvyoYjIqajCRqvePvEc0mstwTU+bXIQEwWstsmDhd1df5gT5 OUgZeqFZmeAcYjFDQiVO3lHSmB4xOHT9XRJ9a+aT0vW6kVlRgl2elVRlQ5Oh5S2ginVu iEHotVK4fnfFVAettNm7nLgQGVcLVnHPjyzGxzBPTkCVNCW486DVfweu/xTl7cnpqfva fElXvnNKMt5SuNshMe8DrK0bM3vQt+ZRisQ8zqh719KWszGopwXMQQsVUE7PQxJVh+Um nj7tc/MkeaezJdf6FWyiEmShn66xsyxRcb014bSdbZGe6V0FoBHAU3xgFfCASQTdJ0Jd Hn1g== X-Gm-Message-State: AOAM530kvjqM4CB1OeDRyfs2o1GkKHhSeQit7IDRNXTU4tCuzz+bDdNC XW9ygFK2dMi72tr0V7ne9NBuIQ== X-Google-Smtp-Source: ABdhPJwRUXmasnEMFe8nVPXeu7uGCy56SCGhP6kMptpmGfqtmkZqKvMv/OK5kAcnTJUUuGMzy2RHiQ== X-Received: by 2002:a05:600c:1550:: with SMTP id f16mr5447864wmg.97.1614782846325; Wed, 03 Mar 2021 06:47:26 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:25 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Nilesh Javali , Manish Rangankar , GR-QLogic-Storage-Upstream@marvell.com, "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 19/30] scsi: qla4xxx: ql4_mbx: Fix kernel-doc formatting and misnaming issue Date: Wed, 3 Mar 2021 14:46:20 +0000 Message-Id: <20210303144631.3175331-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/qla4xxx/ql4_mbx.c:47: warning: wrong kernel-doc identifier on line: drivers/scsi/qla4xxx/ql4_mbx.c:947: warning: expecting prototype for qla4xxx_set_fwddb_entry(). Prototype was for qla4xxx_set_ddb_entry() instead Cc: Nilesh Javali Cc: Manish Rangankar Cc: GR-QLogic-Storage-Upstream@marvell.com Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/qla4xxx/ql4_mbx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/qla4xxx/ql4_mbx.c b/drivers/scsi/qla4xxx/ql4_mbx.c index 17b719a8b6fbc..187d78aa4f675 100644 --- a/drivers/scsi/qla4xxx/ql4_mbx.c +++ b/drivers/scsi/qla4xxx/ql4_mbx.c @@ -44,7 +44,7 @@ void qla4xxx_process_mbox_intr(struct scsi_qla_host *ha, int out_count) } /** - * qla4xxx_is_intr_poll_mode – Are we allowed to poll for interrupts? + * qla4xxx_is_intr_poll_mode - Are we allowed to poll for interrupts? * @ha: Pointer to host adapter structure. * returns: 1=polling mode, 0=non-polling mode **/ @@ -933,7 +933,7 @@ int qla4xxx_conn_open(struct scsi_qla_host *ha, uint16_t fw_ddb_index) } /** - * qla4xxx_set_fwddb_entry - sets a ddb entry. + * qla4xxx_set_ddb_entry - sets a ddb entry. * @ha: Pointer to host adapter structure. * @fw_ddb_index: Firmware's device database index * @fw_ddb_entry_dma: dma address of ddb entry From patchwork Wed Mar 3 14:46:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115123 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F0AFC433E6 for ; Thu, 4 Mar 2021 00:32:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D2B2264EE3 for ; Thu, 4 Mar 2021 00:32:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355663AbhCDAc1 (ORCPT ); Wed, 3 Mar 2021 19:32:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359668AbhCCOuX (ORCPT ); Wed, 3 Mar 2021 09:50:23 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC6FDC0613BC for ; Wed, 3 Mar 2021 06:47:28 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id v15so23983587wrx.4 for ; Wed, 03 Mar 2021 06:47:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IDE9Hso9rTWT1GYUBR1hNJUg1ULbOjkFaTyN9Yx/tJU=; b=Ay4gpWRdV55KCDG5yeY+hI0q+5Y4Fa/UHNNLmN9p+xw6ttt7Od+kE21YM2LRh0rhwR GDyRAWBbJ9SFTJ8VYueqVHNtBqaFns7eS1Xvj7/s9DpkE1ucIgvp0GwCfDRDTeXUb9WR iCzK0Vo2pMUpOgKvDqIqhJUMi0kC1C7XtHzx63HC57Oc9kKSgys7yo/GOJmBk7ZvGWG1 KcWocQ4VjLi5aeh7bcnsBRA04tSITnca0pR8TeC7ZwNoploKJQ6CzZGnT+eepODpPhNE O4NSiVSDOvM3ilEDpTpIax2oB3UR3KNDAGP+WgddgBqFg2SHOeq11xISLOHJDGvOy/c9 cUhA== 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=IDE9Hso9rTWT1GYUBR1hNJUg1ULbOjkFaTyN9Yx/tJU=; b=a5EQr+llNiqwg50mR/aEqYKS9N+DlMdDxHS25qqFn/9ToDRHOkLzW8xDpnQQzFBPMu hSfS1vJFOc/M7HY6TYQ87f2F0vxhEQ5rbQLBZ2WI279BAJZsIr8kU5Yyv4oWtjhbnmzZ G+2japiWB9NInlkdvPC0uO6/t/z09y44kWbbjCowcEfuDeK6+knyxbKMjf8T33DiJvTW qIB64VmlR1DXI1ucV7aaYICVmBvn85E1Mw7Sr4TbfsGejULrXkxsfx7Aja+lcUDP8P6b pq5kWvphNjyJ/Mb1E7L6TEzjQaOwJvqxOsNmySwGzH6fQpaQBWcKhqCFlrZDfHAmXLkA kBKA== X-Gm-Message-State: AOAM530uzIy2stQmw2AObQHsTNNHSpvavpKqhBsV3DidbWFxj89BMYLk F+dFBaCbo+wNlSE4s+opH+nIIg== X-Google-Smtp-Source: ABdhPJxGkO2wN5DSSua5V4AC/FHxC3IVSL/vCIJa5Px6KbB1NQlcTLKWka4biT2QL1cGujHEIE6dqg== X-Received: by 2002:adf:c101:: with SMTP id r1mr27901092wre.38.1614782847631; Wed, 03 Mar 2021 06:47:27 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:27 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Saurav Kashyap , Javed Hasan , GR-QLogic-Storage-Upstream@marvell.com, "James E.J. Bottomley" , "Martin K. Petersen" , Prakash Gollapudi , linux-scsi@vger.kernel.org Subject: [PATCH 20/30] scsi: bnx2fc: bnx2fc_tgt: Fix misnaming of bnx2fc_free_session_resc() Date: Wed, 3 Mar 2021 14:46:21 +0000 Message-Id: <20210303144631.3175331-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/bnx2fc/bnx2fc_tgt.c:831: warning: expecting prototype for bnx2i_free_session_resc(). Prototype was for bnx2fc_free_session_resc() instead Cc: Saurav Kashyap Cc: Javed Hasan Cc: GR-QLogic-Storage-Upstream@marvell.com Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Prakash Gollapudi Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/bnx2fc/bnx2fc_tgt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/bnx2fc/bnx2fc_tgt.c b/drivers/scsi/bnx2fc/bnx2fc_tgt.c index a3e2a38aabf2f..9200b718085c4 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_tgt.c +++ b/drivers/scsi/bnx2fc/bnx2fc_tgt.c @@ -819,7 +819,7 @@ static int bnx2fc_alloc_session_resc(struct bnx2fc_hba *hba, } /** - * bnx2i_free_session_resc - free qp resources for the session + * bnx2fc_free_session_resc - free qp resources for the session * * @hba: adapter structure pointer * @tgt: bnx2fc_rport structure pointer From patchwork Wed Mar 3 14:46:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115133 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBD17C4332B for ; Thu, 4 Mar 2021 00:32:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A866F64EEC for ; Thu, 4 Mar 2021 00:32:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1444445AbhCDAcq (ORCPT ); Wed, 3 Mar 2021 19:32:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235894AbhCCOw2 (ORCPT ); Wed, 3 Mar 2021 09:52:28 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15C8AC0610E0 for ; Wed, 3 Mar 2021 06:47:47 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id k66so6597506wmf.1 for ; Wed, 03 Mar 2021 06:47:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bCbfbKrHtTJDrvzcr+wliVfv0YCW7v3SbQO0PUWBLF8=; b=A1JLya9fwpQcKfCxmMLTX9NOLzHRWtg7dnUwdbzdTQf1I/OQEToMX74gsgs153HQvC 3VdaBSTCIi957+WbZ839j99Y3rLxaCsaf1ohq2LvgYy8oHtdHiQ1QDqzlpaoef261Vx4 rqN0jdq7ShbaG7A/Vw0C1wLNnn2Z5oi/9TX/45mkQn6VdGecAW8vIBTvcXL7t4HMbn/x 3+zQB4zP/flYI7A0spQ+Zsw5mH+uMJjA4t79ztS1+I2O4tXAzaapmnPWBDU6NYxPaTTq xx4/dWJOjJ0g831aE+PH9e/LbR74slRAQBgjmGrgAosGteet/fm3saLd8XMZThg3NOyg w6rA== 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=bCbfbKrHtTJDrvzcr+wliVfv0YCW7v3SbQO0PUWBLF8=; b=J8kxq6ufeBD4g1hoepvGyZBqJUV8lt13g500FOOugZZceORwyiSOwYmvBaBvjhwEp/ bJxruHtGJdCcnnZdjuYN8cwJoDlhDkscp5alv/X32mnJzKKZTH98o/bXTHZ5BUyShC0q C0AZficLKgHz6NDJpgZGmfDa9AWbaBXqpx8uxydXIUhiirZRVRNMlViOFhPv0t2x9fxo 6X1bDMRXX4qUS8yaBPICpru2DGXYmahVHI3c+Fqdswm6KTU1Y11inHRrFI0CVn64B4h3 0UhF5odDKVtevc1fydlATGdfu99dAcf21saYFSwwhNAZj3LcD/JBvLSTs27I3SenNcoW bVgg== X-Gm-Message-State: AOAM5329llg9DHCxLQGo+Y1+O4SjYfE96av7mHWc3bFQjg7E7rtl33us RlYeShDBNPMvqqOFuZnn4IzDnmuTzgeFJA== X-Google-Smtp-Source: ABdhPJy3POs+S8L1atahS3fz8o7+Mq3KPS2VTa9MSql5Oudk/Wi7rii+GltX79ENIfSNNpfvjdEVJQ== X-Received: by 2002:a1c:8005:: with SMTP id b5mr9579447wmd.130.1614782848920; Wed, 03 Mar 2021 06:47:28 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:28 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, "James E.J. Bottomley" , "Martin K. Petersen" , David Chaw , Luben Tuikov , linux-scsi@vger.kernel.org Subject: [PATCH 21/30] scsi: aic94xx: aic94xx_dump: Remove code that has been unused for at least 13 years Date: Wed, 3 Mar 2021 14:46:22 +0000 Message-Id: <20210303144631.3175331-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/aic94xx/aic94xx_dump.c:731: warning: expecting prototype for asd_dump_ddb_site(). Prototype was for asd_dump_target_ddb() instead drivers/scsi/aic94xx/aic94xx_dump.c:875: warning: expecting prototype for ads_dump_seq_state(). Prototype was for asd_dump_seq_state() instead Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: David Chaw Cc: Luben Tuikov Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/aic94xx/aic94xx_dump.c | 184 ---------------------------- 1 file changed, 184 deletions(-) diff --git a/drivers/scsi/aic94xx/aic94xx_dump.c b/drivers/scsi/aic94xx/aic94xx_dump.c index 7c4c53a54b782..47a663a39dcce 100644 --- a/drivers/scsi/aic94xx/aic94xx_dump.c +++ b/drivers/scsi/aic94xx/aic94xx_dump.c @@ -720,152 +720,6 @@ static void asd_dump_lseq_state(struct asd_ha_struct *asd_ha, int lseq) PRINT_LMIP_dword(asd_ha, lseq, DEV_PRES_TIMER_TERM_TS); } -#if 0 - -/** - * asd_dump_ddb_site -- dump a CSEQ DDB site - * @asd_ha: pointer to host adapter structure - * @site_no: site number of interest - */ -void asd_dump_target_ddb(struct asd_ha_struct *asd_ha, u16 site_no) -{ - if (site_no >= asd_ha->hw_prof.max_ddbs) - return; - -#define DDB_FIELDB(__name) \ - asd_ddbsite_read_byte(asd_ha, site_no, \ - offsetof(struct asd_ddb_ssp_smp_target_port, __name)) -#define DDB2_FIELDB(__name) \ - asd_ddbsite_read_byte(asd_ha, site_no, \ - offsetof(struct asd_ddb_stp_sata_target_port, __name)) -#define DDB_FIELDW(__name) \ - asd_ddbsite_read_word(asd_ha, site_no, \ - offsetof(struct asd_ddb_ssp_smp_target_port, __name)) - -#define DDB_FIELDD(__name) \ - asd_ddbsite_read_dword(asd_ha, site_no, \ - offsetof(struct asd_ddb_ssp_smp_target_port, __name)) - - asd_printk("DDB: 0x%02x\n", site_no); - asd_printk("conn_type: 0x%02x\n", DDB_FIELDB(conn_type)); - asd_printk("conn_rate: 0x%02x\n", DDB_FIELDB(conn_rate)); - asd_printk("init_conn_tag: 0x%04x\n", be16_to_cpu(DDB_FIELDW(init_conn_tag))); - asd_printk("send_queue_head: 0x%04x\n", be16_to_cpu(DDB_FIELDW(send_queue_head))); - asd_printk("sq_suspended: 0x%02x\n", DDB_FIELDB(sq_suspended)); - asd_printk("DDB Type: 0x%02x\n", DDB_FIELDB(ddb_type)); - asd_printk("AWT Default: 0x%04x\n", DDB_FIELDW(awt_def)); - asd_printk("compat_features: 0x%02x\n", DDB_FIELDB(compat_features)); - asd_printk("Pathway Blocked Count: 0x%02x\n", - DDB_FIELDB(pathway_blocked_count)); - asd_printk("arb_wait_time: 0x%04x\n", DDB_FIELDW(arb_wait_time)); - asd_printk("more_compat_features: 0x%08x\n", - DDB_FIELDD(more_compat_features)); - asd_printk("Conn Mask: 0x%02x\n", DDB_FIELDB(conn_mask)); - asd_printk("flags: 0x%02x\n", DDB_FIELDB(flags)); - asd_printk("flags2: 0x%02x\n", DDB2_FIELDB(flags2)); - asd_printk("ExecQ Tail: 0x%04x\n",DDB_FIELDW(exec_queue_tail)); - asd_printk("SendQ Tail: 0x%04x\n",DDB_FIELDW(send_queue_tail)); - asd_printk("Active Task Count: 0x%04x\n", - DDB_FIELDW(active_task_count)); - asd_printk("ITNL Reason: 0x%02x\n", DDB_FIELDB(itnl_reason)); - asd_printk("ITNL Timeout Const: 0x%04x\n", DDB_FIELDW(itnl_timeout)); - asd_printk("ITNL timestamp: 0x%08x\n", DDB_FIELDD(itnl_timestamp)); -} - -void asd_dump_ddb_0(struct asd_ha_struct *asd_ha) -{ -#define DDB0_FIELDB(__name) \ - asd_ddbsite_read_byte(asd_ha, 0, \ - offsetof(struct asd_ddb_seq_shared, __name)) -#define DDB0_FIELDW(__name) \ - asd_ddbsite_read_word(asd_ha, 0, \ - offsetof(struct asd_ddb_seq_shared, __name)) - -#define DDB0_FIELDD(__name) \ - asd_ddbsite_read_dword(asd_ha,0 , \ - offsetof(struct asd_ddb_seq_shared, __name)) - -#define DDB0_FIELDA(__name, _o) \ - asd_ddbsite_read_byte(asd_ha, 0, \ - offsetof(struct asd_ddb_seq_shared, __name)+_o) - - - asd_printk("DDB: 0\n"); - asd_printk("q_free_ddb_head:%04x\n", DDB0_FIELDW(q_free_ddb_head)); - asd_printk("q_free_ddb_tail:%04x\n", DDB0_FIELDW(q_free_ddb_tail)); - asd_printk("q_free_ddb_cnt:%04x\n", DDB0_FIELDW(q_free_ddb_cnt)); - asd_printk("q_used_ddb_head:%04x\n", DDB0_FIELDW(q_used_ddb_head)); - asd_printk("q_used_ddb_tail:%04x\n", DDB0_FIELDW(q_used_ddb_tail)); - asd_printk("shared_mem_lock:%04x\n", DDB0_FIELDW(shared_mem_lock)); - asd_printk("smp_conn_tag:%04x\n", DDB0_FIELDW(smp_conn_tag)); - asd_printk("est_nexus_buf_cnt:%04x\n", DDB0_FIELDW(est_nexus_buf_cnt)); - asd_printk("est_nexus_buf_thresh:%04x\n", - DDB0_FIELDW(est_nexus_buf_thresh)); - asd_printk("conn_not_active:%02x\n", DDB0_FIELDB(conn_not_active)); - asd_printk("phy_is_up:%02x\n", DDB0_FIELDB(phy_is_up)); - asd_printk("port_map_by_links:%02x %02x %02x %02x " - "%02x %02x %02x %02x\n", - DDB0_FIELDA(port_map_by_links, 0), - DDB0_FIELDA(port_map_by_links, 1), - DDB0_FIELDA(port_map_by_links, 2), - DDB0_FIELDA(port_map_by_links, 3), - DDB0_FIELDA(port_map_by_links, 4), - DDB0_FIELDA(port_map_by_links, 5), - DDB0_FIELDA(port_map_by_links, 6), - DDB0_FIELDA(port_map_by_links, 7)); -} - -static void asd_dump_scb_site(struct asd_ha_struct *asd_ha, u16 site_no) -{ - -#define SCB_FIELDB(__name) \ - asd_scbsite_read_byte(asd_ha, site_no, sizeof(struct scb_header) \ - + offsetof(struct initiate_ssp_task, __name)) -#define SCB_FIELDW(__name) \ - asd_scbsite_read_word(asd_ha, site_no, sizeof(struct scb_header) \ - + offsetof(struct initiate_ssp_task, __name)) -#define SCB_FIELDD(__name) \ - asd_scbsite_read_dword(asd_ha, site_no, sizeof(struct scb_header) \ - + offsetof(struct initiate_ssp_task, __name)) - - asd_printk("Total Xfer Len: 0x%08x.\n", SCB_FIELDD(total_xfer_len)); - asd_printk("Frame Type: 0x%02x.\n", SCB_FIELDB(ssp_frame.frame_type)); - asd_printk("Tag: 0x%04x.\n", SCB_FIELDW(ssp_frame.tag)); - asd_printk("Target Port Xfer Tag: 0x%04x.\n", - SCB_FIELDW(ssp_frame.tptt)); - asd_printk("Data Offset: 0x%08x.\n", SCB_FIELDW(ssp_frame.data_offs)); - asd_printk("Retry Count: 0x%02x.\n", SCB_FIELDB(retry_count)); -} - -/** - * asd_dump_scb_sites -- dump currently used CSEQ SCB sites - * @asd_ha: pointer to host adapter struct - */ -void asd_dump_scb_sites(struct asd_ha_struct *asd_ha) -{ - u16 site_no; - - for (site_no = 0; site_no < asd_ha->hw_prof.max_scbs; site_no++) { - u8 opcode; - - if (!SCB_SITE_VALID(site_no)) - continue; - - /* We are only interested in SCB sites currently used. - */ - opcode = asd_scbsite_read_byte(asd_ha, site_no, - offsetof(struct scb_header, - opcode)); - if (opcode == 0xFF) - continue; - - asd_printk("\nSCB: 0x%x\n", site_no); - asd_dump_scb_site(asd_ha, site_no); - } -} - -#endif /* 0 */ - /** * ads_dump_seq_state -- dump CSEQ and LSEQ states * @asd_ha: pointer to host adapter structure @@ -908,42 +762,4 @@ void asd_dump_frame_rcvd(struct asd_phy *phy, spin_unlock_irqrestore(&phy->sas_phy.frame_rcvd_lock, flags); } -#if 0 - -static void asd_dump_scb(struct asd_ascb *ascb, int ind) -{ - asd_printk("scb%d: vaddr: 0x%p, dma_handle: 0x%llx, next: 0x%llx, " - "index:%d, opcode:0x%02x\n", - ind, ascb->dma_scb.vaddr, - (unsigned long long)ascb->dma_scb.dma_handle, - (unsigned long long) - le64_to_cpu(ascb->scb->header.next_scb), - le16_to_cpu(ascb->scb->header.index), - ascb->scb->header.opcode); -} - -void asd_dump_scb_list(struct asd_ascb *ascb, int num) -{ - int i = 0; - - asd_printk("dumping %d scbs:\n", num); - - asd_dump_scb(ascb, i++); - --num; - - if (num > 0 && !list_empty(&ascb->list)) { - struct list_head *el; - - list_for_each(el, &ascb->list) { - struct asd_ascb *s = list_entry(el, struct asd_ascb, - list); - asd_dump_scb(s, i++); - if (--num <= 0) - break; - } - } -} - -#endif /* 0 */ - #endif /* ASD_DEBUG */ From patchwork Wed Mar 3 14:46:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115125 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5086DC43332 for ; Thu, 4 Mar 2021 00:32:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1F7A564EBD for ; Thu, 4 Mar 2021 00:32:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1392014AbhCDAci (ORCPT ); Wed, 3 Mar 2021 19:32:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359710AbhCCOuf (ORCPT ); Wed, 3 Mar 2021 09:50:35 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F504C0613BF for ; Wed, 3 Mar 2021 06:47:41 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id b18so17491040wrn.6 for ; Wed, 03 Mar 2021 06:47:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FzboMeGsvBVDTSqmL3mV6e6l8GqozBpIfKeksb4g5kA=; b=YHkspBQQ+39QTR0mZ+hTCWl23QI8cmDaM7sJJmbKHgwkIQAxZ/6CixJ0LpZxwmvMl/ 0lv4xqrrilnI9Zxl5fJShO5FDsLSm7Pqy89cFahNAgLa/jofVwDJTigG21l7oRmakU/M WGUTwTe3rmkRA4vpHd0uoP1vc7QVibqNs4D+N/8IXqCxtmmq5AIl6Bd9TPPAiNB2T17d EIk8E8mfieDFe+WtTAqwV5E6CYWYgQtUUOJcR8YWUvE/1fsYvprFTSvOqAkhBFJ5/AKk rDRjfKHIEVM/HRDTAmcHDRU/gR9/WNqbHD062ac17p5A/oK+1MvwBHRDguT5KS107CQO 2jbA== 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=FzboMeGsvBVDTSqmL3mV6e6l8GqozBpIfKeksb4g5kA=; b=AvOVZo/YphFvNEGBuwxtIENrRXbrp5XMEiWIT5RsCpNrEsM0dqXnkXRgtqY9jTZ+gp BtXdhl8gIUI4dPAKYV7WlwfGFPEzbh1kTlqaduaVxMCkkEg6RZzj2FQyfGymnGycBLFk Hj/GwisAGI3thL+F7muOt2v1KJrh3rhCuuWvyr+FrKYhqfNWz/GUEUrTOLVLATJD7v0A ZurBvq2EM4CPH8ZYoLQ/fsUX0IJJuieVURjPuQRrMcFmJbyE5rxjA10cgSetWUmRJfti iO+tcHr6jzY6bGUZQl1hb8/LGSiuAVzjxb4uaBAu0k8gdd8cPhJ9pSwmppILlwSmOHVi BdHQ== X-Gm-Message-State: AOAM530SFrGJWbRFa0xBwRch2vU7neAJZLXXIhkTbXZjY7yi4BIdh7Xp k9ehPFQ7uznkLQ6FmHg6upsuWw== X-Google-Smtp-Source: ABdhPJw8noLs57ZQV8IKy3ecX1MyBIzUpkPiAEVpk3Q6N3xq05oll6q3quvNKVy+57RMtglsew1LQQ== X-Received: by 2002:adf:c101:: with SMTP id r1mr27901802wre.38.1614782859933; Wed, 03 Mar 2021 06:47:39 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:39 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Jack Wang , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 22/30] scsi: pm8001: pm80xx_hwi: Fix a bunch of doc-rotted function headers Date: Wed, 3 Mar 2021 14:46:23 +0000 Message-Id: <20210303144631.3175331-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/pm8001/pm80xx_hwi.c:1427: warning: expecting prototype for pm8001_chip_init(). Prototype was for pm80xx_chip_init() instead drivers/scsi/pm8001/pm80xx_hwi.c:1584: warning: expecting prototype for pm8001_chip_soft_rst(). Prototype was for pm80xx_chip_soft_rst() instead drivers/scsi/pm8001/pm80xx_hwi.c:1711: warning: expecting prototype for pm8001_chip_interrupt_enable(). Prototype was for pm80xx_chip_intx_interrupt_enable() instead drivers/scsi/pm8001/pm80xx_hwi.c:1722: warning: expecting prototype for pm8001_chip_intx_interrupt_disable(). Prototype was for pm80xx_chip_intx_interrupt_disable() instead drivers/scsi/pm8001/pm80xx_hwi.c:1733: warning: expecting prototype for pm8001_chip_interrupt_enable(). Prototype was for pm80xx_chip_interrupt_enable() instead drivers/scsi/pm8001/pm80xx_hwi.c:1752: warning: expecting prototype for pm8001_chip_interrupt_disable(). Prototype was for pm80xx_chip_interrupt_disable() instead drivers/scsi/pm8001/pm80xx_hwi.c:4192: warning: expecting prototype for pm8001_chip_smp_req(). Prototype was for pm80xx_chip_smp_req() instead drivers/scsi/pm8001/pm80xx_hwi.c:4775: warning: expecting prototype for pm8001_chip_phy_stop_req(). Prototype was for pm80xx_chip_phy_stop_req() instead drivers/scsi/pm8001/pm80xx_hwi.c:4907: warning: expecting prototype for pm8001_chip_isr(). Prototype was for pm80xx_chip_isr() instead Cc: Jack Wang Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones Acked-by: Jack Wang --- drivers/scsi/pm8001/pm80xx_hwi.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/scsi/pm8001/pm80xx_hwi.c b/drivers/scsi/pm8001/pm80xx_hwi.c index 84315560e8e1a..74ed072209f47 100644 --- a/drivers/scsi/pm8001/pm80xx_hwi.c +++ b/drivers/scsi/pm8001/pm80xx_hwi.c @@ -1420,7 +1420,7 @@ static int pm80xx_encrypt_update(struct pm8001_hba_info *pm8001_ha) } /** - * pm8001_chip_init - the main init function that initialize whole PM8001 chip. + * pm80xx_chip_init - the main init function that initialize whole PM8001 chip. * @pm8001_ha: our hba card information */ static int pm80xx_chip_init(struct pm8001_hba_info *pm8001_ha) @@ -1574,7 +1574,7 @@ pm80xx_fatal_errors(struct pm8001_hba_info *pm8001_ha) } /** - * pm8001_chip_soft_rst - soft reset the PM8001 chip, so that the clear all + * pm80xx_chip_soft_rst - soft reset the PM8001 chip, so that the clear all * the FW register status to the originated status. * @pm8001_ha: our hba card information */ @@ -1703,7 +1703,7 @@ static void pm80xx_hw_chip_rst(struct pm8001_hba_info *pm8001_ha) } /** - * pm8001_chip_interrupt_enable - enable PM8001 chip interrupt + * pm80xx_chip_intx_interrupt_enable - enable PM8001 chip interrupt * @pm8001_ha: our hba card information */ static void @@ -1714,7 +1714,7 @@ pm80xx_chip_intx_interrupt_enable(struct pm8001_hba_info *pm8001_ha) } /** - * pm8001_chip_intx_interrupt_disable- disable PM8001 chip interrupt + * pm80xx_chip_intx_interrupt_disable - disable PM8001 chip interrupt * @pm8001_ha: our hba card information */ static void @@ -1724,7 +1724,7 @@ pm80xx_chip_intx_interrupt_disable(struct pm8001_hba_info *pm8001_ha) } /** - * pm8001_chip_interrupt_enable - enable PM8001 chip interrupt + * pm80xx_chip_interrupt_enable - enable PM8001 chip interrupt * @pm8001_ha: our hba card information * @vec: interrupt number to enable */ @@ -1743,7 +1743,7 @@ pm80xx_chip_interrupt_enable(struct pm8001_hba_info *pm8001_ha, u8 vec) } /** - * pm8001_chip_interrupt_disable- disable PM8001 chip interrupt + * pm80xx_chip_interrupt_disable - disable PM8001 chip interrupt * @pm8001_ha: our hba card information * @vec: interrupt number to disable */ @@ -4183,7 +4183,7 @@ static void build_smp_cmd(u32 deviceID, __le32 hTag, } /** - * pm8001_chip_smp_req - send a SMP task to FW + * pm80xx_chip_smp_req - send a SMP task to FW * @pm8001_ha: our hba card information. * @ccb: the ccb information this request used. */ @@ -4766,7 +4766,7 @@ pm80xx_chip_phy_start_req(struct pm8001_hba_info *pm8001_ha, u8 phy_id) } /** - * pm8001_chip_phy_stop_req - start phy via PHY_STOP COMMAND + * pm80xx_chip_phy_stop_req - start phy via PHY_STOP COMMAND * @pm8001_ha: our hba card information. * @phy_id: the phy id which we wanted to start up. */ @@ -4898,7 +4898,7 @@ static u32 pm80xx_chip_is_our_interrupt(struct pm8001_hba_info *pm8001_ha) } /** - * pm8001_chip_isr - PM8001 isr handler. + * pm80xx_chip_isr - PM8001 isr handler. * @pm8001_ha: our hba card information. * @vec: irq number. */ From patchwork Wed Mar 3 14:46:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115127 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3CFEDC433E0 for ; Thu, 4 Mar 2021 00:32:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1A89364EBA for ; Thu, 4 Mar 2021 00:32:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355672AbhCDAcj (ORCPT ); Wed, 3 Mar 2021 19:32:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359761AbhCCOuu (ORCPT ); Wed, 3 Mar 2021 09:50:50 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F520C0611BF for ; Wed, 3 Mar 2021 06:47:42 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id u187so5392691wmg.4 for ; Wed, 03 Mar 2021 06:47:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GU8Y2fU2IPGLTocyu2Vs2OyGQon6ldafbekOMqUJ5SM=; b=M3q0WIe1Cnzq0w/d7Q+kHBzw27f0RuiCBJB7Xim0oB03tMl0FA88FSXO1wH9QA14vW ZIU/xJ/wRJ5rZhQZtn9lh7hX5c55tSVUjEC5klSItz8DIdMkaL/1SwBrYh+iYJuNbrLN bdeQtFltgGxvi0M/mlMz2HrhV41uRDfSm7hhF6aYRnqf5/SqoIsltPrcwdI4SRtzyCi7 JoJ3j6k7bE+BxykdsZIqsMPT+83RmowzJ6Md5gzsRQ1kRMb/3fxRupK1jBDN4gLKzcV0 zR4dKzovB+xi9fqFZ4uW488cbMynrswf5XQlCZfS3Et8rODuprLxP2CSA2jCkb5f+fAO c6hg== 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=GU8Y2fU2IPGLTocyu2Vs2OyGQon6ldafbekOMqUJ5SM=; b=ij1hyT17N6Mk83yWqvyjii2Fom3x/Yae2tMTJomF4F1fTlyLCwdBrZf5a10M1IKTcJ 97YYSbMQcSqnhU/GFjkw4S49PoyiT3PvLv39+AovxgP7yUSYCnTQRDpr/+AI4AypbDqw R3Ul9qlg6HuJfEBzUO7+lmxT1LxTNjuExv3fpkZKSjueP5qatZW6Nwo6Of6JeNeNqFF7 vECo2dhuR1DUUHns24J45TMeQWmKK+WoNLbOGWTwKk078d52ut+rEgfBSVBQ2rUEYhyL qEN9ex4QjbM3ibodGl05yOUCLcYR6bQPld8Uzjl+ygGlkKOm+sxn54FOLwulGDU8sSmm oUPg== X-Gm-Message-State: AOAM532Yh3wL8etB4+pYvod1BGNL2gbEcKCgBxmykpYy2u/XAQF3M0zk Tch3A1U8BYQ2RFQARsLSd6FioVGgtSjgHQ== X-Google-Smtp-Source: ABdhPJw4ZS6vhz895/y/q1aE97JtZo5BnoyyQUg+XtYLIs3G9VcdEShToaonr7xYVVEHHh4yAYKUDg== X-Received: by 2002:a1c:730a:: with SMTP id d10mr9233099wmb.53.1614782860947; Wed, 03 Mar 2021 06:47:40 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:40 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Nilesh Javali , GR-QLogic-Storage-Upstream@marvell.com, "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 23/30] scsi: qla2xxx: qla_gs: Fix some incorrect formatting/spelling issues Date: Wed, 3 Mar 2021 14:46:24 +0000 Message-Id: <20210303144631.3175331-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/qla2xxx/qla_gs.c:1259: warning: expecting prototype for qla2x00_snd_rft_id(). Prototype was for qla2x00_sns_rft_id() instead drivers/scsi/qla2xxx/qla_gs.c:1492: warning: expecting prototype for qla2x00_prep_ct_req(). Prototype was for qla2x00_prep_ct_fdmi_req() instead drivers/scsi/qla2xxx/qla_gs.c:1596: warning: expecting prototype for perform HBA attributes registration(). Prototype was for qla2x00_hba_attributes() instead drivers/scsi/qla2xxx/qla_gs.c:1851: warning: expecting prototype for perform Port attributes registration(). Prototype was for qla2x00_port_attributes() instead drivers/scsi/qla2xxx/qla_gs.c:2284: warning: expecting prototype for perform RPRT registration(). Prototype was for qla2x00_fdmi_rprt() instead Cc: Nilesh Javali Cc: GR-QLogic-Storage-Upstream@marvell.com Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/qla2xxx/qla_gs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c index 517d358b0031a..8e126afe61b11 100644 --- a/drivers/scsi/qla2xxx/qla_gs.c +++ b/drivers/scsi/qla2xxx/qla_gs.c @@ -1247,7 +1247,7 @@ qla2x00_sns_gnn_id(scsi_qla_host_t *vha, sw_info_t *list) } /** - * qla2x00_snd_rft_id() - SNS Register FC-4 TYPEs (RFT_ID) supported by the HBA. + * qla2x00_sns_rft_id() - SNS Register FC-4 TYPEs (RFT_ID) supported by the HBA. * @vha: HA context * * This command uses the old Exectute SNS Command mailbox routine. @@ -1479,7 +1479,7 @@ qla2x00_update_ms_fdmi_iocb(scsi_qla_host_t *vha, uint32_t req_size) } /** - * qla2x00_prep_ct_req() - Prepare common CT request fields for SNS query. + * qla2x00_prep_ct_fdmi_req() - Prepare common CT request fields for SNS query. * @p: CT request buffer * @cmd: GS command * @rsp_size: response size in bytes @@ -1582,7 +1582,7 @@ qla25xx_fdmi_port_speed_currently(struct qla_hw_data *ha) } /** - * qla2x00_hba_attributes() perform HBA attributes registration + * qla2x00_hba_attributes() - perform HBA attributes registration * @vha: HA context * @entries: number of entries to use * @callopt: Option to issue extended or standard FDMI @@ -1837,7 +1837,7 @@ qla2x00_hba_attributes(scsi_qla_host_t *vha, void *entries, } /** - * qla2x00_port_attributes() perform Port attributes registration + * qla2x00_port_attributes() - perform Port attributes registration * @vha: HA context * @entries: number of entries to use * @callopt: Option to issue extended or standard FDMI @@ -2272,7 +2272,7 @@ qla2x00_fdmi_dhba(scsi_qla_host_t *vha) } /** - * qla2x00_fdmi_rprt() perform RPRT registration + * qla2x00_fdmi_rprt() - perform RPRT registration * @vha: HA context * @callopt: Option to issue extended or standard FDMI * command parameter From patchwork Wed Mar 3 14:46:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115129 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B2ACC433E6 for ; Thu, 4 Mar 2021 00:32:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0576A64E51 for ; Thu, 4 Mar 2021 00:32:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359761AbhCDAck (ORCPT ); Wed, 3 Mar 2021 19:32:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231959AbhCCOv1 (ORCPT ); Wed, 3 Mar 2021 09:51:27 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95AE2C0610CF for ; Wed, 3 Mar 2021 06:47:43 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id e10so23732720wro.12 for ; Wed, 03 Mar 2021 06:47:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JU+OzGlISHB+ge1qgBUvVjRrdCnCO3htiJjDL9pREeI=; b=HMc50qQh9cd09cYIG6QD01/h5niTz8bCPw+HzI7Uoq2lfsa5UdM82wOWPB4CaMvNCB D12iH/DnSU77N2Wqbifg4N4gogw7biGBujJaDOOOiGZhRwfOO9/+QwDOIsjZ3A2D39sd AGaYWCydcZHeKZSrddaxPyCsL15QNbl9PodDCfhfbujtibFR27Sz7pNwfQX8x9JWpuTY jhpgpYvM0NrNPI3eRk3SCJRj4XKVTE9doLezAu3T3lLtPAXeZwbKnc64RqecWYidCBTK OOluURq+Rj5P4br22cS8LNl8wuFHlc6nCUh5hVplBTIqdybzDQH22lNeleZDOjJULbAO /DTg== 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=JU+OzGlISHB+ge1qgBUvVjRrdCnCO3htiJjDL9pREeI=; b=AaUX7fVWJpTP63WP/XT+rsLE58rvM7VuIJo2BK71oBXRIC0BMc8XXrf2ILCMknu7j8 6MAjz8N6hjcFwUTHog1kAgW/+AM+AB+EGlJffQxKV3RO9G8S/BK4DxbuvHUNfpvYut0p 7IYcJ6ou7xaRvbwEngK0uVWjs3x1C0sT6ySUEq8S9EruSqdV4qrvd+pnZsPYQ9mDuf4Z s51EB5fCRiw53zuOu2rIYknd9KvLJd7lze56FCCwaQbBQP0dlri9VEABEmv8uBkV7G2t a8A0seA4cWM9M+s9qmex1PJzGxcJmDMVRzA+Z3RppH1O/hNOuSWI0CvNndzLprqaUs8F /4Lw== X-Gm-Message-State: AOAM532nVkx+UPnf+LSC7F76sLtkEh/ff9kHzNppxiQJJFMMOXqmh+Fw g21KqqqcGtvz2/Uoth43W24hbA== X-Google-Smtp-Source: ABdhPJxhtMo2M6F/ShADs7uYEfBexSffsMa/v3IkcujKLhJKFjIkQau6EXGVtp2IPZS/6KsyLAriMg== X-Received: by 2002:adf:80c8:: with SMTP id 66mr28035909wrl.344.1614782862246; Wed, 03 Mar 2021 06:47:42 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:41 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Adaptec OEM Raid Solutions , "James E.J. Bottomley" , "Martin K. Petersen" , "PMC-Sierra, Inc" , linux-scsi@vger.kernel.org Subject: [PATCH 24/30] scsi: aacraid: rx: Fix misspelling of _aac_rx_init() Date: Wed, 3 Mar 2021 14:46:25 +0000 Message-Id: <20210303144631.3175331-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/rx.c:544: warning: expecting prototype for aac_rx_init(). Prototype was for _aac_rx_init() instead Cc: Adaptec OEM Raid Solutions Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: "PMC-Sierra, Inc" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/aacraid/rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/aacraid/rx.c b/drivers/scsi/aacraid/rx.c index cdccf9abcdc40..e06ff83b69ce2 100644 --- a/drivers/scsi/aacraid/rx.c +++ b/drivers/scsi/aacraid/rx.c @@ -532,7 +532,7 @@ int aac_rx_select_comm(struct aac_dev *dev, int comm) } /** - * aac_rx_init - initialize an i960 based AAC card + * _aac_rx_init - initialize an i960 based AAC card * @dev: device to configure * * Allocate and set up resources for the i960 based AAC variants. The From patchwork Wed Mar 3 14:46:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115131 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3AC8C433E6 for ; Thu, 4 Mar 2021 00:32:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B0B4764EEC for ; Thu, 4 Mar 2021 00:32:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377056AbhCDAcm (ORCPT ); Wed, 3 Mar 2021 19:32:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233931AbhCCOw2 (ORCPT ); Wed, 3 Mar 2021 09:52:28 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71AF8C0610D0 for ; Wed, 3 Mar 2021 06:47:44 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id u16so5970783wrt.1 for ; Wed, 03 Mar 2021 06:47:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2TKUb2pogZTiHfW1B3rSfT1K4dqbyioORwhrvyDot2U=; b=V76hOPhXM6n5sbOdIqGsjKx734PDA7I8KWpnyU8FWKAug7Pj0Px0y471jB/N6/CdNa IsAvwi/zf+gmdb6jKPF4ji88EBd31IVzUDogPcq+evJBZ9OIlIAF4Mnhpzqvz3GCVWAP wVqCvtPftp+r1GyofFJ90omac4zmPp61m/OVXH4CWLimoWmxW4ECudMlmaWA8jfTvOK2 s2yvI7RiCBoHPytDXFFGxht6R8JjnZrW9bpgYICfk6kAvVJzFvDMrZ/FTdRqCiQXNz+N V+80wHC1lvIxVpX3S5GO3Q13exKF8VRgKm7FTQoompxV/XiPpKYIlhHztPHBApE+sisl P7kQ== 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=2TKUb2pogZTiHfW1B3rSfT1K4dqbyioORwhrvyDot2U=; b=QElSyPXxmXuCDgVQv6E0E4aoRQTWRRmjD4LRP28hfHKYcd0FaPEvD0Y4KlyIH8gh7o dFw3rhFx7sepTh04M1xGzh0HvvfOzqJrVTE4AfY69MVPi//bkNI+wqbB2XCzGYA2IR6B QOQUtYxpOXORIKEeiteIqqtp/xl7Ad/Fl48rTC0yuuUQCkp2rVXrld+s/Hxd5vYpqVZq a8pxr1ya4rHZSqMsBXhM/ceZcBgKpBhBqqFnS6pc3aBJ1brZobgw+3uBPhDpMiu+EEJS yMaEeWjzRqsPFzpbJPmhZChI+X4nRbbY2I2xyAuyTIP9FCvhExfRHwLTKzpUUb3Gfj2d Z9Tw== X-Gm-Message-State: AOAM531p5NmB6M0mxvpWOsZqtoDCoguI5+dlFZxtO1ib3KIfMpOLYLso 5YYqrTQfmaQAPOuoaav+N7tbyw== X-Google-Smtp-Source: ABdhPJw225riBzew0Mb2AeNkQjzBr+B1EbV2TITo29vZCKSCpEKWuoeRKUETvWTN3PR3CFsBhnMEAg== X-Received: by 2002:adf:a2c2:: with SMTP id t2mr27330944wra.47.1614782863232; Wed, 03 Mar 2021 06:47:43 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:42 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, James Smart , Dick Kennedy , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 25/30] scsi: lpfc: lpfc_ct: Fix formatting and misspelling issues Date: Wed, 3 Mar 2021 14:46:26 +0000 Message-Id: <20210303144631.3175331-26-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/lpfc/lpfc_ct.c:153: warning: Function parameter or member 'ct_req' not described in 'lpfc_ct_reject_event' drivers/scsi/lpfc/lpfc_ct.c:153: warning: Function parameter or member 'rx_id' not described in 'lpfc_ct_reject_event' drivers/scsi/lpfc/lpfc_ct.c:153: warning: Function parameter or member 'ox_id' not described in 'lpfc_ct_reject_event' drivers/scsi/lpfc/lpfc_ct.c:283: warning: Function parameter or member 'ctiocbq' not described in 'lpfc_ct_handle_mibreq' drivers/scsi/lpfc/lpfc_ct.c:283: warning: Excess function parameter 'ctiocb' description in 'lpfc_ct_handle_mibreq' Cc: James Smart Cc: Dick Kennedy Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/lpfc/lpfc_ct.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c index dd0b432f7ac5a..37b0c20249988 100644 --- a/drivers/scsi/lpfc/lpfc_ct.c +++ b/drivers/scsi/lpfc/lpfc_ct.c @@ -137,11 +137,11 @@ lpfc_ct_unsol_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, } /** - * lpfc_ct_reject_event : Issue reject for unhandled CT MIB commands - * @ndlp : pointer to a node-list data structure. - * ct_req : pointer to the CT request data structure. - * rx_id : rx_id of the received UNSOL CT command - * ox_id : ox_id of the UNSOL CT command + * lpfc_ct_reject_event - Issue reject for unhandled CT MIB commands + * @ndlp: pointer to a node-list data structure. + * @ct_req: pointer to the CT request data structure. + * @rx_id: rx_id of the received UNSOL CT command + * @ox_id: ox_id of the UNSOL CT command * * This routine is invoked by the lpfc_ct_handle_mibreq routine for sending * a reject response. Reject response is sent for the unhandled commands. @@ -272,7 +272,7 @@ lpfc_ct_reject_event(struct lpfc_nodelist *ndlp, /** * lpfc_ct_handle_mibreq - Process an unsolicited CT MIB request data buffer * @phba: pointer to lpfc hba data structure. - * @ctiocb: pointer to lpfc CT command iocb data structure. + * @ctiocbq: pointer to lpfc CT command iocb data structure. * * This routine is used for processing the IOCB associated with a unsolicited * CT MIB request. It first determines whether there is an existing ndlp that From patchwork Wed Mar 3 14:46:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115137 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7676C4332E for ; Thu, 4 Mar 2021 00:32:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C40C264EEE for ; Thu, 4 Mar 2021 00:32:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355450AbhCDAct (ORCPT ); Wed, 3 Mar 2021 19:32:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234429AbhCCOw2 (ORCPT ); Wed, 3 Mar 2021 09:52:28 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8047AC0610D2 for ; Wed, 3 Mar 2021 06:47:45 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id w7so5393063wmb.5 for ; Wed, 03 Mar 2021 06:47:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=U92/RQ3hpLZuYnPJtsOpX25Ju+xsfO8zWOU6k76xGHs=; b=rNsskH/w5bS8B3UXyXbYeb3x7TdttXqfSrFaKyJlnbBo1iMvOfaWCQkN4RiP4tsGty /7poK+nS0jVRPENWhBrjf0utc734Ad17uNRMG4/DmK3dNspWCkP/BFkegAQdcUG/LJmg cBCHzxDaohMBfzaR9MjbVuSF9T8ExP+jj22uuGWrg6VMUHMhvR9ExgZHk8XK2yeHlfEa /EVJ9pgupROEK05kfYBn67Z83PZFGEG52eJvDNc7bufAEFVgdnKIxR093iKcA1iOijPz AjGb3qxQh1oLKCevw2Duftgx+kDg1GePvYUqGHh9X2QDluwVFkkpN0xTYK71ex45kpSR QFrw== 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=U92/RQ3hpLZuYnPJtsOpX25Ju+xsfO8zWOU6k76xGHs=; b=H4o5vCAIVnQy6T59FpnvthatFVcZBIMqiRMJ4x4u7/ZstSn+iR+qblvuErMkEG0NKh gCRS+me21YjX71AxHzJl98H5Xc6K1172xkXlVgOd3DozfV8qdEnRGePOCsoJb0WoRrsc qi7L9MV1ZQCYa7M5RqGtwOQue3Myg7CIETljQgKfo7m3YojuIOn8YNqt1/2G4Jy7cEcA vGbs2sIs+bWoCiT3Ac+ehjaCn/ZfTUd1kZ0zOdwsXSDC10YkB36D1Ga1+L7hjMjo0aUp CDNoju7MvbsO7rxkRYJWamcJu1nWg4hISf47iinknt5F6uqs57kA3q0UBMB4hd1Sx0I7 HfmQ== X-Gm-Message-State: AOAM532J9VGwOptBhmEPbIU7uDHJBCUAqeBJCDlN0idf8/aCfrrs/3NK wFKJXkwbeCxHccR0jBy53wm8dQtFF0W0EA== X-Google-Smtp-Source: ABdhPJyE6wgr9mNM1wEy0PMtTFZ9XEX7/Vl2VTHLplVq+KbhEEYuWhfAvSSaU02WJTkn1TEh6UY1Xw== X-Received: by 2002:a05:600c:1550:: with SMTP id f16mr5448736wmg.97.1614782864204; Wed, 03 Mar 2021 06:47:44 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:43 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Hannes Reinecke , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 26/30] scsi: libfc: fc_lport: Fix some possible copy/paste issues Date: Wed, 3 Mar 2021 14:46:27 +0000 Message-Id: <20210303144631.3175331-27-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/libfc/fc_lport.c:710: warning: expecting prototype for fc_rport_enter_ready(). Prototype was for fc_lport_enter_ready() instead drivers/scsi/libfc/fc_lport.c:759: warning: expecting prototype for fc_lport_set_port_id(). Prototype was for fc_lport_set_local_id() instead drivers/scsi/libfc/fc_lport.c:1400: warning: expecting prototype for fc_rport_enter_dns(). Prototype was for fc_lport_enter_dns() instead drivers/scsi/libfc/fc_lport.c:1516: warning: expecting prototype for fc_rport_enter_fdmi(). Prototype was for fc_lport_enter_fdmi() instead drivers/scsi/libfc/fc_lport.c:1647: warning: expecting prototype for fc_rport_enter_logo(). Prototype was for fc_lport_enter_logo() instead drivers/scsi/libfc/fc_lport.c:1789: warning: expecting prototype for fc_rport_enter_flogi(). Prototype was for fc_lport_enter_flogi() instead Cc: Hannes Reinecke Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/libfc/fc_lport.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c index 22826544da7e7..78bd317f0553b 100644 --- a/drivers/scsi/libfc/fc_lport.c +++ b/drivers/scsi/libfc/fc_lport.c @@ -703,7 +703,7 @@ static void fc_lport_disc_callback(struct fc_lport *lport, } /** - * fc_rport_enter_ready() - Enter the ready state and start discovery + * fc_lport_enter_ready() - Enter the ready state and start discovery * @lport: The local port that is ready */ static void fc_lport_enter_ready(struct fc_lport *lport) @@ -747,7 +747,7 @@ static void fc_lport_set_port_id(struct fc_lport *lport, u32 port_id, } /** - * fc_lport_set_port_id() - set the local port Port ID for point-to-multipoint + * fc_lport_set_local_id() - set the local port Port ID for point-to-multipoint * @lport: The local port which will have its Port ID set. * @port_id: The new port ID. * @@ -1393,7 +1393,7 @@ static struct fc_rport_operations fc_lport_rport_ops = { }; /** - * fc_rport_enter_dns() - Create a fc_rport for the name server + * fc_lport_enter_dns() - Create a fc_rport for the name server * @lport: The local port requesting a remote port for the name server */ static void fc_lport_enter_dns(struct fc_lport *lport) @@ -1509,7 +1509,7 @@ static void fc_lport_enter_ms(struct fc_lport *lport, enum fc_lport_state state) } /** - * fc_rport_enter_fdmi() - Create a fc_rport for the management server + * fc_lport_enter_fdmi() - Create a fc_rport for the management server * @lport: The local port requesting a remote port for the management server */ static void fc_lport_enter_fdmi(struct fc_lport *lport) @@ -1640,7 +1640,7 @@ void fc_lport_logo_resp(struct fc_seq *sp, struct fc_frame *fp, EXPORT_SYMBOL(fc_lport_logo_resp); /** - * fc_rport_enter_logo() - Logout of the fabric + * fc_lport_enter_logo() - Logout of the fabric * @lport: The local port to be logged out */ static void fc_lport_enter_logo(struct fc_lport *lport) @@ -1782,7 +1782,7 @@ void fc_lport_flogi_resp(struct fc_seq *sp, struct fc_frame *fp, EXPORT_SYMBOL(fc_lport_flogi_resp); /** - * fc_rport_enter_flogi() - Send a FLOGI request to the fabric manager + * fc_lport_enter_flogi() - Send a FLOGI request to the fabric manager * @lport: Fibre Channel local port to be logged in to the fabric */ static void fc_lport_enter_flogi(struct fc_lport *lport) From patchwork Wed Mar 3 14:46:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115135 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02D84C432C3 for ; Thu, 4 Mar 2021 00:32:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CF93D64E62 for ; Thu, 4 Mar 2021 00:32:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344206AbhCDAcu (ORCPT ); Wed, 3 Mar 2021 19:32:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234850AbhCCOw2 (ORCPT ); Wed, 3 Mar 2021 09:52:28 -0500 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99AC6C0610D4 for ; Wed, 3 Mar 2021 06:47:46 -0800 (PST) Received: by mail-wm1-x331.google.com with SMTP id k66so6597479wmf.1 for ; Wed, 03 Mar 2021 06:47:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lBd3mhum3iznaNqZKn6V0dfRsruKQEBvPHwSxnJLfOw=; b=TA2ez8f1+NR17l8Kjs4orjAaRYg+zV3POcSh9BRZj/iq+c5wSnTeqe5tUo3QL04/e9 +CR9MwU87UNZP69kNmstRS90LeXzoR6cQbcN9QIi8KbxMwnlwX9geOH8iykT+OS6OiXW HhUGm8MrzFONvdUBzyQ0a3vpLk7TZHvHG/PHJ6HH+lYWPnn8m2/zRc0c+4wRRLWXeG1/ qjyllCGCgHJ+8kc456nPvVo/p4UB4uI/yAz/wb6HcgDl9VedE5DL92TsUulu13GfnKRT Im+miH5KyuHozlU+1RLgYoU7jJR2rkCBuLJH9QUh30NQd9R0sAzpn4NdpQFUazIS3dlq RuGg== 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=lBd3mhum3iznaNqZKn6V0dfRsruKQEBvPHwSxnJLfOw=; b=KVxF2hiWW1zLNGHrinu/lQ1OZJ8JUd4jk4bRweBNcvs0XqLpjsFJs/a6TNUIezgoiU RKBet+1acVC5ib1QQqXfzSMHOSJw/oQYbUClLDVkdEa+sWGSnHvPMU3RSShgOKlSPUge iu6hrUV4OfsbrRBGNwsuCkMxa/s39XKT+2h8wFBj8jiHWpfcJAt+R/mNV0hbRD3gBFkt i9bmOO98/76vILPjo0+uzwnRBJypkncGMr1LZp36lSIhgMX1qtFXe09kM3ehFW7CrtGf DotpEmndobscx97idchmpMnZq1o/bhc4L2vCNjj61GmKzOIkfWB4UhkEUI4hLVkgGIGd DPvg== X-Gm-Message-State: AOAM533lKtZb5uDoh3WPee3NmuSqfBjGnbgylMwJMH3vX2tH79FEoAT7 Ylw2RPTVcyxZ6NB4SVv1elYjHg== X-Google-Smtp-Source: ABdhPJyoUpg+wabiSX2sgKaMiIAIZGMnh5GPtY5xy2cqfeln3gomca4nX0KM/2O9xjq8DEUaNKzUcw== X-Received: by 2002:a1c:7715:: with SMTP id t21mr9377894wmi.132.1614782865345; Wed, 03 Mar 2021 06:47:45 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:44 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, James Smart , Dick Kennedy , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 27/30] scsi: lpfc: lpfc_hbadisc: Fix incorrect naming of __lpfc_update_fcf_record() Date: Wed, 3 Mar 2021 14:46:28 +0000 Message-Id: <20210303144631.3175331-28-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/lpfc/lpfc_hbadisc.c:1505: warning: expecting prototype for lpfc_update_fcf_record(). Prototype was for __lpfc_update_fcf_record() instead Cc: James Smart Cc: Dick Kennedy Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/lpfc/lpfc_hbadisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c index 48ca4a612f801..15d6d88333c10 100644 --- a/drivers/scsi/lpfc/lpfc_hbadisc.c +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c @@ -1486,7 +1486,7 @@ lpfc_copy_fcf_record(struct lpfc_fcf_rec *fcf_rec, } /** - * lpfc_update_fcf_record - Update driver fcf record + * __lpfc_update_fcf_record - Update driver fcf record * @phba: pointer to lpfc hba data structure. * @fcf_rec: pointer to driver fcf record. * @new_fcf_record: pointer to hba fcf record. From patchwork Wed Mar 3 14:46:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115143 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D074C433E9 for ; Thu, 4 Mar 2021 00:32:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 318AA64EEC for ; Thu, 4 Mar 2021 00:32:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351819AbhCDAc5 (ORCPT ); Wed, 3 Mar 2021 19:32:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237968AbhCCOxX (ORCPT ); Wed, 3 Mar 2021 09:53:23 -0500 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B47E0C0610E1 for ; Wed, 3 Mar 2021 06:47:47 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id 7so23993354wrz.0 for ; Wed, 03 Mar 2021 06:47:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3nQ26BmiCafa3FcoFatnT2ebufwkcfecUnddyGMPtQw=; b=ekehDAxn4FmhM98+yYpuGr+pA1hZiyxKHaz1+qp1m9jcuqFRBZQsPLha7siQv0+1AI UcB0fGztuRW2T/+vypyQ2fF/flUEcLr2YxVrw7NGWFB8Qc5kOp/lUj/AlXGGLz0ozNRU 2v6vt12cwVQbyoKU1wSUPesepL8hNle0APTEXZEVgDmrwhnz6OSv+d1p0yjI7AjykTXs hYq6AckV1NKVnpq7gUULvwJje5EYarukB0/FBNMnqFknQdDpKgkScPj6lQDSeyw/LDtJ 4X/A1PmKxfjass0cgIkKvsDDyPl+7qYdUwiMpstxELNBsc1SWI269fZ8fL0PnuCH9g5d 5XIA== 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=3nQ26BmiCafa3FcoFatnT2ebufwkcfecUnddyGMPtQw=; b=DM1/3wLlihlgnNh8i2gBgUVpbJjX3vx0sqAAbutT5IQ6HGlmqv3GTolkplHxLl/VcY wmfhHzAbR3dkhg9J0Uzq+EkTtMnI8d/VPmADvOYoqTMyO+xe3pkASfV5YzEFwg319oyI dFP5KQa62sd4RxL0Z/LzqjoIo9qO2G8O3GF9xIcALf/K+2O/wsb08hfLG08fm7nMW7iG EC8CntPahy8pHa24K+s4+AQuQAiSQiqyAMuKetKFNKkvaJfYlxIV8/HcY0Auk1OR/X3c 2ZOacnrbDXI1XlfGGntyL5FJpKU2TIJH+DwCC26hu0gjvw5HtR+kSZ4BLW5R61sAAGmD zoRQ== X-Gm-Message-State: AOAM5320LkA7irduWH6ZKNNpQhDUDaV+DGGzsEXItXOwy+T+yUWk9ZAE S1HpkpcoA6HPtIaiawoC3dEPmg== X-Google-Smtp-Source: ABdhPJwRp4SUIDdZh0ks87Egn0EpEVb1DjR0onSjQk0goGxGTDAmM9M6831gGZ3GEUPi/6eeuMGsNg== X-Received: by 2002:a5d:544c:: with SMTP id w12mr28465741wrv.310.1614782866386; Wed, 03 Mar 2021 06:47:46 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:45 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Sathya Prakash , Sreekanth Reddy , Suganath Prabu Subramani , "James E.J. Bottomley" , "Martin K. Petersen" , MPT-FusionLinux.pdl@avagotech.com, MPT-FusionLinux.pdl@broadcom.com, linux-scsi@vger.kernel.org Subject: [PATCH 28/30] scsi: mpt3sas: mpt3sas_base: Fix misspelling of _base_put_smid_default_atomic() Date: Wed, 3 Mar 2021 14:46:29 +0000 Message-Id: <20210303144631.3175331-29-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/mpt3sas/mpt3sas_base.c:4185: warning: expecting prototype for _base_put_smid_default(). Prototype was for _base_put_smid_default_atomic() instead Cc: Sathya Prakash Cc: Sreekanth Reddy Cc: Suganath Prabu Subramani Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: MPT-FusionLinux.pdl@avagotech.com Cc: MPT-FusionLinux.pdl@broadcom.com Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/mpt3sas/mpt3sas_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c index 504ed856d4797..69586ab16cb65 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_base.c +++ b/drivers/scsi/mpt3sas/mpt3sas_base.c @@ -4172,7 +4172,7 @@ _base_put_smid_hi_priority_atomic(struct MPT3SAS_ADAPTER *ioc, u16 smid, } /** - * _base_put_smid_default - Default, primarily used for config pages + * _base_put_smid_default_atomic - Default, primarily used for config pages * use Atomic Request Descriptor * @ioc: per adapter object * @smid: system request message index From patchwork Wed Mar 3 14:46:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115139 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BE56C433E9 for ; Thu, 4 Mar 2021 00:32:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 78BE764EE3 for ; Thu, 4 Mar 2021 00:32:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355693AbhCDAcw (ORCPT ); Wed, 3 Mar 2021 19:32:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238097AbhCCOxX (ORCPT ); Wed, 3 Mar 2021 09:53:23 -0500 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 4AB2FC0604DD for ; Wed, 3 Mar 2021 06:47:51 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id k66so6597708wmf.1 for ; Wed, 03 Mar 2021 06:47:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dVGY+2eVCzb/plLTl5wPYqGdorDqWqmvQcwoi8RclRE=; b=LU402gc4bmHicdpFm3WTCCDyVaNj3gfK0eQ//P/3UXc0RO37znWGJtNg9MHCyf7uJH WgXVe1rH2uCSKfu8f95QI1C32rE6gGg/NHcHQAhkNLAnICzS/SGjdgfoWW9VX9hpqP1A Adf3dXrYLsIusqq0czBOqaw/2ZsHx3aVmfG9V6QfgmHpAFsjZR/ZKKsyJNAst3ZwIJDI 5hqRtUnX1KOZR2Ci/ZCMafK472Enx+NgS8k0j01WsZvZRaOt0NKwQYLRDswC6AahQdlk ufusJWii89hzbTXZluOqEiZynfI9/y5VZeYtOV59PtPqykJHtbuJQbd7U6tEmFGFrl4O tplw== 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=dVGY+2eVCzb/plLTl5wPYqGdorDqWqmvQcwoi8RclRE=; b=Qo4bJksETEvwnHedy1ytl2DTJOkKzPUnbDgYJk73VP5RT/ipnAZn+0LjxB1EKvnIo5 ZAup3otZQNVS77KSOHs66rtPKORUjw5XUbj7tPUvmuvXY9MZNA6rUoxwvlyO4zApYwGs 8QDX/AwsoohDxHwy5I7KKO6z7Psyy+PhcW9SKhZTxGhjZ6F6zvSq98rh9Rny5u1CN7Mx q1xCUB89erJwxI9lpPrdjiN5vFEFGTMosXDMk4N4lbB4eb34r6RQ4ulDFVdqLS8BRY/z 9JkvmnJpJPSF1JCEzjzjGic0XCslisMozFE7zdi6SjRLtFFkiRJT9qICXiyG1LmRJQbC C4fg== X-Gm-Message-State: AOAM532wvy4nrAlwewJi8JNDlwlPONW71kj693xryZKywiIlDI86ovVM 2oKEtKY1X2GbOa3wnpBSrpVFWQ== X-Google-Smtp-Source: ABdhPJy+7UfIOPpgeTPojOLx8GUyLfk9FGzs0T3v9/Bdp6I9M66m5yG0d1EAmp8cuc7Aci1NZr8jOA== X-Received: by 2002:a7b:c10c:: with SMTP id w12mr9672843wmi.112.1614782868292; Wed, 03 Mar 2021 06:47:48 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:46 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, James Smart , Dick Kennedy , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org Subject: [PATCH 29/30] scsi: lpfc: lpfc_nportdisc: Fix misspelling of lpfc_defer_acc_rsp() Date: Wed, 3 Mar 2021 14:46:30 +0000 Message-Id: <20210303144631.3175331-30-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/lpfc/lpfc_nportdisc.c:345: warning: expecting prototype for lpfc_defer_tgt_acc(). Prototype was for lpfc_defer_acc_rsp() instead Cc: James Smart Cc: Dick Kennedy Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/lpfc/lpfc_nportdisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/lpfc/lpfc_nportdisc.c b/drivers/scsi/lpfc/lpfc_nportdisc.c index 135d8e8a42ba2..ffd41cc7c96c6 100644 --- a/drivers/scsi/lpfc/lpfc_nportdisc.c +++ b/drivers/scsi/lpfc/lpfc_nportdisc.c @@ -329,7 +329,7 @@ lpfc_defer_pt2pt_acc(struct lpfc_hba *phba, LPFC_MBOXQ_t *link_mbox) } /** - * lpfc_defer_tgt_acc - Progress SLI4 target rcv PLOGI handler + * lpfc_defer_acc_rsp - Progress SLI4 target rcv PLOGI handler * @phba: Pointer to HBA context object. * @pmb: Pointer to mailbox object. * From patchwork Wed Mar 3 14:46:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12115141 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85CFCC433DB for ; Thu, 4 Mar 2021 00:32:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 61F3864E62 for ; Thu, 4 Mar 2021 00:32:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351766AbhCDAc4 (ORCPT ); Wed, 3 Mar 2021 19:32:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237996AbhCCOxX (ORCPT ); Wed, 3 Mar 2021 09:53:23 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B17BFC061760 for ; Wed, 3 Mar 2021 06:48:16 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id u187so5394230wmg.4 for ; Wed, 03 Mar 2021 06:48:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nA9wVETTE+l5uPS+DZDdIXSJ2iBKhK6p+7XSOzWKHSU=; b=hlS4E2IDwIa1PMDMgxwXk7gU4hEHRXkOuLGlqiLu4q8Vnuj6pH7JtS/qQLVXpnKl90 jnGBdcO/Gr4aSLGNkDEUBG8KLMfkXL2zN6cOZp73fWqZ0o+YTbhOcJE8ED7cHKeemwqw w3cBksK1PxnCZnTJgzjSLZ5+B/h5Rn4kOFnHn3XDR4h9TnP80XIoIoxZ/hrQM2RU6z3r faXhSuWnEe89E/lKDVJYBfI6yXz5XWNzg4EDOrlv7ubnqClNVacBehfpGyFoJ4uG13KW iWEvpR4Xp21nuOsQnDaCMSp+CAIFQiWhrj2uw/U1x+Z5ddWrHb+z3Cyb8CNWnm5JU0wH UDxg== 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=nA9wVETTE+l5uPS+DZDdIXSJ2iBKhK6p+7XSOzWKHSU=; b=sGa23fH+uHJQIspNuizspXebT1HGhmlfdPSFLuOjRWr9w7m/rym53fCZTOkPWZ4ydJ H8y2m2NnKFoBBpGPY4acNQ/S81AHNS2xVpb8ajRrIUZ9OKjhi+QeOtYFHoQIWF/A2nIJ qhmo2mmLiOb6yjxs1NQXzOgc+1ubb4W9Xhe3cPkFbioP/eAtFpFZZAJ6QO+9wVHFG1KQ 0gq0fK8LvtPJRu/WyjzQgr4n3Tehp0DOnP5D41EmK4AZCP4YDQATHGNMSXRhm8GcHUlu /SJvb8Tr7GrtWLuEONOlsqB+QnU63E7v3YWlt2gDmvCap9b1NQyRgrnZp/YieVZRZxgw kiOQ== X-Gm-Message-State: AOAM530Isu0iqT71yPdynbjAp8R1lthd/wYzuiHTNfdRmIYhEnNsnSIl QceNNC0tNTIeAPuk3LwRgj79UQ== X-Google-Smtp-Source: ABdhPJxDDcx0g9CaC/EPknkMQfkF94FQ1DT/mhH9ELNTWFxUSu+zitclXAEe8hBFA3H3IpwbEltmTQ== X-Received: by 2002:a1c:8005:: with SMTP id b5mr9580831wmd.130.1614782878600; Wed, 03 Mar 2021 06:47:58 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:50 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Sathya Prakash , Sreekanth Reddy , Suganath Prabu Subramani , "James E.J. Bottomley" , "Martin K. Petersen" , MPT-FusionLinux.pdl@avagotech.com, MPT-FusionLinux.pdl@broadcom.com, linux-scsi@vger.kernel.org Subject: [PATCH 30/30] scsi: mpt3sas: mpt3sas_scs: Move a little data from the stack onto the heap Date: Wed, 3 Mar 2021 14:46:31 +0000 Message-Id: <20210303144631.3175331-31-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/mpt3sas/mpt3sas_scsih.c: In function ‘_scsih_scan_for_devices_after_reset’: drivers/scsi/mpt3sas/mpt3sas_scsih.c:10473:1: warning: the frame size of 1064 bytes is larger than 1024 bytes [-Wframe-larger-than=] Cc: Sathya Prakash Cc: Sreekanth Reddy Cc: Suganath Prabu Subramani Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: MPT-FusionLinux.pdl@avagotech.com Cc: MPT-FusionLinux.pdl@broadcom.com Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 38 +++++++++++++++++++--------- 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c index 7bd0a57e5b928..945531e94d7e4 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c +++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c @@ -10219,8 +10219,8 @@ _scsih_scan_for_devices_after_reset(struct MPT3SAS_ADAPTER *ioc) Mpi2ExpanderPage0_t expander_pg0; Mpi2SasDevicePage0_t sas_device_pg0; Mpi26PCIeDevicePage0_t pcie_device_pg0; - Mpi2RaidVolPage1_t volume_pg1; - Mpi2RaidVolPage0_t volume_pg0; + Mpi2RaidVolPage1_t *volume_pg1; + Mpi2RaidVolPage0_t *volume_pg0; Mpi2RaidPhysDiskPage0_t pd_pg0; Mpi2EventIrConfigElement_t element; Mpi2ConfigReply_t mpi_reply; @@ -10235,6 +10235,16 @@ _scsih_scan_for_devices_after_reset(struct MPT3SAS_ADAPTER *ioc) u8 retry_count; unsigned long flags; + volume_pg0 = kzalloc(sizeof(*volume_pg0), GFP_KERNEL); + if (!volume_pg0) + return; + + volume_pg1 = kzalloc(sizeof(*volume_pg1), GFP_KERNEL); + if (!volume_pg1) { + kfree(volume_pg0); + return; + } + ioc_info(ioc, "scan devices: start\n"); _scsih_sas_host_refresh(ioc); @@ -10344,7 +10354,7 @@ _scsih_scan_for_devices_after_reset(struct MPT3SAS_ADAPTER *ioc) /* volumes */ handle = 0xFFFF; while (!(mpt3sas_config_get_raid_volume_pg1(ioc, &mpi_reply, - &volume_pg1, MPI2_RAID_VOLUME_PGAD_FORM_GET_NEXT_HANDLE, handle))) { + volume_pg1, MPI2_RAID_VOLUME_PGAD_FORM_GET_NEXT_HANDLE, handle))) { ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; if (ioc_status != MPI2_IOCSTATUS_SUCCESS) { @@ -10352,15 +10362,15 @@ _scsih_scan_for_devices_after_reset(struct MPT3SAS_ADAPTER *ioc) ioc_status, le32_to_cpu(mpi_reply.IOCLogInfo)); break; } - handle = le16_to_cpu(volume_pg1.DevHandle); + handle = le16_to_cpu(volume_pg1->DevHandle); spin_lock_irqsave(&ioc->raid_device_lock, flags); raid_device = _scsih_raid_device_find_by_wwid(ioc, - le64_to_cpu(volume_pg1.WWID)); + le64_to_cpu(volume_pg1->WWID)); spin_unlock_irqrestore(&ioc->raid_device_lock, flags); if (raid_device) continue; if (mpt3sas_config_get_raid_volume_pg0(ioc, &mpi_reply, - &volume_pg0, MPI2_RAID_VOLUME_PGAD_FORM_HANDLE, handle, + volume_pg0, MPI2_RAID_VOLUME_PGAD_FORM_HANDLE, handle, sizeof(Mpi2RaidVolPage0_t))) continue; ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & @@ -10370,17 +10380,17 @@ _scsih_scan_for_devices_after_reset(struct MPT3SAS_ADAPTER *ioc) ioc_status, le32_to_cpu(mpi_reply.IOCLogInfo)); break; } - if (volume_pg0.VolumeState == MPI2_RAID_VOL_STATE_OPTIMAL || - volume_pg0.VolumeState == MPI2_RAID_VOL_STATE_ONLINE || - volume_pg0.VolumeState == MPI2_RAID_VOL_STATE_DEGRADED) { + if (volume_pg0->VolumeState == MPI2_RAID_VOL_STATE_OPTIMAL || + volume_pg0->VolumeState == MPI2_RAID_VOL_STATE_ONLINE || + volume_pg0->VolumeState == MPI2_RAID_VOL_STATE_DEGRADED) { memset(&element, 0, sizeof(Mpi2EventIrConfigElement_t)); element.ReasonCode = MPI2_EVENT_IR_CHANGE_RC_ADDED; - element.VolDevHandle = volume_pg1.DevHandle; + element.VolDevHandle = volume_pg1->DevHandle; ioc_info(ioc, "\tBEFORE adding volume: handle (0x%04x)\n", - volume_pg1.DevHandle); + volume_pg1->DevHandle); _scsih_sas_volume_add(ioc, &element); ioc_info(ioc, "\tAFTER adding volume: handle (0x%04x)\n", - volume_pg1.DevHandle); + volume_pg1->DevHandle); } } @@ -10468,6 +10478,10 @@ _scsih_scan_for_devices_after_reset(struct MPT3SAS_ADAPTER *ioc) ioc_info(ioc, "\tAFTER adding pcie end device: handle (0x%04x), wwid(0x%016llx)\n", handle, (u64)le64_to_cpu(pcie_device_pg0.WWID)); } + + kfree(volume_pg0); + kfree(volume_pg1); + ioc_info(ioc, "\tpcie devices: pcie end devices complete\n"); ioc_info(ioc, "scan devices: complete\n"); }