From a47e3077fbfb4b0dd5350a79e178c22723c17bc5 Mon Sep 17 00:00:00 2001 From: Maurizio Lombardi Date: Fri, 23 Oct 2026 11:48:06 +0200 Subject: [PATCH] nvme-pci: increase quirks_param buffer size to 256 bytes The current 128 byte buffer for the nvme.quirks command line parameter is a bit too small. If a user needs to specify multiple quirks or use multiple VID:DID combinations, the configuration string can easily exceed this limit. Increase the size of the quirks_param array from 128 to 256 bytes to comfortably accommodate longer and more complex quirk configurations. Reviewed-by: Laurence Oberman Signed-off-by: Maurizio Lombardi Signed-off-by: Keith Busch --- drivers/nvme/host/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 1ea98647062e..149a93a3c888 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -232,7 +232,7 @@ static int quirks_param_set(const char *value, const struct kernel_param *kp) return err; } -static char quirks_param[128]; +static char quirks_param[256]; static const struct kernel_param_ops quirks_param_ops = { .set = quirks_param_set, .get = param_get_string,