Re: [PATCH] lpfc: Resolve checker warning for lpfc_new_io_buf()

2019-08-29 Thread Martin K. Petersen
James, > The patch d79c9e9d4b3d: "scsi: lpfc: Support dynamic unbounded SGL > lists on G7 hardware." from Aug 14, 2019, leads to the following > static checker warning: > >drivers/scsi/lpfc/lpfc_init.c:4107 lpfc_new_io_buf() > error: not allocating enough data 784 vs 768 Applied to 5.4/sc

[PATCH] lpfc: Resolve checker warning for lpfc_new_io_buf()

2019-08-27 Thread James Smart
Per Dan Carpenter: The patch d79c9e9d4b3d: "scsi: lpfc: Support dynamic unbounded SGL lists on G7 hardware." from Aug 14, 2019, leads to the following static checker warning: drivers/scsi/lpfc/lpfc_init.c:4107 lpfc_new_io_buf() error: not allocating enough data 784 vs 768 There was no need t