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 <[email protected] >
Acked-by: Julia Lawall <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2014-10-14 02:18:20 +02:00
Fabian Frederick
817e1d902a
fs/befs: kernel-doc fixes
...
Fix some comment errors.
Signed-off-by: Fabian Frederick <[email protected] >
Cc: Randy Dunlap <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2014-06-06 16:08:09 -07:00
Fabian Frederick
6cb103b6f4
fs/befs/btree.c: replace strncpy by strlcpy + coding style fixing
...
- strncpy + end of string assignement replaced by strlcpy
- Fix endif };
- Fix typo
Signed-off-by: Fabian Frederick <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2014-06-06 16:08:09 -07:00
Fabian Frederick
dac52fc182
BEFS: logging cleanup
...
Summary:
- all printk(KERN_foo converted to pr_foo()
- add pr_fmt and remove redundant prefixes
- convert befs_() to va_format (based on patch by Joe Perches)
- remove non standard %Lu
- use __func__ for all debugging
[[email protected] : fix printk warnings, reported by Fengguang]
Signed-off-by: Fabian Frederick <[email protected] >
Cc: Joe Perches <[email protected] >
Cc: Fengguang Wu <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2014-04-03 16:21:25 -07:00
Zhang Yanfei
ee68a3c625
fs: befs: remove cast for kmalloc return value
...
remove cast for kmalloc return value.
Signed-off-by: Zhang Yanfei <[email protected] >
Cc: Andrew Morton <[email protected] >
Signed-off-by: Jiri Kosina <[email protected] >
2013-03-18 14:15:59 +01:00
Lucas De Marchi
25985edced
Fix common misspellings
...
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi <[email protected] >
2011-03-31 11:26:23 -03:00
Joe Perches
c78bad11fb
fs/: Spelling fixes
...
Signed-off-by: Joe Perches <[email protected] >
Signed-off-by: Adrian Bunk <[email protected] >
2008-02-03 17:33:42 +02:00
Robert P. J. Day
5cbded585d
[PATCH] getting rid of all casts of k[cmz]alloc() calls
...
Run this:
#!/bin/sh
for f in $(grep -Erl "\([^\)]*\) *k[cmz]alloc" *) ; do
echo "De-casting $f..."
perl -pi -e "s/ ?= ?\([^\)]*\) *(k[cmz]alloc) *\(/ = \1\(/" $f
done
And then go through and reinstate those cases where code is casting pointers
to non-pointers.
And then drop a few hunks which conflicted with outstanding work.
Cc: Russell King <[email protected] >, Ian Molton <[email protected] >
Cc: Mikael Starvik <[email protected] >
Cc: Yoshinori Sato <[email protected] >
Cc: Roman Zippel <[email protected] >
Cc: Geert Uytterhoeven <[email protected] >
Cc: Ralf Baechle <[email protected] >
Cc: Paul Mackerras <[email protected] >
Cc: Kyle McMartin <[email protected] >
Cc: Benjamin Herrenschmidt <[email protected] >
Cc: Martin Schwidefsky <[email protected] >
Cc: "David S. Miller" <[email protected] >
Cc: Jeff Dike <[email protected] >
Cc: Greg KH <[email protected] >
Cc: Jens Axboe <[email protected] >
Cc: Paul Fulghum <[email protected] >
Cc: Alan Cox <[email protected] >
Cc: Karsten Keil <[email protected] >
Cc: Mauro Carvalho Chehab <[email protected] >
Cc: Jeff Garzik <[email protected] >
Cc: James Bottomley <[email protected] >
Cc: Ian Kent <[email protected] >
Cc: Steven French <[email protected] >
Cc: David Woodhouse <[email protected] >
Cc: Neil Brown <[email protected] >
Cc: Jaroslav Kysela <[email protected] >
Cc: Takashi Iwai <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2006-12-13 09:05:58 -08:00
Al Viro
a9721f3152
[PATCH] befs: endianness annotations
...
split the data structures that exist in host- and disk-endian variants,
annotate the fields of disk-endian ones, propagate changes.
Signed-off-by: Al Viro <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2006-10-10 16:15:33 -07:00
Al Viro
af10b0084d
[PATCH] befs: prepare to sanitizing headers
...
pulled includes of endian.h from fs/befs/*.c to befs.h
Signed-off-by: Al Viro <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2006-10-10 16:15:33 -07:00
Linus Torvalds
1da177e4c3
Linux-2.6.12-rc2
...
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
2005-04-16 15:20:36 -07:00