From: Suniel Mahesh
Mk16_le() is an inline function returning le16_to_cpu()
which is causing type mismatch warnings. Removed Mk16_le() and
replaced it with le16_to_cpu() with appropriate argument type as
suggested by Greg K-H.
Signed-off-by: Suniel Mahesh
---
Changes for v2:
- Modified commit
From: Suniel Mahesh
The function Mk16_le() is calling le16_to_cpu()
internally. le16_to_cpu() takes an argument of type (__le *)
but the argument passed is of type (u16 *). Fixed it by passing
the correct argument type.
Signed-off-by: Suniel Mahesh
---
.../rtl8192u/ieee80211/ieee80211_crypt_tk
From: Suniel Mahesh
The function Mk16_le() is calling le16_to_cpu() internally.
le16_to_cpu() takes an argument of type (__le *) but the argument
passed is of type (u16 *). Fixed it by passing the correct argument.
Signed-off-by: Suniel Mahesh
---
.../rtl8192u/ieee80211/ieee80211_crypt_tkip.c
From: Suniel Mahesh
Prefer and make it generic by using %s and __func__ to print
functions name instead of embedding functions name in print statements
Signed-off-by: Suniel Mahesh
---
drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 22 +++---
1 file changed, 11 insertions(+), 11
From: Suniel Mahesh
Fixed the following checkpatch.pl checks:
Blank lines aren't necessary after an open brace '{'
and before a close brace '}', removed
No space is necessary after a cast, removed
Please don't use multiple blank lines, removed
Signed-off-by: Suniel Mahesh
---
Changes for v5:
-
From: Suniel Mahesh
Fixed the following checkpatch.pl checks:
spaces preferred around that 'operator', spacing provided
Logical continuations should be on the previous line, modified accordingly
Unnecessary parentheses around variables, removed
Please use a blank line after function/struct/union/
From: Suniel Mahesh
Fixed the following checkpatch.pl warning:
Possible unnecessary 'out of memory' message
If it is out of memory, function should return with an
appropriate error code. Since this function is of type void,
a return statement is used.
Signed-off-by: Suniel Mahesh
---
Changes fo
From: Suniel Mahesh
Fixed the following checkpatch.pl warnings:
Block comments should align the * on each line
Block comments use * on subsequent lines
Signed-off-by: Suniel Mahesh
---
Changes for v5:
- Changed email address from suni...@techveda.org to suniel.spar...@gmail.com,
reason being
From: Suniel Mahesh
Replaced sizeof(struct foo) into sizeof(*ptr), found by checkpatch.pl
Signed-off-by: Suniel Mahesh
---
Changes for v5:
- Changed email address from suni...@techveda.org to suniel.spar...@gmail.com,
reason being few patches were being dropped and not getting delivered,
c
From: Suniel Mahesh
Changed email address from suni...@techveda.org to suniel.spar...@gmail.com,
reason being few patches were being dropped and not getting delivered,
couldn't resolve that issue.
Split earlier patches into multiple commits for easy review as
suggested by Dan Carpenter.
Modified
From: Suniel Mahesh
This patch simplifies code by replacing explicit NULL comparison
with ! or unmark operator
Reported by checkpatch.pl for comparison to NULL could be
written '!foo' or 'foo'
Signed-off-by: Suniel Mahesh
---
Changes for v5:
- Changed email address from suni...@techveda.org to
11 matches
Mail list logo