[bug report] media: nuvoton: Add driver for NPCM video capture and encoding engine

Dan Carpenter dan.carpenter at linaro.org
Wed Sep 27 18:36:03 AEST 2023


On Wed, Sep 27, 2023 at 10:04:01AM +0200, Hans Verkuil wrote:
> Hi Dan,
> 
> On 26/09/2023 16:23, Dan Carpenter wrote:
> > Hello Marvin Lin,
> > 
> > The patch 70721089985c: "media: nuvoton: Add driver for NPCM video
> > capture and encoding engine" from Sep 22, 2023 (linux-next), leads to
> > the following Smatch static checker warning:
> > 
> > 	drivers/media/platform/nuvoton/npcm-video.c:1004 npcm_video_raw()
> > 	warn: sleeping in atomic context
> 
> Hmm, why didn't my smatch run see this? Does this check require something
> special? Does it rely on having run build_kernel_data.sh?

Yep.  It relies on build_kernel_data.sh.  Otherwise it that code is all
released.

regards,
dan carpenter



More information about the openbmc mailing list