[PATCH] watchdog/ie6xx_wdt: Combine two seq_printf() calls into one call in ie6xx_wdt_dbg_show()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 13:45:35 +0100 Some data were printed into a sequence by two separate function calls. Print the same data by a single function call instead. This issue was detected by using the Coccinelle software. Signed-off-by:

[PATCH] watchdog/ie6xx_wdt: Combine two seq_printf() calls into one call in ie6xx_wdt_dbg_show()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 13:45:35 +0100 Some data were printed into a sequence by two separate function calls. Print the same data by a single function call instead. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH] usb/host/imx21: Use seq_putc() in debug_etd_show()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 13:12:06 +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

[PATCH] usb/host/imx21: Use seq_putc() in debug_etd_show()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 13:12:06 +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 --- drivers/usb/host/imx21-dbg.c |

[PATCH] pinctrl: sprd: Use seq_putc() in sprd_pinconf_group_dbg_show()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 12:42:14 +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

[PATCH] pinctrl: sprd: Use seq_putc() in sprd_pinconf_group_dbg_show()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 12:42:14 +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 ---

[PATCH] pinctrl: pinmux: Use seq_putc() in pinmux_pins_show()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 11:33:47 +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

[PATCH] pinctrl: pinmux: Use seq_putc() in pinmux_pins_show()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 11:33:47 +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 --- drivers/pinctrl/pinmux.c | 2

[PATCH] pinctrl/nomadik/abx500: Use seq_putc() in abx500_gpio_dbg_show()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 11:04:29 +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

[PATCH] pinctrl/nomadik/abx500: Use seq_putc() in abx500_gpio_dbg_show()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 11:04:29 +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 ---

[PATCH] memory-EMIF: Use seq_putc() in emif_regdump_show()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 10:24:03 +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

[PATCH] memory-EMIF: Use seq_putc() in emif_regdump_show()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 10:24:03 +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 --- drivers/memory/emif.c | 2 +-

[PATCH v2] md-multipath: Use seq_putc() in multipath_status()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 09:49:03 +0100 A single character (closing square bracket) 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

[PATCH v2] md-multipath: Use seq_putc() in multipath_status()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 09:49:03 +0100 A single character (closing square bracket) 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 ---

[PATCH] bcache: Use seq_putc() in debug_seq_show()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 09:05:03 +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

[PATCH] bcache: Use seq_putc() in debug_seq_show()

2018-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 13 Jan 2018 09:05:03 +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 --- drivers/md/bcache/closure.c |

Re: pci/setup-bus: Delete an error message for a failed memory allocation in add_to_list()

2018-01-12 Thread SF Markus Elfring
>> Omit an extra message for a memory allocation failure in this function. > > If this is an "extra" message, I assume there's some other message? > Can you mention where that is in the changelog? * Would you like to get a more detailed commit description? * Are you looking for a reminder on

Re: pci/setup-bus: Delete an error message for a failed memory allocation in add_to_list()

2018-01-12 Thread SF Markus Elfring
>> Omit an extra message for a memory allocation failure in this function. > > If this is an "extra" message, I assume there's some other message? > Can you mention where that is in the changelog? * Would you like to get a more detailed commit description? * Are you looking for a reminder on

[PATCH] drm/amdgpu: Use seq_putc() in two functions

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 22:08:50 +0100 A few 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

[PATCH] drm/amdgpu: Use seq_putc() in two functions

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 22:08:50 +0100 A few 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 ---

[PATCH] gpio-wm831x: Use seq_putc() in wm831x_gpio_dbg_show()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 21:30:09 +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

[PATCH] gpio-wm831x: Use seq_putc() in wm831x_gpio_dbg_show()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 21:30:09 +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 --- drivers/gpio/gpio-wm831x.c | 2

[PATCH 4/4] gpio-stmpe: Delete an unnecessary variable initialisation in stmpe_gpio_probe()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 20:48:40 +0100 The local variable "irq" will eventually be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring

[PATCH 4/4] gpio-stmpe: Delete an unnecessary variable initialisation in stmpe_gpio_probe()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 20:48:40 +0100 The local variable "irq" will eventually be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/gpio/gpio-stmpe.c | 3 +-- 1 file changed, 1

[PATCH 3/4] gpio-stmpe: Move an assignment in stmpe_gpio_probe()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 20:44:15 +0100 Move the assignment for the local variable "irq" so that its setting will only be performed directly before it is checked by this function. Signed-off-by: Markus Elfring ---

[PATCH 3/4] gpio-stmpe: Move an assignment in stmpe_gpio_probe()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 20:44:15 +0100 Move the assignment for the local variable "irq" so that its setting will only be performed directly before it is checked by this function. Signed-off-by: Markus Elfring --- drivers/gpio/gpio-stmpe.c | 3 +-- 1 file changed, 1

