Patch "drm/sched: Fix preprocessor guard" has been added to the 5.15-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/sched: Fix preprocessor guard

to the 5.15-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-sched-fix-preprocessor-guard.patch
and it can be found in the queue-5.15 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 77d2cc2118878ee9b52272e48c260fc3d6655f12
Author: Philipp Stanner <phasta@xxxxxxxxxx>
Date:   Tue Feb 18 13:41:50 2025 +0100

    drm/sched: Fix preprocessor guard
    
    [ Upstream commit 23e0832d6d7be2d3c713f9390c060b6f1c48bf36 ]
    
    When writing the header guard for gpu_scheduler_trace.h, a typo,
    apparently, occurred.
    
    Fix the typo and document the scope of the guard.
    
    Fixes: 353da3c520b4 ("drm/amdgpu: add tracepoint for scheduler (v2)")
    Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxxx>
    Signed-off-by: Philipp Stanner <phasta@xxxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20250218124149.118002-2-phasta@xxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h b/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
index 877ce9b127f16..caa5268c51ef1 100644
--- a/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
+++ b/drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
@@ -21,7 +21,7 @@
  *
  */
 
-#if !defined(_GPU_SCHED_TRACE_H) || defined(TRACE_HEADER_MULTI_READ)
+#if !defined(_GPU_SCHED_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ)
 #define _GPU_SCHED_TRACE_H_
 
 #include <linux/stringify.h>
@@ -123,7 +123,7 @@ TRACE_EVENT(drm_sched_job_wait_dep,
 		      __entry->seqno)
 );
 
-#endif
+#endif /* _GPU_SCHED_TRACE_H_ */
 
 /* This part must be outside protection */
 #undef TRACE_INCLUDE_PATH




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux