android_kernel_xiaomi_sm8350/drivers/media
Pavel Emelyanov ba25f9dcc4 Use helpers to obtain task pid in printks
The task_struct->pid member is going to be deprecated, so start
using the helpers (task_pid_nr/task_pid_vnr/task_pid_nr_ns) in
the kernel.

The first thing to start with is the pid, printed to dmesg - in
this case we may safely use task_pid_nr(). Besides, printks produce
more (much more) than a half of all the explicit pid usage.

[akpm@linux-foundation.org: git-drm went and changed lots of stuff]
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-19 11:53:43 -07:00
..
common V4L/DVB (6305): V4L: videobuf-core.c avoid NULL dereferences in videobuf-core 2007-10-10 00:03:20 -03:00
dvb get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
radio V4L/DVB (6246): GemTek Radio card - Control Word 2007-10-09 22:14:51 -03:00
video Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
Kconfig V4L/DVB (6299): dvb: Add dependencies for VIDEOBUF_DVB 2007-10-10 00:03:19 -03:00
Makefile V4L/DVB (5599): Use menuconfig objects II - DVB 2007-05-09 10:12:48 -03:00