[PATCH 2/4] gpio-stmpe: Improve a size determination in stmpe_gpio_probe()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 19:36:29 +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

[PATCH 2/4] gpio-stmpe: Improve a size determination in stmpe_gpio_probe()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 19:36:29 +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

[PATCH 1/4] gpio-stmpe: Use seq_putc() in stmpe_dbg_show()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 19:30:50 +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

[PATCH 1/4] gpio-stmpe: Use seq_putc() in stmpe_dbg_show()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 19:30:50 +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 --- drivers/gpio/gpio-stmpe.c | 2

[PATCH 0/4] gpio-stmpe: Adjustments for two function implementations

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 20:58:42 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Use seq_putc() in stmpe_dbg_show() Improve a size determination in stmpe_gpio_probe() Move an

[PATCH 0/4] gpio-stmpe: Adjustments for two function implementations

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 20:58:42 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Use seq_putc() in stmpe_dbg_show() Improve a size determination in stmpe_gpio_probe() Move an assignment in stmpe_gpio_probe()

[PATCH 2/2] mvebu-mbus: Fix a typo in five comment lines

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 17:44:48 +0100 Adjust words in these descriptions. Signed-off-by: Markus Elfring --- drivers/bus/mvebu-mbus.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-)

[PATCH 2/2] mvebu-mbus: Fix a typo in five comment lines

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 17:44:48 +0100 Adjust words in these descriptions. Signed-off-by: Markus Elfring --- drivers/bus/mvebu-mbus.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/bus/mvebu-mbus.c

[PATCH 1/2] mvebu-mbus: Use seq_putc() in mvebu_devs_debug_show()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 17:12:14 +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

[PATCH 1/2] mvebu-mbus: Use seq_putc() in mvebu_devs_debug_show()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 17:12:14 +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 --- drivers/bus/mvebu-mbus.c | 2

[PATCH 0/2] mvebu-mbus: Adjustments for mvebu_devs_debug_show()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 17:47:57 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Use seq_putc() Fix a typo in five comment lines drivers/bus/mvebu-mbus.c | 21

[PATCH 0/2] mvebu-mbus: Adjustments for mvebu_devs_debug_show()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 17:47:57 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Use seq_putc() Fix a typo in five comment lines drivers/bus/mvebu-mbus.c | 21 ++--- 1 file changed, 10

[PATCH] score-setup: Combine two seq_printf() calls into one call in show_cpuinfo()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 16:36:35 +0100 Some data were printed into a sequence by two separate function calls. Print the same data by a single function call instead. This issue was detected by using the Coccinelle software. Signed-off-by:

[PATCH] score-setup: Combine two seq_printf() calls into one call in show_cpuinfo()

2018-01-12 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 12 Jan 2018 16:36:35 +0100 Some data were printed into a sequence by two separate function calls. Print the same data by a single function call instead. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH 4/5] powerpc/4xx: Improve a size determination in two functions

2018-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 11 Jan 2018 18:32:33 +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

[PATCH 4/5] powerpc/4xx: Improve a size determination in two functions

2018-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 11 Jan 2018 18:32:33 +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

[PATCH 5/5] powerpc/4xx: Delete an unnecessary return statement in two functions

2018-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 11 Jan 2018 18:40:23 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected functions.

[PATCH 5/5] powerpc/4xx: Delete an unnecessary return statement in two functions

2018-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 11 Jan 2018 18:40:23 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected functions. Signed-off-by: Markus Elfring ---

[PATCH 3/5] powerpc/4xx: Delete an error message for a failed memory allocation in three functions

2018-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 11 Jan 2018 18:28:54 +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 ---

[PATCH 3/5] powerpc/4xx: Delete an error message for a failed memory allocation in three functions

2018-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 11 Jan 2018 18:28:54 +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 --- arch/powerpc/platforms/4xx/msi.c | 5 ++---

[PATCH 2/5] powerpc/4xx: Use seq_putc() in ocm_debugfs_show()

2018-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 11 Jan 2018 18:10:02 +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

[PATCH 2/5] powerpc/4xx: Use seq_putc() in ocm_debugfs_show()

2018-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 11 Jan 2018 18:10:02 +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 ---

[PATCH 1/5] powerpc/4xx: Combine four seq_printf() calls into two in ocm_debugfs_show()

2018-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 11 Jan 2018 18:08:08 +0100 Some data were printed into a sequence by four separate function calls. Print the same data by two single function calls instead. This issue was detected by using the Coccinelle software. Signed-off-by:

[PATCH 1/5] powerpc/4xx: Combine four seq_printf() calls into two in ocm_debugfs_show()

