Re: [PATCH v2 061/101] fbdev/ps3fb: Duplicate video-mode option string

2023-03-10 Thread Thomas Zimmermann
Hi Geert Am 10.03.23 um 09:18 schrieb Geert Uytterhoeven: Hi Thomas, On Thu, Mar 9, 2023 at 5:02 PM Thomas Zimmermann wrote: Assume that the driver does not own the option string or its substrings and hence duplicate the option string for the video mode. Allocate the copy's memory with kstrdu

Re: [PATCH v2 061/101] fbdev/ps3fb: Duplicate video-mode option string

2023-03-10 Thread Geert Uytterhoeven
Hi Thomas, On Thu, Mar 9, 2023 at 5:02 PM Thomas Zimmermann wrote: > Assume that the driver does not own the option string or its substrings > and hence duplicate the option string for the video mode. Allocate the > copy's memory with kstrdup() and free it in the module's exit function. > > Done