[PATCH] [v2] staging: fbtft: reduce stack usage
Arnd Bergmann
arnd at arndb.de
Tue Jun 10 11:26:43 UTC 2025
On Tue, Jun 10, 2025, at 13:23, Arnd Bergmann wrote:
> {
> struct device *dev = par->info->device;
> - int buf[64], count, index, i, j, ret;
> + u32 buf[64], count, index, i, j, ret;
> u32 *values;
> u32 val;
>
I was too quick to update this one, please ignore v2 and
wait for v3 after I've tested it some more with the (hopefully)
correct version:
@@ -842,7 +864,8 @@ EXPORT_SYMBOL(fbtft_unregister_framebuffer);
static int fbtft_init_display_from_property(struct fbtft_par *par)
{
struct device *dev = par->info->device;
- int buf[64], count, index, i, j, ret;
+ int count, index, i, j, ret;
+ u32 buf[64];
u32 *values;
u32 val;
Arnd
More information about the dri-devel
mailing list