mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Qianfeng Rong <rongqianfeng@vivo.com>
Cc: bvanassche@acm.org, Brian King <brking@us.ibm.com>,
	"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	linux-scsi@vger.kernel.org (open list:SCSI SUBSYSTEM),
	linux-kernel@vger.kernel.org (open list)
Subject: Re: [PATCH v3 0/2] scsi: Use vmalloc_array and vcalloc to simplify code
Date: Tue, 19 Aug 2025 21:56:55 -0400	[thread overview]
Message-ID: <yq1wm6ywyav.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20250806124633.383426-1-rongqianfeng@vivo.com> (Qianfeng Rong's message of "Wed, 6 Aug 2025 20:46:31 +0800")


Qianfeng,

> Instead of using array_size, use a function that takes care of both
> the multiplication and the overflow checks.

Applied to 6.18/scsi-staging, thanks!

-- 
Martin K. Petersen

      parent reply	other threads:[~2025-08-20  1:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-06 12:46 Qianfeng Rong
2025-08-06 12:46 ` [PATCH v3 1/2] scsi: ipr: use vmalloc_array " Qianfeng Rong
2025-08-06 12:46 ` [PATCH v3 2/2] scsi: scsi_debug: use vcalloc " Qianfeng Rong
2025-08-06 15:20   ` Bart Van Assche
2025-08-20  1:56 ` Martin K. Petersen [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=yq1wm6ywyav.fsf@ca-mkp.ca.oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=brking@us.ibm.com \
    --cc=bvanassche@acm.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=rongqianfeng@vivo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®