[PATCH 02/16] event/octeontx: add define guards to avoid multi-inclusion

Thomas Monjalon thomas at monjalon.net
Tue Feb 8 17:27:05 CET 2022


06/02/2022 04:58, Weiguo Li:
> Supplement define guards to prevent multiple inclusion.
> 
> Signed-off-by: Weiguo Li <liwg06 at foxmail.com>
> ---
> --- a/drivers/event/octeontx/timvf_worker.h
> +++ b/drivers/event/octeontx/timvf_worker.h
> +#ifndef __TIMVF_WORKER_H__
> +#define __TIMVF_WORKER_H__

Why these underscores?
It could be simply
	#ifndef TIMVF_WORKER_H




More information about the dev mailing list