[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DEU9O691LF9V.142HEUAU7DZDR@brighamcampbell.com>
Date: Tue, 09 Dec 2025 21:54:11 -0700
From: "Brigham Campbell" <me@...ghamcampbell.com>
To: "Arnd Bergmann" <arnd@...nel.org>, "Linus Walleij" <linusw@...nel.org>,
"Neil Armstrong" <neil.armstrong@...aro.org>, "Maarten Lankhorst"
<maarten.lankhorst@...ux.intel.com>, "Maxime Ripard" <mripard@...nel.org>,
"Thomas Zimmermann" <tzimmermann@...e.de>, "David Airlie"
<airlied@...il.com>, "Simona Vetter" <simona@...ll.ch>, "Douglas Anderson"
<dianders@...omium.org>, "Brigham Campbell" <me@...ghamcampbell.com>
Cc: "Arnd Bergmann" <arnd@...db.de>, "Jessica Zhang"
<jesszhan0024@...il.com>, "Anusha Srivatsa" <asrivats@...hat.com>,
<dri-devel@...ts.freedesktop.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drm/panel: novatek-nt35560: avoid on-stack device
structure
On Thu Dec 4, 2025 at 2:45 AM MST, Arnd Bergmann wrote:
> Change this to a pointer as was liley intended here.
Shoot, you're absolutely right that I didn't mean to create a copy of
the struct on the stack when I wrote that code. Thanks for the fix! I'll
try to be more careful with struct usage and the stack in the future.
Can I ask how you got the build process to emit those warnings? I didn't
see it when I developed my patch.
Thanks again,
Brigham
Powered by blists - more mailing lists