summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/sti/sti_hdmi.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2022-10-29 10:47:34 +0300
committerKees Cook <keescook@chromium.org>2022-11-18 20:17:13 +0300
commit74c8e6bffbe10c4470139496f930c0b0752c85c9 (patch)
treef6f815615a576b96eed8d849340db29664c24684 /drivers/gpu/drm/sti/sti_hdmi.c
parent8abfff25b3e2c8f51049295f86dd257492ac1969 (diff)
downloadlinux-74c8e6bffbe10c4470139496f930c0b0752c85c9.tar.xz
driver core: Add __alloc_size hint to devm allocators
Mark the devm_*alloc()-family of allocations with appropriate __alloc_size()/__realloc_size() hints so the compiler can attempt to reason about buffer lengths from allocations. Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jason Gunthorpe <jgg@ziepe.ca> Cc: Nishanth Menon <nm@ti.com> Cc: Michael Kelley <mikelley@microsoft.com> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Won Chung <wonchung@google.com> Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20221029074734.gonna.276-kees@kernel.org
Diffstat (limited to 'drivers/gpu/drm/sti/sti_hdmi.c')
0 files changed, 0 insertions, 0 deletions