2018-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 11 Jan 2018 18:08:08 +0100 Some data were printed into a sequence by four separate function calls. Print the same data by two single function calls instead. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH 0/5] powerpc/platforms/4xx: Adjustments for six function implementations

2018-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 11 Jan 2018 18:48:28 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (5): Combine four seq_printf() calls into two in ocm_debugfs_show() Use seq_putc() in

[PATCH 0/5] powerpc/platforms/4xx: Adjustments for six function implementations

2018-01-11 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 11 Jan 2018 18:48:28 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (5): Combine four seq_printf() calls into two in ocm_debugfs_show() Use seq_putc() in ocm_debugfs_show() Delete an error message for

[PATCH 7/7] VMCI: Adjust 32 checks for null pointers

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 20:04:02 +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

[PATCH 7/7] VMCI: Adjust 32 checks for null pointers

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 20:04:02 +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

[PATCH 6/7] VMCI: Less function calls in qp_broker_create() after error detection

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 19:39:45 +0100 The function "qp_host_free_queue" was called in two cases by the function "qp_broker_create" during error handling even if the passed data structure member contained a null pointer. Adjust jump targets

[PATCH 6/7] VMCI: Less function calls in qp_broker_create() after error detection

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 19:39:45 +0100 The function "qp_host_free_queue" was called in two cases by the function "qp_broker_create" during error handling even if the passed data structure member contained a null pointer. Adjust jump targets according to the Linux coding

[PATCH 5/7] VMCI: Delete an unnecessary variable initialisation in qp_broker_create()

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 19:09:10 +0100 The local variable "entry" will eventually be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring

[PATCH 5/7] VMCI: Delete an unnecessary variable initialisation in qp_broker_create()

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 19:09:10 +0100 The local variable "entry" will eventually be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/misc/vmw_vmci/vmci_queue_pair.c | 2 +- 1 file

[PATCH 4/7] VMCI: Delete an unnecessary null pointer check in qp_broker_create()

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 19:00:24 +0100 The exception handling code should usually only be reached with a valid pointer in the local variable "entry" at the end of this function. Thus remove an extra null pointer check here. Signed-off-by:

[PATCH 4/7] VMCI: Delete an unnecessary null pointer check in qp_broker_create()

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 19:00:24 +0100 The exception handling code should usually only be reached with a valid pointer in the local variable "entry" at the end of this function. Thus remove an extra null pointer check here. Signed-off-by: Markus Elfring ---

[PATCH 3/7] VMCI: Update a word in five comment lines

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 18:15:43 +0100 Adjust words in these descriptions. Signed-off-by: Markus Elfring --- drivers/misc/vmw_vmci/vmci_datagram.c | 2 +- drivers/misc/vmw_vmci/vmci_doorbell.c | 2 +-

[PATCH 3/7] VMCI: Update a word in five comment lines

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 18:15:43 +0100 Adjust words in these descriptions. Signed-off-by: Markus Elfring --- drivers/misc/vmw_vmci/vmci_datagram.c | 2 +- drivers/misc/vmw_vmci/vmci_doorbell.c | 2 +- drivers/misc/vmw_vmci/vmci_queue_pair.c | 6 +++--- 3 files changed,

[PATCH 2/7] VMCI: Improve a size determination in two functions

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 17:47:40 +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

[PATCH 2/7] VMCI: Improve a size determination in two functions

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 17:47:40 +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

[PATCH 1/7] VMCI: Delete error messages for a failed memory allocation in seven functions

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 17:33:39 +0100 Omit extra messages for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH 1/7] VMCI: Delete error messages for a failed memory allocation in seven functions

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 17:33:39 +0100 Omit extra messages for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/misc/vmw_vmci/vmci_context.c | 2 --

[PATCH 0/7] VMCI: Adjustments for several function implementations

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 20:13:45 +0100 Some update suggestions were taken into account from static source code analysis. Markus Elfring (7): Delete error messages for a failed memory allocation in seven functions Improve a size

[PATCH 0/7] VMCI: Adjustments for several function implementations

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 20:13:45 +0100 Some update suggestions were taken into account from static source code analysis. Markus Elfring (7): Delete error messages for a failed memory allocation in seven functions Improve a size determination in two functions Update a

[PATCH 3/3] misc/ti-st: Delete an unnecessary return statement in two functions

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 16:16:55 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected functions.

[PATCH 3/3] misc/ti-st: Delete an unnecessary return statement in two functions

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 16:16:55 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected functions. Signed-off-by: Markus Elfring ---

[PATCH 2/3] misc/ti-st: Improve a size determination in kim_probe()

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 16:10:45 +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

[PATCH 2/3] misc/ti-st: Improve a size determination in kim_probe()

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 16:10:45 +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

