When hit error then we can return immediately. This makes the code
simpler and lets us remove some indenting.
Signed-off-by: Salym Senyonga
---
drivers/staging/ozwpan/ozproto.c | 44 ++---
1 files changed, 21 insertions(+), 23 deletions(-)
diff --git a/drivers
changing to kzalloc lets us get rid of some lines. The other concern
here is that some members of binding->ptype are still uninitialized at
the end of the function.
Signed-off-by: Salym Senyonga
---
drivers/staging/ozwpan/ozproto.c |6 +-
1 files changed, 1 insertions(+), 5 deleti
If net_dev is NULL memcpy() will Oops.
Signed-off-by: Salym Senyonga
---
drivers/staging/ozwpan/ozproto.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/ozwpan/ozproto.c b/drivers/staging/ozwpan/ozproto.c
index cb06036..5d965cf 100644
--- a/drivers
Just a few minor changes to make columns line up.
Signed-off-by: Salym Senyonga
---
.../lustre/include/linux/libcfs/libcfs_debug.h | 24 ++--
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h
b
Uniformly align backslashes to improve readability.
Signed-off-by: Salym Senyonga
---
.../lustre/include/linux/libcfs/libcfs_debug.h | 70 ++--
1 files changed, 35 insertions(+), 35 deletions(-)
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h
b
This patch removes consecutive blank lines.
Signed-off-by: Salym Senyonga
---
.../lustre/include/linux/libcfs/libcfs_debug.h |8
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h
b/drivers/staging/lustre
Give all the constants a uniform alignment.
Signed-off-by: Salym Senyonga
---
.../lustre/include/linux/libcfs/libcfs_debug.h | 108 ++--
1 files changed, 54 insertions(+), 54 deletions(-)
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h
b/drivers