Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: "Martin K. Petersen (Oracle)" <mkp@kernel.org>
To: ZHOU Jiaxiang <26066541r@connect.polyu.hk>
Cc: Damien Le Moal <dlemoal@kernel.org>,
	 Jens Axboe <axboe@kernel.dk>,
	linux-block@vger.kernel.org,
	 "Martin K . Petersen" <mkp@kernel.org>,
	linux-scsi@vger.kernel.org
Subject: Re: [PATCH v3 2/2] scsi: sd_zbc: reject disks with too many zones
Date: Tue, 15 Sep 2026 22:37:15 -0400	[thread overview]
Message-ID: <yq1o6dyvsf8.fsf@mail.kernel.org> (raw)
In-Reply-To: <20260912080304.78535-3-26066541r@connect.polyu.hk>


Hi Zhou!

Unfortunately whitespace is mangled so your patches don't apply.

> +       if (nr_zones > UINT_MAX) {

sd_zbc_report_zones() uses a signed int for its zone index.

-- 
Martin K. Petersen

      reply	other threads:[~2026-09-16  2:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-12  8:03 [PATCH v3 0/2] block/scsi: fix zones_cond out-of-bounds write on zone report ZHOU Jiaxiang
2026-09-12  8:03 ` [PATCH v3 1/2] block: " ZHOU Jiaxiang
2026-09-12  8:03 ` [PATCH v3 2/2] scsi: sd_zbc: reject disks with too many zones ZHOU Jiaxiang
2026-09-16  2:37   ` Martin K. Petersen (Oracle) [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=yq1o6dyvsf8.fsf@mail.kernel.org \
    --to=mkp@kernel.org \
    --cc=26066541r@connect.polyu.hk \
    --cc=axboe@kernel.dk \
    --cc=dlemoal@kernel.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /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