Attention is currently required from: Felix Singer, Thomas Heijligen, Angel Pons, Anastasia Klimchuk.
6 comments:
Patchset:
forgot to mark unresolved :\
I've added a man page entry for the new programmer and added myself to MAINTAINERS.
Patchset:
I've added a new version of the patch where I addressed the feedback from the code review.
File include/programmer.h:
Patch Set #1, Line 75: extern const struct programmer_entry programmer_linux_gpiod;
Looks like the list is sorted alphabetically
Done
File linux_gpiod.c:
Other places use `strtol()` because it's safer
Done, now also characters that are not numbers are detected and result in an error.
if (register_spi_bitbang_master(&bitbang_spi_master_gpiod, data))
return 1; /* shutdown function does the cleanup */
return 0;
How about: […]
Done
if (data) {
if (gpiod_line_bulk_num_lines(&data->bulk) > 0)
gpiod_line_release_bulk(&data->bulk);
free(data);
}
if (chip)
gpiod_chip_close(chip);
Registering shutdown function early was in the old times :) During 2020, shutdown functions were mov […]
Yes, good point, I'm now re-using the shutdown function and I've changed the first two callsites to return 1.
To view, visit change 71801. To unsubscribe, or for help writing mail filters, visit settings.