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 <loberman@redhat.com>
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
This commit is contained in:
Maurizio Lombardi 2026-10-23 11:48:06 +02:00 committed by Keith Busch
parent ed75528c09
commit a47e3077fb

View File

@ -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,