]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: staging: atomisp: remove redundant OOM error messages
authorZixuan Dong <dbeidachazi@foxmail.com>
Mon, 15 Dec 2025 05:53:32 +0000 (13:53 +0800)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 14 Jan 2026 22:33:03 +0000 (23:33 +0100)
commitacc483fad79ecd1f5fb0adfd605f276383b678cd
treea62cde349dc4860be7a50cd01bc48300f1e5ff31
parentc6e115144b500039b9ece39c3aaf3e61e1f761af
media: staging: atomisp: remove redundant OOM error messages

The memory allocation functions (kvzalloc) already emit a stack dump
on failure when GFP_KERNEL is used. Printing an extra error message
is redundant and increases code size.

This resolves the checkpatch warnings:
WARNING: Possible unnecessary 'out of memory' message

Signed-off-by: Zixuan Dong <dbeidachazi@foxmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_cmd.c