2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/fs/befs
Himangi Saraogi 0f2a84f41a fs/befs/btree.c: remove typedef befs_btree_node
The Linux kernel coding style guidelines suggest not using typedefs for
structure types.  This patch gets rid of the typedef for befs_btree_node.

The following Coccinelle semantic patch detects the case.

@tn1@
type td;
@@

typedef struct { ... } td;

@script:python tf@
td << tn1.td;
tdres;
@@

coccinelle.tdres = td;

@@
type tn1.td;
identifier tf.tdres;
@@

-typedef
 struct
+  tdres
   { ... }
-td
 ;

@@
type tn1.td;
identifier tf.tdres;
@@

-td
+ struct tdres

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-10-14 02:18:20 +02:00
..
befs_fs_types.h Fix common misspellings 2011-03-31 11:26:23 -03:00
befs.h BEFS: logging cleanup 2014-04-03 16:21:25 -07:00
btree.c fs/befs/btree.c: remove typedef befs_btree_node 2014-10-14 02:18:20 +02:00
btree.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ChangeLog Fix common misspellings 2011-03-31 11:26:23 -03:00
datastream.c fs/befs: kernel-doc fixes 2014-06-06 16:08:09 -07:00
datastream.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug.c BEFS: logging cleanup 2014-04-03 16:21:25 -07:00
endian.h befs: don't pass huge structs by value 2011-01-13 08:03:15 -08:00
inode.c BEFS: logging cleanup 2014-04-03 16:21:25 -07:00
inode.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
io.c BEFS: logging cleanup 2014-04-03 16:21:25 -07:00
io.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig fs/befs: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:39:04 -08:00
linuxvfs.c fs/befs/linuxvfs.c: check superblock before dump operation 2014-08-08 15:57:20 -07:00
Makefile BEFS: logging cleanup 2014-04-03 16:21:25 -07:00
super.c befs: fix build on parisc 2009-04-08 10:21:43 -07:00
super.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
TODO Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00