Re: [PATCH 11/99] fbdev/aty: Duplicate video-mode option string

2023-03-07 Thread Thomas Zimmermann
Hi Am 06.03.23 um 17:13 schrieb Geert Uytterhoeven: Hi Thomas, Thanks for your patch! On Mon, Mar 6, 2023 at 5:00 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. The driver only pars

Re: [PATCH 11/99] fbdev/aty: Duplicate video-mode option string

2023-03-06 Thread Geert Uytterhoeven
Hi Thomas, Thanks for your patch! On Mon, Mar 6, 2023 at 5:00 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. The driver only > parses the option string once as part of module initia

[PATCH 11/99] fbdev/aty: Duplicate video-mode option string

2023-03-06 Thread Thomas Zimmermann
Assume that the driver does not own the option string or its substrings and hence duplicate the option string for the video mode. The driver only parses the option string once as part of module initialization, so use a static buffer to store the duplicated mode option. Linux automatically frees the