Attention is currently required from: Edward O'Callaghan.
23 comments:
Patchset:
thank you !
File ft2232_spi.c:
Patch Set #1, Line 108: struct ftdi_context *ftdic_context;
instead of making this a pointer how about just `struct ftdi_context ftdic_context;`
Done
Patch Set #1, Line 168: struct ftdi_context *ftdic = spi_data->ftdic_context;
remove
I modified this line but I keep it because ftdic is used 4 times here.
Patch Set #1, Line 186: free(ftdic);
remove
Done
&
Done
Patch Set #1, Line 322: struct ftdi_context *ftdic;
`struct ftdi_context ftdic;`
Done
ftdic = calloc(1, sizeof(struct ftdi_context));
if (!ftdic) {
msg_perr("Unable to allocate memory for ftdi_context.\n");
return SPI_GENERIC_ERROR;
}
remove
Done
Patch Set #1, Line 540: ftdic
&
Done
Patch Set #1, Line 542: free(ftdic);
remove
Done
&
Done
&
Done
&
Done
&
Done
Patch Set #1, Line 557: free(ftdic);
remove
Done
ftdic. […]
Done
Patch Set #1, Line 562: ftdic->type
ftdic. […]
Done
&
Done
&
Done
&
Done
Patch Set #1, Line 626: spi_data->ftdic_context = ftdic;
memcpy() the local stack allocated one into the field.
Done
&
Done
&
Done
Patch Set #1, Line 644: free(ftdic);
remove
Done
To view, visit change 52256. To unsubscribe, or for help writing mail filters, visit settings.