mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
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:
parent
ed75528c09
commit
a47e3077fb
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user