On Fri, Aug 14, 2020 at 05:40:25PM -0700, Stephen Boyd wrote:
> These patches make debug_obj_descr into a const pointer. The second
> patch can be split up into many patches if desired and sent to
> respective susbsytem maintainers.
> 
> Stephen Boyd (2):
>   debugobjects: Allow debug_obj_descr to be const
>   treewide: Make all debug_obj_descr's const
> 
>  drivers/gpu/drm/i915/i915_active.c   |  2 +-
>  drivers/gpu/drm/i915/i915_sw_fence.c |  2 +-
>  include/linux/debugobjects.h         | 32 ++++++++++++++--------------
>  kernel/rcu/rcu.h                     |  2 +-
>  kernel/rcu/update.c                  |  2 +-
>  kernel/time/hrtimer.c                |  4 ++--
>  kernel/time/timer.c                  |  4 ++--
>  kernel/workqueue.c                   |  4 ++--
>  lib/debugobjects.c                   | 30 +++++++++++++-------------
>  lib/percpu_counter.c                 |  4 ++--
>  10 files changed, 43 insertions(+), 43 deletions(-)

Yay more read-only memory! :)

Reviewed-by: Kees Cook <[email protected]>

-- 
Kees Cook

Reply via email to