Attention is currently required from: ChrisEric1 CECL, Nicholas Chin.
11 comments:
Patchset:
Great work. Nearly complete 🎉
File vl805.c:
Patch Set #12, Line 69: struct pci_dev *dev
This is still wrong. it must be
```
struct vl805_spi_data *data = (struct vl805_spi_data *)flash->mst->spi.data;
```
And here
```
data->dev
```
`data->dev`
`data->dev`
`data->dev`
`data->dev`
`data->dev`
`data->dev`
Patch Set #12, Line 140: struct vl805_spi_data *data = calloc(1, sizeof(*data));
Please move the allocation of vl805_spi_data below
```
pcidev_init(...);
if(!dev)
return 1;
```
Patch Set #12, Line 140: struct vl805_spi_data *data = calloc(1, sizeof(*data));
Please tests if the allocation was successful.
```
truct vl805_spi_data *data = calloc(1, sizeof(*data));
if (!data) {
msg_perr("cannot allocate memory for vl805_data\n");
return 1;
}
```
To view, visit change 72057. To unsubscribe, or for help writing mail filters, visit settings.