All of lore.kernel.org
 help / color / mirror / Atom feed
From: Deepak R Varma <drv@mailo.com>
To: Nilesh Javali <njavali@marvell.com>,
	GR-QLogic-Storage-Upstream@marvell.com,
	"James E.J. Bottomley" <jejb@linux.ibm.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Saurabh Singh Sengar <ssengar@microsoft.com>,
	Praveen Kumar <kumarpraveen@linux.microsoft.com>
Subject: Re: [PATCH] scsi: qla2xxx: Use a variable instead of repeated computations
Date: Wed, 25 Jan 2023 22:52:56 +0530	[thread overview]
Message-ID: <Y9FlcO54LWVYRuGm@ubun2204.myguest.virtualbox.org> (raw)
In-Reply-To: <Y9FdOu4Y3KS5eVUf@ubun2204.myguest.virtualbox.org>

On Wed, Jan 25, 2023 at 10:17:54PM +0530, Deepak R Varma wrote:
> Use a variable to upfront compute memory size to be allocated, instead
> of repeatedly computing it at different instructions.  The reduced
> length of lines also allows to tidy up the code.
> Issue identified using the array_size_dup Coccinelle semantic patch.
> 
> Signed-off-by: Deepak R Varma <drv@mailo.com>
> ---

Please ignore this duplicate patch. I got this from a wrong/old branch. My
apologies for the inconvenience.

./drv



      reply	other threads:[~2023-01-25 17:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-25 16:47 [PATCH] scsi: qla2xxx: Use a variable instead of repeated computations Deepak R Varma
2023-01-25 17:22 ` Deepak R Varma [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y9FlcO54LWVYRuGm@ubun2204.myguest.virtualbox.org \
    --to=drv@mailo.com \
    --cc=GR-QLogic-Storage-Upstream@marvell.com \
    --cc=jejb@linux.ibm.com \
    --cc=kumarpraveen@linux.microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=njavali@marvell.com \
    --cc=ssengar@microsoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.