[PATCH v5 1/2] drm/loongson: Introduce component framework support

Markus Elfring Markus.Elfring at web.de
Mon Jul 29 06:40:46 UTC 2024


…
> +++ b/drivers/gpu/drm/loongson/loongson_drv.h
> @@ -0,0 +1,108 @@
…
> +#ifndef __LOONGSON_DRV_H__
> +#define __LOONGSON_DRV_H__
…

I suggest to omit leading underscores from such identifiers.
https://wiki.sei.cmu.edu/confluence/display/c/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier

Regards,
Markus


More information about the dri-devel mailing list