mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
gpu: nvgpu: fix DCL37-C violation of __here
Rename reserved identifier __here to label_here to fix around 180 DCL37-C violations - "The reserved identifier "__here", which is reserved for use as identifiers with file scope in both the ordinary and tag name spaces, is declared. JIRA NVGPU-3908 Change-Id: Iecaaa03674800bec919d71dc5fd226d362fc6f56 Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2178457 GVS: Gerrit_Virtual_Submit Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Adeel Raza <araza@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
bd021a1704
commit
115959bd40
@@ -61,6 +61,7 @@ static inline u32 get_field(u32 reg, u32 mask)
|
||||
/*
|
||||
* MISRA Rule 11.6 compliant IP address generator.
|
||||
*/
|
||||
#define NVGPU_GET_IP ({ __label__ __here; __here: &&__here; })
|
||||
#define NVGPU_GET_IP \
|
||||
({ __label__ label_here; label_here: &&label_here; })
|
||||
|
||||
#endif /* NVGPU_UTILS_H */
|
||||
|
||||
Reference in New Issue
Block a user