Re: [PATCH 02/11] fbdev: Transfer video= option strings to caller; clarify ownership

2023-02-17 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > Hi > > Am 17.02.23 um 09:37 schrieb Javier Martinez Canillas: >> Thomas Zimmermann writes: >> >>> In fb_get_options(), always duplicate the returned option string and >>> transfer ownership of the memory to the function's caller. >>> >>> Until now, only the global op

Re: [PATCH 02/11] fbdev: Transfer video= option strings to caller; clarify ownership

2023-02-17 Thread Thomas Zimmermann
Hi Am 17.02.23 um 09:37 schrieb Javier Martinez Canillas: Thomas Zimmermann writes: In fb_get_options(), always duplicate the returned option string and transfer ownership of the memory to the function's caller. Until now, only the global option string got duplicated and transferred to the c

Re: [PATCH 02/11] fbdev: Transfer video= option strings to caller; clarify ownership

2023-02-17 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > In fb_get_options(), always duplicate the returned option string and > transfer ownership of the memory to the function's caller. > > Until now, only the global option string got duplicated and transferred > to the caller; the per-driver options were owned by fb_get_op

[PATCH 02/11] fbdev: Transfer video= option strings to caller; clarify ownership

2023-02-09 Thread Thomas Zimmermann
In fb_get_options(), always duplicate the returned option string and transfer ownership of the memory to the function's caller. Until now, only the global option string got duplicated and transferred to the caller; the per-driver options were owned by fb_get_options(). In the end, it was impossibl