From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796267866; b=iG5Y+J0VpMPiQLC/oXttmhaUS/m+S1YG6Gv5kKyLEhbGfwEwJgrNppwWVmUTQ6E4+Mou z5H4PU3YQyLFNYCGXUXGDlV9oeINt10muOtxxjKVXzQqawwqxI26gHg3CH79T3GzpJYHn hYWDUn/nhNfseZvwFqxiY4f+tt3IL1K3gpPv1K9QH8TZyIdBjR/OH2D5xeLEspLKIE5ZD XkKoKcc2RgefDU1JjU8QYhl3dtVTkClvzbppV1DGI9eRXo+uIgxP8UBAC6Cljf02eggv+ s6hDkx80fFpUxyd2Ctf3IusgPVcAD11OgMYOcajV81T+jyTS7ZF47JyejS0DelWxAzA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796267866; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=ieA3iklqCNjT2IO8X+hbd86foToiPZjhcHMnMmmYFBQ=; b=vpvP/1cTVEJktBCmoCgMN37mcsGgPxfMNLSJqPtw+C08IjwQ8QiRW04GCnHCyzo6bJ8r aCwZ89Nj3hkdZrdkP6lFbb7CGpUodyk9XMSx50fOzNa7D+8XJD95i2ij4OqjITZuekpVb ZAQtvVW7RwsbbzCGyB4SMoCrsokj4D3ihqT2YQI839MSbJe1JgIKlLET6StFAarThdaH1 mfxZo7FfWyoqHJZszjBUdutTNAXFCrshAv6RUhPCF4X2uJm4FZcB118clGfuSO/QXsNOg 1ZglvDfiPFOTkYt6tfAdPOv3g8vmYW1Mvr48YMjdpX+kZVdn0Y9X0AszH7L5Mi9qPYw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=VGt5f8fu; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C7FF9606A322 for ; Thu, 3 Dec 2026 03:17:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=VGt5f8fu Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E5C11F0089B; Thu, 3 Dec 2026 03:17:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796267866; bh=ieA3iklqCNjT2IO8X+hbd86foToiPZjhcHMnMmmYFBQ=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=VGt5f8fu+bmGcGTgHT3XPP0cfxNrl0tSWL04nlL3ku02f2aRHdwZ83E/Eh3/vqrU3 e/OOHDKZDm/Gj9VwbIijyVP6aWOtHrcROHaC7YxHdKIAVrkYOe69eZOGmOWAIDczrN urgqCObpZemg8pPvSIQqZNxI8QM1ST5xY+PgFy305lAdxltFn8WTUeYKQVEY7dNE+h Sp/l7hQt2BH5ZChu8P5wAdtll650IsSksG0Abb4XxrZBE/bHQSKGy7il8M90dIxUBU piQa72CSl9AyQWbf2vg/6aA4V8R+ld75x+OR+SkI1xAb3UqjU+Nuy23/O8/JE8WKr4 oPjrOigvfsaTg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [RFC PATCH v2 12/13] ata: sata_sil24: Use flexible arrays for the command block SGEs Reply-To: sashiko-reviews@lists.linux.dev To: "Eric Curtin" Cc: linux-ide@vger.kernel.org, dlemoal@kernel.org, cassel@kernel.org In-Reply-To: <20261202031647.1690622-13-ericcurtin17@gmail.com> References: <20261202031647.1690622-1-ericcurtin17@gmail.com> <20261202031647.1690622-13-ericcurtin17@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 03:17:45 +0000 X-Mailing-List: linux-ide@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 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 =3D { > #endif > }; > =20 > -static const struct scsi_host_template sil24_sht =3D { > +static DEFINE_GLOBAL_PAGE_SIZE_VAR_CONST(struct scsi_host_template, sil2= 4_sht, { > __ATA_BASE_SHT(DRV_NAME), > .can_queue =3D SIL24_MAX_CMDS, > .sg_tablesize =3D SIL24_MAX_SGE, > @@ -380,7 +390,7 @@ static const struct scsi_host_template sil24_sht =3D { > .sdev_groups =3D ata_ncq_sdev_groups, > .change_queue_depth =3D ata_scsi_change_queue_depth, > .sdev_configure =3D 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(). --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261202031647.1690= 622-1-ericcurtin17@gmail.com?part=3D12