[PATCH v2 1/2] file_list: add file_list_parse_null()

Sascha Hauer sha at pengutronix.de
Mon Aug 23 06:48:20 PDT 2021


On Tue, Aug 10, 2021 at 07:29:27AM +0200, Rouven Czerwinski wrote:
> Move the usbgadget parse() function to file_list and rename it to
> file_list_parse_null() which will return a NULL pointer instead of an
> error. Also adjust the callers in the usbgadget code.
> 
> Signed-off-by: Rouven Czerwinski <r.czerwinski at pengutronix.de>
> 
> ---
> v2: rebase on master to fix USB mass storage conflict
> ---
>  common/file-list.c  | 16 ++++++++++++++++
>  common/usbgadget.c  | 24 ++++--------------------
>  include/file-list.h |  1 +
>  3 files changed, 21 insertions(+), 20 deletions(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list