From patchwork Fri Feb 24 14:43:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjan Kumar X-Patchwork-Id: 656742 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 80B3BC678D5 for ; Fri, 24 Feb 2023 14:44:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230064AbjBXOob (ORCPT ); Fri, 24 Feb 2023 09:44:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229725AbjBXOoM (ORCPT ); Fri, 24 Feb 2023 09:44:12 -0500 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8473AEFA0 for ; Fri, 24 Feb 2023 06:44:11 -0800 (PST) Received: by mail-pj1-x102f.google.com with SMTP id h17-20020a17090aea9100b0023739b10792so2940645pjz.1 for ; Fri, 24 Feb 2023 06:44:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=KIDBF/+Ua3TcsasxkW+YWu4Sm8igk5LQyl6p/YIxkis=; b=BdqmmChnIWw9xf9ZvBujEHnPUZ0a7blikFx0KY3zpGFBTCxnurFR5poFK6NG+rp1em vY9Gx6gaRFrP+Pwg8yJ8g0laO3z6tp7Y+/NGHmB30uoHComtnEWxbsNFlXfsHKhbJ0ql p20Ao9VHyLtaFXKdie8oG5rEUeBRhRi7PKAXY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KIDBF/+Ua3TcsasxkW+YWu4Sm8igk5LQyl6p/YIxkis=; b=t7o/8pK5HDK7N/7TVM2rbySwHDBqbWIM7CJsfvC2gzVln5mqRseVqLusZZ5poonWx8 W+Vpc22329wZ1cMrS8O07CQAlBqKpUFBw+Ms2e4prVopiU/84ndkcOoG882nzSC96R5r Hc5cKqGgTxYShgr+twM6VD7YjxZ/Ii2k4p++KC1gcY3tYEyjb6eueygXeWUL6TMHlr61 gisbpjUTWx7LBrABicIflHawbDAxS7A6M1eFgazWt0FxOZSPrz4uoOrHf61Pt9esHzNS A5PB+8H5OOm4Al8+bPqLNs4b2p9uADUYLMCbH4danT3NEh5jwoMp+zxdNOKukXIGPsAP hhzg== X-Gm-Message-State: AO0yUKVs43obMLlcbOo+lSoNfCPP8aI96FvuPMrBh1aPYuYUbF4+eG5W FKbTfRZFCn5qH+0vcLU6+qFVvCDFDPTXcuaAu1OBDm6SBAGx4yidm0OHjodnaqJc+PuzDm9E4gb k/ciRz8Fy2DL2gPkaB6vK2n3i4Pogvgks2MXzhiIlP4Xq6ZNJno1hX1ZqqpcM/VQCeLMAbtNjaX VbPNMameM= X-Google-Smtp-Source: AK7set8KDVtjDiPxLJJYuRBKUyYS4FtA/zbt9nsekfQFqzXwhHcxCMHIuplbgyE8bR4LeAquRt5ntA== X-Received: by 2002:a17:902:f54a:b0:19a:a647:1891 with SMTP id h10-20020a170902f54a00b0019aa6471891mr21163934plf.67.1677249850943; Fri, 24 Feb 2023 06:44:10 -0800 (PST) Received: from localhost.localdomain ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id b5-20020a170902a9c500b00186748fe6ccsm8911549plr.214.2023.02.24.06.44.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 06:44:10 -0800 (PST) From: Ranjan Kumar To: linux-scsi@vger.kernel.org, martin.petersen@oracle.com Cc: rajsekhar.chundru@broadcom.com, sathya.prakash@broadcom.com, sumit.saxena@broadcom.com, Ranjan Kumar , Sreekanth Reddy Subject: [PATCH 05/15] mpi3mr: Fixed the W=1 compilation warnings Date: Fri, 24 Feb 2023 06:43:10 -0800 Message-Id: <20230224144320.10601-6-ranjan.kumar@broadcom.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230224144320.10601-1-ranjan.kumar@broadcom.com> References: <20230224144320.10601-1-ranjan.kumar@broadcom.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixed the W=1 compilation warnings Signed-off-by: Ranjan Kumar Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpi3mr/mpi3mr_app.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/scsi/mpi3mr/mpi3mr_app.c b/drivers/scsi/mpi3mr/mpi3mr_app.c index 9baac224b213..86d9e200f408 100644 --- a/drivers/scsi/mpi3mr/mpi3mr_app.c +++ b/drivers/scsi/mpi3mr/mpi3mr_app.c @@ -930,6 +930,7 @@ static int mpi3mr_build_nvme_prp(struct mpi3mr_ioc *mrioc, /** * mpi3mr_bsg_process_mpt_cmds - MPI Pass through BSG handler * @job: BSG job reference + * @reply_payload_rcv_len: length of payload recvd * * This function is the top level handler for MPI Pass through * command, this does basic validation of the input data buffers, @@ -1479,6 +1480,7 @@ static int mpi3mr_bsg_request(struct bsg_job *job) /** * mpi3mr_bsg_exit - de-registration from bsg layer + * @mrioc: Adapter instance reference * * This will be called during driver unload and all * bsg resources allocated during load will be freed. @@ -1513,6 +1515,7 @@ static void mpi3mr_bsg_node_release(struct device *dev) /** * mpi3mr_bsg_init - registration with bsg layer + * @mrioc: Adapter instance reference * * This will be called during driver load and it will * register driver with bsg layer