From: Himangi Saraogi
Date: Thu, 14 Aug 2014 22:14:30 +0530
> The Linux kernel coding style guidelines suggest not using typedefs
> for structure types. This patch gets rid of the typedef for
> atiixp_ide_timing.
>
> The following Coccinelle semantic patch detects the case:
...
> Signed-off-by
The Linux kernel coding style guidelines suggest not using typedefs
for structure types. This patch gets rid of the typedef for
atiixp_ide_timing.
The following Coccinelle semantic patch detects the case:
@tn1@
type td;
@@
typedef struct { ... } td;
@script:python tf@
td << tn1.td;
tdres;
@@
c
2 matches
Mail list logo