Hi Jason,
On Wed, Jul 25, 2018 at 10:37 PM, Jason Gunthorpe wrote:
> On Wed, Jul 25, 2018 at 08:43:56PM +0200, Varsha Rao wrote:
> > Remove unnecessary parentheses to fix the clang warning of extraneous
> > parentheses.
> >
> > Signed-off-by: Varsha Rao
> >
Hi Jason,
On Wed, Jul 25, 2018 at 10:37 PM, Jason Gunthorpe wrote:
> On Wed, Jul 25, 2018 at 08:43:56PM +0200, Varsha Rao wrote:
> > Remove unnecessary parentheses to fix the clang warning of extraneous
> > parentheses.
> >
> > Signed-off-by: Varsha Rao
> >
Remove unnecessary parentheses to fix the extraneous parentheses clang
warning.
Signed-off-by: Varsha Rao
---
drivers/net/wireless/st/cw1200/txrx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/st/cw1200/txrx.c
b/drivers/net/wireless/st/cw1200
Remove unnecessary parentheses to fix the extraneous parentheses clang
warning.
Signed-off-by: Varsha Rao
---
drivers/net/wireless/st/cw1200/txrx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/st/cw1200/txrx.c
b/drivers/net/wireless/st/cw1200
Remove the unnecessary parentheses to fix the clang warning of
extraneous parentheses.
Signed-off-by: Varsha Rao
---
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211
Remove the unnecessary parentheses to fix the clang warning of
extraneous parentheses.
Signed-off-by: Varsha Rao
---
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211
Remove extra parentheses to fix the clang warning of extraneous
parentheses.
Signed-off-by: Varsha Rao
---
drivers/net/wireless/ath/ath9k/debug_sta.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath9k/debug_sta.c
b/drivers/net/wireless/ath/ath9k
Remove extra parentheses to fix the clang warning of extraneous
parentheses.
Signed-off-by: Varsha Rao
---
drivers/net/wireless/ath/ath9k/debug_sta.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath9k/debug_sta.c
b/drivers/net/wireless/ath/ath9k
Remove extra parentheses to fix the clang warning of extraneous
parentheses.
Signed-off-by: Varsha Rao
---
drivers/net/wireless/ath/ath6kl/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath6kl/main.c
b/drivers/net/wireless/ath/ath6kl/main.c
Remove extra parentheses to fix the clang warning of extraneous
parentheses.
Signed-off-by: Varsha Rao
---
drivers/net/wireless/ath/ath6kl/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath6kl/main.c
b/drivers/net/wireless/ath/ath6kl/main.c
Remove unnecessary parentheses to fix the clang warning of extraneous
parentheses.
Signed-off-by: Varsha Rao
---
drivers/infiniband/core/cma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c
index bff10ab141b0
Remove unnecessary parentheses to fix the clang warning of extraneous
parentheses.
Signed-off-by: Varsha Rao
---
drivers/infiniband/core/cma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c
index bff10ab141b0
Commit-ID: cce2946b9b30a9b31a18de737d5010c08076e77f
Gitweb: https://git.kernel.org/tip/cce2946b9b30a9b31a18de737d5010c08076e77f
Author: Varsha Rao
AuthorDate: Sun, 20 May 2018 13:30:12 +0530
Committer: Thomas Gleixner
CommitDate: Wed, 6 Jun 2018 13:38:01 +0200
x86/platform/uv: Remove
Commit-ID: cce2946b9b30a9b31a18de737d5010c08076e77f
Gitweb: https://git.kernel.org/tip/cce2946b9b30a9b31a18de737d5010c08076e77f
Author: Varsha Rao
AuthorDate: Sun, 20 May 2018 13:30:12 +0530
Committer: Thomas Gleixner
CommitDate: Wed, 6 Jun 2018 13:38:01 +0200
x86/platform/uv: Remove
Remove extra parentheses to fix the extraneous parentheses clang
warning.
Suggested-by: Lukas Bulwahn <lukas.bulw...@gmail.com>
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
arch/x86/platform/uv/tlb_uv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/
Remove extra parentheses to fix the extraneous parentheses clang
warning.
Suggested-by: Lukas Bulwahn
Signed-off-by: Varsha Rao
---
arch/x86/platform/uv/tlb_uv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c
Remove unnecessary parentheses to fix the clang warning of extraneous
parentheses.
Suggested-by: Lukas Bulwahn <lukas.bulw...@gmail.com>
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
fs/ocfs2/dlm/dlmthread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/
Remove unnecessary parentheses to fix the clang warning of extraneous
parentheses.
Suggested-by: Lukas Bulwahn
Signed-off-by: Varsha Rao
---
fs/ocfs2/dlm/dlmthread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ocfs2/dlm/dlmthread.c b/fs/ocfs2/dlm/dlmthread.c
index
This patch fixes the clang warning of extraneous parentheses, with the
following coccinelle script.
@@
identifier i;
constant c;
expression e;
@@
(
!((e))
|
-((
\(i == c\|i != c\|i <= c\|i < c\|i >= c\|i > c\)
-))
)
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
Changes
This patch fixes the clang warning of extraneous parentheses, with the
following coccinelle script.
@@
identifier i;
constant c;
expression e;
@@
(
!((e))
|
-((
\(i == c\|i != c\|i <= c\|i < c\|i >= c\|i > c\)
-))
)
Signed-off-by: Varsha Rao
---
Changes in v2:
- Modified cocci
This patch fixes the clang warning of extraneous parentheses, with the
following coccinelle script.
@@
identifier i;
constant c;
expression e;
@@
(
!((e))
|
-((
\(i == c\|i != c\|i <= c\|i < c\|i >= c\|i > c\)
-))
)
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
Changes
This patch fixes the clang warning of extraneous parentheses, with the
following coccinelle script.
@@
identifier i;
constant c;
expression e;
@@
(
!((e))
|
-((
\(i == c\|i != c\|i <= c\|i < c\|i >= c\|i > c\)
-))
)
Signed-off-by: Varsha Rao
---
Changes in v2:
- Modified cocci
On Sat, Mar 31, 2018 at 11:48 AM, Julia Lawall wrote:
> On Thu, 29 Mar 2018, Varsha Rao wrote:
>
>> On Wed, Mar 28, 2018 at 11:41 PM, Joe Perches wrote:
>> >
>> > On Wed, 2018-03-28 at 23:27, Varsha Rao wrote:
>> > > This patch fixes t
On Sat, Mar 31, 2018 at 11:48 AM, Julia Lawall wrote:
> On Thu, 29 Mar 2018, Varsha Rao wrote:
>
>> On Wed, Mar 28, 2018 at 11:41 PM, Joe Perches wrote:
>> >
>> > On Wed, 2018-03-28 at 23:27, Varsha Rao wrote:
>> > > This patch fixes t
On Wed, Mar 28, 2018 at 11:41 PM, Joe Perches wrote:
>
> On Wed, 2018-03-28 at 23:27, Varsha Rao wrote:
> > This patch fixes the clang warning of extraneous parentheses, with the
> > following coccinelle script.
> >
> > @@
> > identifier i;
> > constant c
On Wed, Mar 28, 2018 at 11:41 PM, Joe Perches wrote:
>
> On Wed, 2018-03-28 at 23:27, Varsha Rao wrote:
> > This patch fixes the clang warning of extraneous parentheses, with the
> > following coccinelle script.
> >
> > @@
> > identifier i;
> > constant c
This patch fixes the clang warning of extraneous parentheses, with the
following coccinelle script.
@@
identifier i;
constant c;
@@
(
-((i == c))
+i == c
|
-((i <= c))
+i <= c
)
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
drivers/crypto/cavium/zip/zip
This patch fixes the clang warning of extraneous parentheses, with the
following coccinelle script.
@@
identifier i;
constant c;
@@
(
-((i == c))
+i == c
|
-((i <= c))
+i <= c
)
Signed-off-by: Varsha Rao
---
drivers/crypto/cavium/zip/zip_regs.h | 42 ++--
As printk is no longer used here, rename the label fail_printk as
fail_print.
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
drivers/char/misc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index 5786281..0fed477
As printk is no longer used here, rename the label fail_printk as
fail_print.
Signed-off-by: Varsha Rao
---
drivers/char/misc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index 5786281..0fed477 100644
--- a/drivers/char
Replace bit operation functions with IDA allocator functions. As IDA
allocation is simpler, faster, more space efficient and it generates
small integer IDs which can be used as minor device numbers.
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
drivers/char/misc.c | 16 ++---
Replace bit operation functions with IDA allocator functions. As IDA
allocation is simpler, faster, more space efficient and it generates
small integer IDs which can be used as minor device numbers.
Signed-off-by: Varsha Rao
---
drivers/char/misc.c | 16 ++--
1 file changed, 10
In this patchset label fail_printk is renamed and use IDA allocation
instead of bitmap.
Varsha Rao (2):
drivers: char: Replace bit operation functions with IDA allocator.
drivers: char: Replace fail_printk with fail_print.
drivers/char/misc.c | 20
1 file changed, 12
In this patchset label fail_printk is renamed and use IDA allocation
instead of bitmap.
Varsha Rao (2):
drivers: char: Replace bit operation functions with IDA allocator.
drivers: char: Replace fail_printk with fail_print.
drivers/char/misc.c | 20
1 file changed, 12
ISC_MAJOR, misc->minor));
>> if (i < DYNAMIC_MINORS && i >= 0)
>> - clear_bit(i, misc_minors);
>> + ida_simple_remove(_minors_ida, i);
>
> As much as I like the ida interface, I don't see why it is required to
> use it here, you
ISC_MAJOR, misc->minor));
>> if (i < DYNAMIC_MINORS && i >= 0)
>> - clear_bit(i, misc_minors);
>> + ida_simple_remove(_minors_ida, i);
>
> As much as I like the ida interface, I don't see why it is required to
> use it here, you
Replace bit operation functions with IDA allocator functions. As IDA
allocation is simpler.
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
drivers/char/misc.c | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/drivers/char/misc.c b/drivers/char/
Replace bit operation functions with IDA allocator functions. As IDA
allocation is simpler.
Signed-off-by: Varsha Rao
---
drivers/char/misc.c | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index c9cd1ea..5786281
Replace printk with pr_err to fix the checkpatch issue.
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
drivers/char/misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index 1312e29..c9cd1ea 100644
--- a/drivers/char/
Replace printk with pr_err to fix the checkpatch issue.
Signed-off-by: Varsha Rao
---
drivers/char/misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index 1312e29..c9cd1ea 100644
--- a/drivers/char/misc.c
+++ b/drivers/char
Add a blank line after declaration, to fix the checkpatch issue.
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
drivers/char/misc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index 3a19fa3..1312e29 100644
--- a/drivers/char/misc.c
Add a blank line after declaration, to fix the checkpatch issue.
Signed-off-by: Varsha Rao
---
drivers/char/misc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index 3a19fa3..1312e29 100644
--- a/drivers/char/misc.c
+++ b/drivers/char/misc.c
Add space which is required after ',' to follow linux coding style. This
patch fixes the checkpatch issue.
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
drivers/char/misc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/char/misc.c b/drivers/char/
Add space which is required after ',' to follow linux coding style. This
patch fixes the checkpatch issue.
Signed-off-by: Varsha Rao
---
drivers/char/misc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index ed8f79c..3a19fa3
Remove space after * in pointer type, to follow linux coding style. This
patch fixes the following checkpatch issue:
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
drivers/char/misc.c | 4 ++--
1 file changed, 2 insertion
Remove space after * in pointer type, to follow linux coding style. This
patch fixes the following checkpatch issue:
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Varsha Rao
---
drivers/char/misc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
This patchset fixes checkpatch issues and use IDA allocation instead of
bitmap.
Varsha Rao (5):
drivers: char: Replace "foo * bar" with "foo *bar".
drivers: char: Add space after ','.
drivers: char: Add blank line after declarations.
drivers: char: Replace printk wi
This patchset fixes checkpatch issues and use IDA allocation instead of
bitmap.
Varsha Rao (5):
drivers: char: Replace "foo * bar" with "foo *bar".
drivers: char: Add space after ','.
drivers: char: Add blank line after declarations.
drivers: char: Replace printk wi
Replace bit operation functions with IDA allocator functions. As IDA
allocation is simpler.
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
drivers/char/misc.c | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/drivers/char/misc.c b/drivers/char/
Replace bit operation functions with IDA allocator functions. As IDA
allocation is simpler.
Signed-off-by: Varsha Rao
---
drivers/char/misc.c | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index c9cd1ea..5786281
Replace printk with pr_err to fix the checkpatch issue.
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
drivers/char/misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index 1312e29..c9cd1ea 100644
--- a/drivers/char/
Replace printk with pr_err to fix the checkpatch issue.
Signed-off-by: Varsha Rao
---
drivers/char/misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index 1312e29..c9cd1ea 100644
--- a/drivers/char/misc.c
+++ b/drivers/char
Add a blank line after declarations, to fix the checkpatch issue.
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
drivers/char/misc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index 3a19fa3..1312e29 100644
--- a/drivers/char/misc.c
Add a blank line after declarations, to fix the checkpatch issue.
Signed-off-by: Varsha Rao
---
drivers/char/misc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index 3a19fa3..1312e29 100644
--- a/drivers/char/misc.c
+++ b/drivers/char/misc.c
Add space which is required after ',' to follow Linux coding style. This
patch fixes the checkpatch issue.
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
drivers/char/misc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/char/misc.c b/drivers/char/
Add space which is required after ',' to follow Linux coding style. This
patch fixes the checkpatch issue.
Signed-off-by: Varsha Rao
---
drivers/char/misc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/char/misc.c b/drivers/char/misc.c
index ed8f79c..3a19fa3
This patchset fixes checkpatch issues and use IDA allocation instead of
bitmap.
Varsha Rao (5):
drivers: char: Replace "foo * bar" with "foo *bar".
drivers: char: Add space after ','.
drivers: char: Add blank line after declarations.
drivers: char: Replace printk wi
This patchset fixes checkpatch issues and use IDA allocation instead of
bitmap.
Varsha Rao (5):
drivers: char: Replace "foo * bar" with "foo *bar".
drivers: char: Add space after ','.
drivers: char: Add blank line after declarations.
drivers: char: Replace printk wi
Remove space after * in pointer type, to follow Linux coding style. This
patch fixes the following checkpatch issue:
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Varsha Rao <rvarsha...@gmail.com>
---
drivers/char/misc.c | 4 ++--
1 file changed, 2 insertion
Remove space after * in pointer type, to follow Linux coding style. This
patch fixes the following checkpatch issue:
ERROR: "foo * bar" should be "foo *bar"
Signed-off-by: Varsha Rao
---
drivers/char/misc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
60 matches
Mail list logo