From patchwork Thu Mar 16 11:02:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjan Kumar X-Patchwork-Id: 13177382 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 69CEEC6FD19 for ; Thu, 16 Mar 2023 11:02:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229907AbjCPLC4 (ORCPT ); Thu, 16 Mar 2023 07:02:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229929AbjCPLCy (ORCPT ); Thu, 16 Mar 2023 07:02:54 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B80543440 for ; Thu, 16 Mar 2023 04:02:52 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id fy10-20020a17090b020a00b0023b4bcf0727so1213486pjb.0 for ; Thu, 16 Mar 2023 04:02:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; t=1678964571; h=mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=YOCOeSQAZ2vsfEAWmQJSXgdf5R5aT56LaVDm51DRXao=; b=Xags5xVV6FPMO2GNhXi2XuG+I9CSuFgdtjwVVNznKYbs4ZscnlLEq2IRywlm6OUFWu itlYJo6B6Iv96kux7AmZM1M+2XuMMzrPAH29ZXNYYi8ahVhfQsz8wmi2oE/kyNv9fXD1 XGjDsHRjTpl2Y+xUyl2+rTi66nzAm16ij1Ikg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678964571; 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=YOCOeSQAZ2vsfEAWmQJSXgdf5R5aT56LaVDm51DRXao=; b=PdewLNtG0KkVQb5OyqCsLMWKKHIUYpoym7dtnASO1kd0wpKaTeyVk7S1RXlWtpOE7J FzWKGhUKOxA2UUuisQpAHuhSj+kB4Jkl3eSWhOTSuQuMVu8dxJaQkgZjE9KRdOAu3/0H X+iSbR8ljSx1KMncOz9ljyEomC4BQqCsBZpPx/1VusiHfluWs8J505vM5mQR0sZzuq0d mw6IXsT5YYISzY0+CuriiI9X2OQZjkeTRd9tsgc98L7Vfa01HEFdS1E48TgsGR/w4EDx 6SOaEyuZv1rcBp4w/yKu5stROh+xo02hHm+nl8h14HdpLct4QEuRVg9mLJhwI1vjNiZz k0Pg== X-Gm-Message-State: AO0yUKXUgAFrxsgoRxpt9Ucpe87gD/kpOlw/mNFKdn3amdEifuyYckQO tXQ7uFhmPGsg2HdcL2elpLvXd0atir3ntIJ0yL+l/QBIn1Beuya7MrPeD6TcnIoLWJeUlNZJccD 1rM3nJyRJLwD6r0ADVTWP8SevzaGFQef/X6odOufye3KEUUZrXHinZ8sP5ogneShowolSthebvH 7mIKJvk40WJg== X-Google-Smtp-Source: AK7set8UNOWt45TnbZtF7bPlZhCz72Wy7zqipNCJq5QVADrWEpJDceeB0zzA+pg2ykSjT63dp2xOfA== X-Received: by 2002:a17:903:1c2:b0:19c:be07:4af2 with SMTP id e2-20020a17090301c200b0019cbe074af2mr3394340plh.45.1678964571521; Thu, 16 Mar 2023 04:02:51 -0700 (PDT) Received: from localhost.localdomain ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id kb5-20020a170903338500b0019a6cce2060sm5343590plb.57.2023.03.16.04.02.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 04:02:51 -0700 (PDT) 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 6/8] mpi3mr: Fixed the W=1 compilation warnings Date: Thu, 16 Mar 2023 16:32:07 +0530 Message-Id: <20230316110209.60145-7-ranjan.kumar@broadcom.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230316110209.60145-1-ranjan.kumar@broadcom.com> References: <20230316110209.60145-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 bff637702397..393b86ee2036 100644 --- a/drivers/scsi/mpi3mr/mpi3mr_app.c +++ b/drivers/scsi/mpi3mr/mpi3mr_app.c @@ -922,6 +922,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, @@ -1471,6 +1472,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. @@ -1505,6 +1507,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