From: Markus Elfring
Date: Tue, 16 Jan 2018 17:30:23 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Tue, 16 Jan 2018 17:30:23 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/viperboard.c | 4 +---
1 file changed, 1 insertion(+), 3
From: Markus Elfring
Date: Tue, 16 Jan 2018 17:06:51 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Tue, 16 Jan 2018 17:06:51 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/twl6030-irq.c | 4 +---
1 file changed, 1 insertion(+), 3
From: Markus Elfring
Date: Tue, 16 Jan 2018 13:43:03 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Tue, 16 Jan 2018 13:43:03 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/tps80031.c | 4 +---
1 file changed, 1 insertion(+), 3
From: Markus Elfring
Date: Tue, 16 Jan 2018 12:22:28 +0100
Move the assignment for the local variable "dev" so that its setting
will be performed after a configuration check by this function.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Tue, 16 Jan 2018 12:22:28 +0100
Move the assignment for the local variable "dev" so that its setting
will be performed after a configuration check by this function.
Signed-off-by: Markus Elfring
---
drivers/mfd/tps65910.c | 4 ++--
1 file changed, 2 insertions(+), 2
From: Markus Elfring
Date: Tue, 16 Jan 2018 12:10:49 +0100
The local variable "dev" will be reassigned by a following statement.
Thus omit the explicit initialisation at the beginning.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Tue, 16 Jan 2018 12:10:49 +0100
The local variable "dev" will be reassigned by a following statement.
Thus omit the explicit initialisation at the beginning.
Signed-off-by: Markus Elfring
---
drivers/mfd/tps65910.c | 2 +-
1 file changed, 1 insertion(+), 1
From: Markus Elfring
Date: Tue, 16 Jan 2018 11:40:28 +0100
The local variable "ret" will be set to an appropriate value a bit later.
Thus omit the explicit initialisation at the beginning.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Tue, 16 Jan 2018 11:40:28 +0100
The local variable "ret" will be set to an appropriate value a bit later.
Thus omit the explicit initialisation at the beginning.
Signed-off-by: Markus Elfring
---
drivers/mfd/tps65910.c | 8
1 file changed, 4 insertions(+),
From: Markus Elfring
Date: Tue, 16 Jan 2018 11:14:40 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Tue, 16 Jan 2018 11:14:40 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/tps65910.c | 4 +---
1 file changed, 1 insertion(+), 3
From: Markus Elfring
Date: Tue, 16 Jan 2018 12:54:32 +0100
A few update suggestions were taken into account
from static source code analysis.
Markus Elfring (4):
Delete an error message for a failed memory allocation in tps65910_parse_dt()
Delete an
From: Markus Elfring
Date: Tue, 16 Jan 2018 12:54:32 +0100
A few update suggestions were taken into account
from static source code analysis.
Markus Elfring (4):
Delete an error message for a failed memory allocation in tps65910_parse_dt()
Delete an unnecessary variable initialisation in
From: Markus Elfring
Date: Tue, 16 Jan 2018 11:02:56 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Tue, 16 Jan 2018 11:02:56 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/tps6586x.c | 4 +---
1 file changed, 1 insertion(+), 3
From: Markus Elfring
Date: Tue, 16 Jan 2018 10:37:33 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Tue, 16 Jan 2018 10:37:33 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/tps65090.c | 4 +---
1 file changed, 1 insertion(+), 3
From: Markus Elfring
Date: Tue, 16 Jan 2018 10:07:43 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Tue, 16 Jan 2018 10:07:43 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/ti_am335x_tscadc.c | 5 ++---
1 file changed, 2
From: Markus Elfring
Date: Tue, 16 Jan 2018 08:58:26 +0100
Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style
From: Markus Elfring
Date: Tue, 16 Jan 2018 08:58:26 +0100
Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.
This issue was
From: Markus Elfring
Date: Tue, 16 Jan 2018 08:52:27 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Tue, 16 Jan 2018 08:52:27 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/smsc-ece1099.c | 4 +---
1 file changed, 1 insertion(+),
From: Markus Elfring
Date: Tue, 16 Jan 2018 09:14:56 +0100
Two update suggestions were taken into account
from static source code analysis.
Markus Elfring (2):
Delete an error message for a failed memory allocation
Improve a size determination
From: Markus Elfring
Date: Tue, 16 Jan 2018 09:14:56 +0100
Two update suggestions were taken into account
from static source code analysis.
Markus Elfring (2):
Delete an error message for a failed memory allocation
Improve a size determination
drivers/mfd/smsc-ece1099.c | 8 ++--
1
>> * Would you like to add a tag “link”?
>
> Are you okay with this one?
> https://lkml.org/lkml/2018/1/15/411
Yes.
> - resend as v2
I was unsure about your patch handling from the previous replies.
> Also, patch contains all your changes, so you should be credited
> somehow - hence the
>> * Would you like to add a tag “link”?
>
> Are you okay with this one?
> https://lkml.org/lkml/2018/1/15/411
Yes.
> - resend as v2
I was unsure about your patch handling from the previous replies.
> Also, patch contains all your changes, so you should be credited
> somehow - hence the
> dev_dbg(dev,
>"USB TLL Rev : 0x%x not recognized, assuming %d channels\n",
> - ver, tll->nch);
> + ver, nch);
> break;
Does this format string need an other indentation when you touch this statement?
Regards,
> dev_dbg(dev,
>"USB TLL Rev : 0x%x not recognized, assuming %d channels\n",
> - ver, tll->nch);
> + ver, nch);
> break;
Does this format string need an other indentation when you touch this statement?
Regards,
>> So I hope that your solution approach will be also fine.
>> Will it supersede my proposal?
>
> Who knows, perhaps it would be the best if you could judge yourself...
I am also curious on how other contributors will respond to
your following update suggestion.
> 8<
>
> Subject:
>> So I hope that your solution approach will be also fine.
>> Will it supersede my proposal?
>
> Who knows, perhaps it would be the best if you could judge yourself...
I am also curious on how other contributors will respond to
your following update suggestion.
> 8<
>
> Subject:
> That said, you might end having only fragment of log in only one of thousands
> And saying technician he needs to use another kernel (upgrade all machines)
> and wait another several weeks for bug to trigger is no way.
This was not really my intention here.
> So until evolution reaches ARM
> That said, you might end having only fragment of log in only one of thousands
> And saying technician he needs to use another kernel (upgrade all machines)
> and wait another several weeks for bug to trigger is no way.
This was not really my intention here.
> So until evolution reaches ARM
>>> Now, if probe function calls devm_kzalloc two times and one of them fails,
>>> you cannot easily say which one without looking at assembly listing.
>>
>> Will this situation change with any other implementation for such backtraces?
>
> How much that situation changes depends mainly on that
>>> Now, if probe function calls devm_kzalloc two times and one of them fails,
>>> you cannot easily say which one without looking at assembly listing.
>>
>> Will this situation change with any other implementation for such backtraces?
>
> How much that situation changes depends mainly on that
@@ -258,7 +256,6 @@ static int usbtll_omap_probe(struct platform_device
*pdev)
GFP_KERNEL);
if (!tll->ch_clk) {
ret = -ENOMEM;
- dev_err(dev, "Couldn't allocate memory for channel clocks\n");
>>>
>>>
@@ -258,7 +256,6 @@ static int usbtll_omap_probe(struct platform_device
*pdev)
GFP_KERNEL);
if (!tll->ch_clk) {
ret = -ENOMEM;
- dev_err(dev, "Couldn't allocate memory for channel clocks\n");
>>>
>>>
>> @@ -258,7 +256,6 @@ static int usbtll_omap_probe(struct platform_device
>> *pdev)
>> GFP_KERNEL);
>> if (!tll->ch_clk) {
>> ret = -ENOMEM;
>> -dev_err(dev, "Couldn't allocate memory for channel clocks\n");
>
> I'd
>> @@ -258,7 +256,6 @@ static int usbtll_omap_probe(struct platform_device
>> *pdev)
>> GFP_KERNEL);
>> if (!tll->ch_clk) {
>> ret = -ENOMEM;
>> -dev_err(dev, "Couldn't allocate memory for channel clocks\n");
>
> I'd
From: Markus Elfring
Date: Mon, 15 Jan 2018 16:00:22 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The script “checkpatch.pl” pointed information out like the following.
Comparison to NULL could be written …
Thus
From: Markus Elfring
Date: Mon, 15 Jan 2018 16:00:22 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The script “checkpatch.pl” pointed information out like the following.
Comparison to NULL could be written …
Thus fix the affected source code
From: Markus Elfring
Date: Mon, 15 Jan 2018 15:47:03 +0100
Replace the specification of data structures by pointer dereferences
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style
From: Markus Elfring
Date: Mon, 15 Jan 2018 15:47:03 +0100
Replace the specification of data structures by pointer dereferences
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.
This issue was
From: Markus Elfring
Date: Mon, 15 Jan 2018 15:40:46 +0100
Omit an extra message for a memory allocation failure in these functions.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Mon, 15 Jan 2018 15:40:46 +0100
Omit an extra message for a memory allocation failure in these functions.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/sm501.c | 2 --
1 file changed, 2 deletions(-)
diff
From: Markus Elfring
Date: Mon, 15 Jan 2018 16:11:22 +0100
Two update suggestions were taken into account
from static source code analysis.
Markus Elfring (3):
Delete an error message for a failed memory allocation in two functions
Improve a size determination
From: Markus Elfring
Date: Mon, 15 Jan 2018 16:11:22 +0100
Two update suggestions were taken into account
from static source code analysis.
Markus Elfring (3):
Delete an error message for a failed memory allocation in two functions
Improve a size determination in two functions
Adjust 12
From: Markus Elfring
Date: Mon, 15 Jan 2018 15:10:33 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Mon, 15 Jan 2018 15:10:33 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/si476x-i2c.c | 6 ++
1 file changed, 2 insertions(+),
From: Markus Elfring
Date: Mon, 15 Jan 2018 14:50:25 +0100
Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style
From: Markus Elfring
Date: Mon, 15 Jan 2018 14:50:25 +0100
Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.
This issue was
From: Markus Elfring
Date: Mon, 15 Jan 2018 14:48:57 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Mon, 15 Jan 2018 14:48:57 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/rc5t583.c | 4 +---
1 file changed, 1 insertion(+), 3
From: Markus Elfring
Date: Mon, 15 Jan 2018 14:57:28 +0100
Two update suggestions were taken into account
from static source code analysis.
Markus Elfring (2):
Delete an error message for a failed memory allocation
Improve a size determination
From: Markus Elfring
Date: Mon, 15 Jan 2018 14:57:28 +0100
Two update suggestions were taken into account
from static source code analysis.
Markus Elfring (2):
Delete an error message for a failed memory allocation
Improve a size determination
drivers/mfd/rc5t583.c | 6 ++
1 file
From: Markus Elfring
Date: Mon, 15 Jan 2018 14:00:45 +0100
* Return an error code without storing it in an intermediate variable.
* Delete the label "err_clk_alloc" and local variable "ret"
which became unnecessary with this refactoring.
Signed-off-by: Markus
From: Markus Elfring
Date: Mon, 15 Jan 2018 14:00:45 +0100
* Return an error code without storing it in an intermediate variable.
* Delete the label "err_clk_alloc" and local variable "ret"
which became unnecessary with this refactoring.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Mon, 15 Jan 2018 13:43:53 +0100
Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style
From: Markus Elfring
Date: Mon, 15 Jan 2018 13:43:53 +0100
Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.
This issue was
From: Markus Elfring
Date: Mon, 15 Jan 2018 13:39:25 +0100
Omit extra messages for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Mon, 15 Jan 2018 13:39:25 +0100
Omit extra messages for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/omap-usb-tll.c | 5 +
1 file changed, 1 insertion(+), 4
From: Markus Elfring
Date: Mon, 15 Jan 2018 14:09:28 +0100
Three update suggestions were taken into account
from static source code analysis.
Markus Elfring (3):
Delete two error messages for a failed memory allocation
Improve a size determination
Return an
From: Markus Elfring
Date: Mon, 15 Jan 2018 14:09:28 +0100
Three update suggestions were taken into account
from static source code analysis.
Markus Elfring (3):
Delete two error messages for a failed memory allocation
Improve a size determination
Return an error code only as a constant
> These messages are not displayed anywhere else:
> "unable to allocate receive buffer of size %u\n"
> "unable to allocate send buffer of size %u\n",
>
> After set ret = -ENOMEM; and cleanup, we won't know which buffer allocation
> failed without the error message.
How do you think about to
> These messages are not displayed anywhere else:
> "unable to allocate receive buffer of size %u\n"
> "unable to allocate send buffer of size %u\n",
>
> After set ret = -ENOMEM; and cleanup, we won't know which buffer allocation
> failed without the error message.
How do you think about to
From: Markus Elfring
Date: Mon, 15 Jan 2018 09:35:17 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Mon, 15 Jan 2018 09:35:17 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/max8997.c | 4 +---
1 file changed, 1 insertion(+), 3
From: Markus Elfring
Date: Sun, 14 Jan 2018 22:26:21 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Sun, 14 Jan 2018 22:26:21 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/jz4740-adc.c | 4 +---
1 file changed, 1 insertion(+), 3
From: Markus Elfring
Date: Sun, 14 Jan 2018 22:15:09 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Sun, 14 Jan 2018 22:15:09 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/janz-cmodio.c | 4 +---
1 file changed, 1 insertion(+), 3
From: Markus Elfring
Date: Sun, 14 Jan 2018 22:02:16 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Sun, 14 Jan 2018 22:02:16 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/htc-i2cpld.c | 4 +---
1 file changed, 1 insertion(+), 3
From: Markus Elfring
Date: Sun, 14 Jan 2018 21:31:50 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The script “checkpatch.pl” pointed information out like the following.
Comparison to NULL could be written …
Thus
From: Markus Elfring
Date: Sun, 14 Jan 2018 21:31:50 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The script “checkpatch.pl” pointed information out like the following.
Comparison to NULL could be written …
Thus fix the affected source code
From: Markus Elfring
Date: Sun, 14 Jan 2018 21:19:10 +0100
Replace the specification of two data structures by pointer dereferences
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding
From: Markus Elfring
Date: Sun, 14 Jan 2018 21:19:10 +0100
Replace the specification of two data structures by pointer dereferences
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.
This issue was
From: Markus Elfring
Date: Sun, 14 Jan 2018 21:08:27 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Sun, 14 Jan 2018 21:08:27 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
drivers/mfd/abx500-core.c | 5 ++---
1 file changed, 2 insertions(+),
From: Markus Elfring
Date: Sun, 14 Jan 2018 21:38:42 +0100
Three update suggestions were taken into account
from static source code analysis.
Markus Elfring (3):
Delete an error message for a failed memory allocation
in abx500_register_ops()
Improve two
From: Markus Elfring
Date: Sun, 14 Jan 2018 21:38:42 +0100
Three update suggestions were taken into account
from static source code analysis.
Markus Elfring (3):
Delete an error message for a failed memory allocation
in abx500_register_ops()
Improve two size determinations in
> Your commit message says "omit an extra message", which suggests that
> there are currently two messages about the memory allocation failure,
> and that your patch removes one of them.
Yes. - There is a general transformation pattern applied.
> If that's the case, it would be nice to know
> Your commit message says "omit an extra message", which suggests that
> there are currently two messages about the memory allocation failure,
> and that your patch removes one of them.
Yes. - There is a general transformation pattern applied.
> If that's the case, it would be nice to know
From: Markus Elfring
Date: Sat, 13 Jan 2018 20:33:05 +0100
A single character (line break) should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
From: Markus Elfring
Date: Sat, 13 Jan 2018 20:33:05 +0100
A single character (line break) should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
net/sunrpc/svcauth_unix.c | 2
From: Markus Elfring
Date: Sat, 13 Jan 2018 20:11:01 +0100
Two single characters (line breaks) should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
From: Markus Elfring
Date: Sat, 13 Jan 2018 20:11:01 +0100
Two single characters (line breaks) should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
net/l2tp/l2tp_debugfs.c |
From: Markus Elfring
Date: Sat, 13 Jan 2018 17:17:59 +0100
A single character (line break) should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
From: Markus Elfring
Date: Sat, 13 Jan 2018 17:17:59 +0100
A single character (line break) should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
fs/proc/consoles.c | 3 +--
1
From: Markus Elfring
Date: Sat, 13 Jan 2018 16:36:51 +0100
Some data were printed into a sequence by two separate function calls.
Print almost the same data by a single function call instead.
(Omit a tab character at the line end within a format string.)
This
From: Markus Elfring
Date: Sat, 13 Jan 2018 16:36:51 +0100
Some data were printed into a sequence by two separate function calls.
Print almost the same data by a single function call instead.
(Omit a tab character at the line end within a format string.)
This issue was detected by using the
From: Markus Elfring
Date: Sat, 13 Jan 2018 14:40:44 +0100
The script "checkpatch.pl" pointed information out like the following.
ERROR: do not use assignment in if condition
Thus fix the affected source code places.
Signed-off-by: Markus Elfring
From: Markus Elfring
Date: Sat, 13 Jan 2018 14:40:44 +0100
The script "checkpatch.pl" pointed information out like the following.
ERROR: do not use assignment in if condition
Thus fix the affected source code places.
Signed-off-by: Markus Elfring
---
fs/nfsd/export.c | 13 +
1
From: Markus Elfring
Date: Sat, 13 Jan 2018 14:20:27 +0100
Five single characters should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
From: Markus Elfring
Date: Sat, 13 Jan 2018 14:20:27 +0100
Five single characters should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
fs/nfsd/export.c| 6 +++---
From: Markus Elfring
Date: Sat, 13 Jan 2018 15:00:15 +0100
Two update suggestions were taken into account
from static source code analysis.
Markus Elfring (2):
Use seq_putc() in four functions
Adjust four function calls together with a variable assignment
From: Markus Elfring
Date: Sat, 13 Jan 2018 15:00:15 +0100
Two update suggestions were taken into account
from static source code analysis.
Markus Elfring (2):
Use seq_putc() in four functions
Adjust four function calls together with a variable assignment
fs/nfsd/export.c| 19
801 - 900 of 10642 matches
Mail list logo