Messages in this thread |  | | From | Tamir Duberstein <> | | Date | Mon, 10 Feb 2025 11:35:35 -0500 | | Subject | Re: [PATCH v5 2/2] scanf: break kunit into test cases |
| |
On Mon, Feb 10, 2025 at 11:27 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote: > > > [...] > > > > -static char *test_buffer; > > -static char *fmt_buffer; > > +static char test_buffer[BUF_SIZE]; > > +static char fmt_buffer[BUF_SIZE]; > > Why? This wastes 2 KiB of memory when the test is not running.
It's a fair point. I guess I'll respin v6 after all and go back to kmalloc.
Thanks for reviewing!
|  |