Merge 5.16-rc8 into usb-next
[linux-2.6-microblaze.git] / drivers / scsi / lpfc / lpfc_debugfs.c
index bd6d459..08b2e85 100644 (file)
@@ -2954,8 +2954,8 @@ lpfc_debugfs_nvmeio_trc_write(struct file *file, const char __user *buf,
        char mybuf[64];
        char *pbuf;
 
-       if (nbytes > 64)
-               nbytes = 64;
+       if (nbytes > 63)
+               nbytes = 63;
 
        memset(mybuf, 0, sizeof(mybuf));