[PATCH 1/3] misc/ti-st: Delete an error message for a failed memory allocation in kim_probe()

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 16:04:52 +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 ---

[PATCH 1/3] misc/ti-st: Delete an error message for a failed memory allocation in kim_probe()

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 16:04:52 +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/misc/ti-st/st_kim.c | 5 ++--- 1 file changed, 2

[PATCH 0/3] misc/TI-ST: Adjustments for three function implementations

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 16:26:36 +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 kim_probe() Improve a size determination

[PATCH 0/3] misc/TI-ST: Adjustments for three function implementations

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 16:26:36 +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 kim_probe() Improve a size determination in kim_probe() Delete an

[PATCH] spear13xx_pcie_gadget: Delete an error message for a failed memory allocation in spear_pcie_gadget_probe()

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 15:35:14 +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 ---

[PATCH] spear13xx_pcie_gadget: Delete an error message for a failed memory allocation in spear_pcie_gadget_probe()

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 15:35:14 +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/misc/spear13xx_pcie_gadget.c | 4 +--- 1 file changed, 1

[PATCH 3/3] sgi-xpc: Adjust 27 checks for null pointers

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 14:40:57 +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

[PATCH 3/3] sgi-xpc: Adjust 27 checks for null pointers

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 14:40:57 +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

[PATCH 2/3] sgi-xpc: Improve a size determination in two functions

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 14:18:12 +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

[PATCH 2/3] sgi-xpc: Improve a size determination in two functions

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 14:18:12 +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

[PATCH 1/3] sgi-xpc: Delete error messages for a failed memory allocation in three functions

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 14:00:17 +0100 Omit extra messages for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH 1/3] sgi-xpc: Delete error messages for a failed memory allocation in three functions

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 14:00:17 +0100 Omit extra messages for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/misc/sgi-xp/xpc_main.c | 8 ++--

[PATCH 0/3] SGI-XPC: Adjustments for some function implementations

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 14:54:34 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete error messages for a failed memory allocation in three functions Improve a size

[PATCH 0/3] SGI-XPC: Adjustments for some function implementations

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 14:54:34 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete error messages for a failed memory allocation in three functions Improve a size determination in two functions Adjust 27

[PATCH 4/4] sgi-xpnet: Adjust five checks for null pointers

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 11:00:14 +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

[PATCH 4/4] sgi-xpnet: Adjust five checks for null pointers

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 11:00:14 +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

[PATCH 3/4] sgi-xpnet: Use common code in xpnet_dev_hard_start_xmit()

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 10:50:10 +0100 Add a jump target so that a bit of code can be better reused at the end of this function. Signed-off-by: Markus Elfring --- drivers/misc/sgi-xp/xpnet.c | 16

[PATCH 3/4] sgi-xpnet: Use common code in xpnet_dev_hard_start_xmit()

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 10:50:10 +0100 Add a jump target so that a bit of code can be better reused at the end of this function. Signed-off-by: Markus Elfring --- drivers/misc/sgi-xp/xpnet.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

[PATCH 2/4] sgi-xpnet: Improve a size determination in xpnet_dev_hard_start_xmit()

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 10:48: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

[PATCH 2/4] sgi-xpnet: Improve a size determination in xpnet_dev_hard_start_xmit()

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 10:48: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

[PATCH 1/4] sgi-xpnet: Delete an error message for a failed memory allocation in two functions

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 10:46: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 ---

[PATCH 1/4] sgi-xpnet: Delete an error message for a failed memory allocation in two functions

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 10:46: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/misc/sgi-xp/xpnet.c | 6 -- 1 file changed, 6

[PATCH 0/4] SGI-XPNET: Adjustments for five function implementations

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 11:16:54 +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 two functions Improve a size

[PATCH 0/4] SGI-XPNET: Adjustments for five function implementations

2018-01-10 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 10 Jan 2018 11:16:54 +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 two functions Improve a size determination in

[PATCH 5/5] misc/pti: Delete an unnecessary return statement in two functions

2018-01-09 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 9 Jan 2018 18:52:36 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected functions.

[PATCH 5/5] misc/pti: Delete an unnecessary return statement in two functions

2018-01-09 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 9 Jan 2018 18:52:36 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: void function return statements are not generally useful Thus remove such a statement in the affected functions. Signed-off-by: Markus Elfring ---

[PATCH 4/5] misc/pti: Adjust 11 checks for null pointers

2018-01-09 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 9 Jan 2018 18:48:10 +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

[PATCH 4/5] misc/pti: Adjust 11 checks for null pointers

2018-01-09 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 9 Jan 2018 18:48:10 +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

<    5   6   7   8   9   10   11   12   13   14   >