[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cd0ea72c6cab6c478336cd1bb5b517a9fe7a150d@intel.com>
Date: Fri, 30 May 2025 10:44:31 +0300
From: Jani Nikula <jani.nikula@...el.com>
To: Kees Cook <kees@...nel.org>
Cc: Gustavo A. R. Silva <gustavoars@...nel.org>,
linux-hardening@...r.kernel.org, intel-gfx@...ts.freedesktop.org
Subject: i915 utils: range_overflows*()
Hi Kees -
drivers/gpu/drm/i915/i915_utils.h has a handful of helper macros for
checking range overflows: range_overflows(), range_overflows_t(),
range_overflows_end(), and range_overflows_end_t().
Looks like the first one has also been copy-pasted to
include/drm/drm_buddy.h.
Feels like include/linux/overflow.h would be the right place for (some
version of) them.
Thoughts?
BR,
Jani.
--
Jani Nikula, Intel
Powered by blists - more mailing lists