From: sashiko-bot@kernel.org
To: "Eric Curtin" <ericcurtin17@gmail.com>
Cc: linux-ide@vger.kernel.org, dlemoal@kernel.org, cassel@kernel.org
Subject: Re: [RFC PATCH v2 12/13] ata: sata_sil24: Use flexible arrays for the command block SGEs
Date: Thu, 03 Dec 2026 03:17:45 +0000 [thread overview]
Message-ID: <sashiko-outbox-247084@kernel.org> (raw)
In-Reply-To: <20261202031647.1690622-13-ericcurtin17@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] ata: sata_sil24: undefined DEFINE_GLOBAL_PAGE_SIZE_VAR_CONST
breaks build
--
commit 87e4ca59f06cde6b9be5cbb313f3be0a58e87e55
Author: Ryan Roberts <ryan.roberts@arm.com>
ata: sata_sil24: Use flexible arrays for the command block SGEs
This commit converts the sge[] arrays in struct sil24_ata_block and struct
sil24_atapi_block into flexible arrays and updates command block indexing
and sizing to support boot-time page size selection.
> diff --git a/drivers/ata/sata_sil24.c b/drivers/ata/sata_sil24.c
> index 7acd55b17b18f..ec420923d866e 100644
> --- a/drivers/ata/sata_sil24.c
> +++ b/drivers/ata/sata_sil24.c
[ ... ]
> @@ -372,7 +382,7 @@ static struct pci_driver sil24_pci_driver = {
> #endif
> };
>
> -static const struct scsi_host_template sil24_sht = {
> +static DEFINE_GLOBAL_PAGE_SIZE_VAR_CONST(struct scsi_host_template, sil24_sht, {
> __ATA_BASE_SHT(DRV_NAME),
> .can_queue = SIL24_MAX_CMDS,
> .sg_tablesize = SIL24_MAX_SGE,
> @@ -380,7 +390,7 @@ static const struct scsi_host_template sil24_sht = {
> .sdev_groups = ata_ncq_sdev_groups,
> .change_queue_depth = ata_scsi_change_queue_depth,
> .sdev_configure = ata_scsi_sdev_configure
> -};
> +});
[Severity: High]
Is DEFINE_GLOBAL_PAGE_SIZE_VAR_CONST() missing its definition? It is not
defined anywhere in the tree, so building drivers/ata/sata_sil24.c with
CONFIG_SATA_SIL24 enabled fails here and at sil24_init_one() where
&sil24_sht is passed to ata_host_activate().
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261202031647.1690622-1-ericcurtin17@gmail.com?part=12
prev parent reply other threads:[~2026-12-03 3:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 3:16 [RFC PATCH v2 00/13] block/storage: Prepare for boot-time page size selection on arm64 Eric Curtin
2026-12-02 3:16 ` [RFC PATCH v2 12/13] ata: sata_sil24: Use flexible arrays for the command block SGEs Eric Curtin
2026-12-02 7:10 ` Damien Le Moal
2026-12-03 3:17 ` sashiko-bot [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=sashiko-outbox-247084@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=cassel@kernel.org \
--cc=dlemoal@kernel.org \
--cc=ericcurtin17@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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