Skip to content

Navigation Menu

Sign up
linkunfaPublic

About

Linux kernel source tree

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
 https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
Please read the Documentation/process/changes.rst file, as it contains 
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
 CC drivers/media/platform/nuvoton/npcm-video.o
 CHECK drivers/media/platform/nuvoton/npcm-video.c
drivers/media/platform/nuvoton/npcm-video.c:1004 npcm_video_raw() warn: sleeping in atomic context
drivers/media/platform/nuvoton/npcm-video.c:1089 npcm_video_irq() warn: sleeping in atomic context
--- a/drivers/media/platform/nuvoton/npcm-video.c
+++ b/drivers/media/platform/nuvoton/npcm-video.c
@@ -412,7 +412,7 @@ static unsigned int npcm_video_add_rect(struct npcm_video *video,
 struct rect_list *list = NULL;
 struct v4l2_rect *r;
- list = kzalloc(sizeof(*list), GFP_KERNEL);
+ list = kzalloc(sizeof(*list), GFP_ATOMIC);
 if (!list)
 return 0;
@@ -467,7 +467,7 @@ static struct rect_list *npcm_video_new_rect(struct npcm_video *video,
 struct rect_list *list = NULL;
 struct v4l2_rect *r;
- list = kzalloc(sizeof(*list), GFP_KERNEL);
+ list = kzalloc(sizeof(*list), GFP_ATOMIC);
 if (!list)
 return NULL;

About

Linux kernel source tree

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /