[PATCH 2/3] pata_arasan_cf: Delete an unnecessary variable initialisation in arasan_cf_probe()

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 16:28:23 +0100 The local variable "ret" 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 2/3] pata_arasan_cf: Delete an unnecessary variable initialisation in arasan_cf_probe()

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 16:28:23 +0100 The local variable "ret" 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/ata/pata_arasan_cf.c | 2 +- 1 file changed, 1

[PATCH 1/3] pata_arasan_cf: Delete an error message for a failed memory allocation in arasan_cf_probe()

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 16:01:12 +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] pata_arasan_cf: Delete an error message for a failed memory allocation in arasan_cf_probe()

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 16:01:12 +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/ata/pata_arasan_cf.c | 4 +--- 1 file changed, 1

[PATCH 0/3] PATA-Arasan CF: Adjustments for arasan_cf_probe()

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 16:51:23 +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 Delete an unnecessary variable

[PATCH 0/3] PATA-Arasan CF: Adjustments for arasan_cf_probe()

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 16:51:23 +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 Delete an unnecessary variable initialisation Move two variable

[PATCH 2/2] pata_it821x: Use common error handling code in it821x_firmware_command()

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 14:40:42 +0100 Add a jump target so that a bit of exception handling can be better reused at the end of this function. Reorder three function calls. Signed-off-by: Markus Elfring ---

[PATCH 2/2] pata_it821x: Use common error handling code in it821x_firmware_command()

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 14:40:42 +0100 Add a jump target so that a bit of exception handling can be better reused at the end of this function. Reorder three function calls. Signed-off-by: Markus Elfring --- drivers/ata/pata_it821x.c | 7 --- 1 file changed, 4

[PATCH 1/2] pata_it821x: Delete an error message for a failed memory allocation in it821x_firmware_command()

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 14:04:49 +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/2] pata_it821x: Delete an error message for a failed memory allocation in it821x_firmware_command()

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 14:04:49 +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/ata/pata_it821x.c | 6 +++--- 1 file changed, 3

[PATCH 0/2] PATA-IT821x: Adjustments for it821x_firmware_command()

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 15:03:45 +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 Use common error handling code

[PATCH 0/2] PATA-IT821x: Adjustments for it821x_firmware_command()

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 15:03:45 +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 Use common error handling code drivers/ata/pata_it821x.c | 13

[PATCH 3/3] pata_macio: Adjust 11 checks for null pointers

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 13:20:03 +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] pata_macio: Adjust 11 checks for null pointers

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 13:20:03 +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] pata_macio: Improve a size determination in two functions

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 13:08:14 +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] pata_macio: Improve a size determination in two functions

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 13:08:14 +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] pata_macio: Delete an error message for a failed memory allocation in two functions

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 13:01:45 +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/3] pata_macio: Delete an error message for a failed memory allocation in two functions

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 13:01:45 +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/ata/pata_macio.c | 12 1 file changed, 4

[PATCH 0/3] PATA-MacIO: Adjustments for five function implementations

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 13:32:23 +0100 A few 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

[PATCH 0/3] PATA-MacIO: Adjustments for five function implementations

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 13:32:23 +0100 A few 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 11

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

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 11:34:53 +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] pata_mpc52xx: Delete an error message for a failed memory allocation in mpc52xx_ata_probe()

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 11:34:53 +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/ata/pata_mpc52xx.c | 1 - 1 file changed, 1 deletion(-) diff

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

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 10:55: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 ---

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

2018-02-16 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Feb 2018 10:55: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/ata/pata_samsung_cf.c | 4 +--- 1 file changed, 1

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

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 22:15:25 +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] sata_dwc_460ex: Delete an error message for a failed memory allocation in sata_dwc_port_start()

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 22:15:25 +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/ata/sata_dwc_460ex.c | 1 - 1 file changed, 1 deletion(-)

[PATCH 2/2] cpufreq: powernow-k8: Delete an unnecessary return statement in two functions

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 20:14:32 +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 2/2] cpufreq: powernow-k8: Delete an unnecessary return statement in two functions

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 20:14:32 +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 1/2] cpufreq: powernow-k8: Delete an error message for a failed memory allocation in three functions

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 20:00:23 +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/2] cpufreq: powernow-k8: Delete an error message for a failed memory allocation in three functions

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 20:00:23 +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/cpufreq/powernow-k8.c | 12 +++- 1 file changed, 3

[PATCH 0/2] cpufreq/PowerNow-K8: Adjustments for two function implementations

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 20:24:26 +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 in three functions Delete an unnecessary

[PATCH 0/2] cpufreq/PowerNow-K8: Adjustments for two function implementations

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 20:24:26 +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 in three functions Delete an unnecessary return statement in two functions

[PATCH] cpufreq: qoriq: Delete two error messages for a failed memory allocation in qoriq_cpufreq_cpu_init()

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 18:00:37 +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 ---

[PATCH] cpufreq: qoriq: Delete two error messages for a failed memory allocation in qoriq_cpufreq_cpu_init()

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 18:00:37 +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/cpufreq/qoriq-cpufreq.c | 8 ++-- 1 file changed, 2

[PATCH] cpufreq: s3c24xx: Delete an error message for a failed memory allocation in two functions

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 17:28:40 +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] cpufreq: s3c24xx: Delete an error message for a failed memory allocation in two functions

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 17:28:40 +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/cpufreq/s3c24xx-cpufreq.c | 8 ++-- 1 file changed, 2

[PATCH] ARM: cpuidle: Delete an error message for a failed memory allocation in arm_idle_init_cpu()

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 16:40:38 +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] ARM: cpuidle: Delete an error message for a failed memory allocation in arm_idle_init_cpu()

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 16:40:38 +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/cpuidle/cpuidle-arm.c | 1 - 1 file changed, 1 deletion(-)

[PATCH] crypto: atmel: Delete error messages for a failed memory allocation in six functions

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 11:38:30 +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] crypto: atmel: Delete error messages for a failed memory allocation in six functions

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 11:38:30 +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/crypto/atmel-aes.c | 6 +- drivers/crypto/atmel-sha.c |

[PATCH 2/2] crypto: bcm: One function call less in do_shash() after error detection

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 22:22:20 +0100 The kfree() function was called in one case by the do_shash() function during error handling even if the passed variable contained a null pointer. * Reorder two function calls at the end. * Add a jump

[PATCH 2/2] crypto: bcm: One function call less in do_shash() after error detection

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 22:22:20 +0100 The kfree() function was called in one case by the do_shash() function during error handling even if the passed variable contained a null pointer. * Reorder two function calls at the end. * Add a jump target. Signed-off-by: Markus

[PATCH 1/2] crypto: bcm: Delete an error message for a failed memory allocation in do_shash()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 22:05:11 +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/2] crypto: bcm: Delete an error message for a failed memory allocation in do_shash()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 22:05:11 +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/crypto/bcm/util.c | 1 - 1 file changed, 1 deletion(-) diff

[PATCH 0/2] crypto/bcm: Adjustments for do_shash()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 22:30:07 +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 One function call less after error detection

[PATCH 0/2] crypto/bcm: Adjustments for do_shash()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 22:30:07 +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 One function call less after error detection drivers/crypto/bcm/util.c | 7

[PATCH] crypto: bfin_crc: Delete an error message for a failed memory allocation in bfin_crypto_crc_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 21:34:54 +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] crypto: bfin_crc: Delete an error message for a failed memory allocation in bfin_crypto_crc_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 21:34:54 +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/crypto/bfin_crc.c | 4 +--- 1 file changed, 1 insertion(+), 3

[PATCH 2/2] crypto: caam: Use common error handling code in four functions

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 19:14:49 +0100 Add jump targets so that a bit of exception handling can be better reused at the end of these functions. Signed-off-by: Markus Elfring --- drivers/crypto/caam/caamalg.c |

[PATCH 2/2] crypto: caam: Use common error handling code in four functions

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 19:14:49 +0100 Add jump targets so that a bit of exception handling can be better reused at the end of these functions. Signed-off-by: Markus Elfring --- drivers/crypto/caam/caamalg.c | 32

[PATCH 1/2] crypto: caam: Delete an error message for a failed memory allocation in seven functions

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 18:22:38 +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/2] crypto: caam: Delete an error message for a failed memory allocation in seven functions

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 18:22:38 +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/crypto/caam/caamalg.c | 6 +-

[PATCH 0/2] crypto/caam: Adjustments for eight function implementations

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 19:23:45 +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 in seven functions Use common error handling

[PATCH 0/2] crypto/caam: Adjustments for eight function implementations

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 19:23:45 +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 in seven functions Use common error handling code in four functions

[PATCH] crypto: nx-842: Delete an error message for a failed memory allocation in nx842_pseries_init()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 17:05:13 +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] crypto: nx-842: Delete an error message for a failed memory allocation in nx842_pseries_init()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 17:05:13 +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/crypto/nx/nx-842-pseries.c | 5 ++--- 1 file changed, 2

[PATCH 2/2] crypto: omap: Improve a size determination in three functions

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 16:12:05 +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/2] crypto: omap: Improve a size determination in three functions

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 16:12:05 +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/2] crypto: omap: Delete an error message for a failed memory allocation in three functions

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 16:00:33 +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/2] crypto: omap: Delete an error message for a failed memory allocation in three functions

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 16:00:33 +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/crypto/omap-aes.c | 5 ++--- drivers/crypto/omap-des.c |

[PATCH 0/2] crypto/omap: Adjustments for three function implementations

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 16:18:19 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete error messages for a failed memory allocation Improve size determinations

[PATCH 0/2] crypto/omap: Adjustments for three function implementations

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 16:18:19 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete error messages for a failed memory allocation Improve size determinations drivers/crypto/omap-aes.c | 8 +++-

[PATCH 2/2] crypto: sahara: Improve a size determination in sahara_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 14:14:05 +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/2] crypto: sahara: Improve a size determination in sahara_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 14:14:05 +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/2] crypto: sahara: Delete an error message for a failed memory allocation in sahara_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 14:10: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 ---

[PATCH 1/2] crypto: sahara: Delete an error message for a failed memory allocation in sahara_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 14:10: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/crypto/sahara.c | 4 +--- 1 file changed, 1 insertion(+), 3

[PATCH 0/2] crypto/sahara: Adjustments for sahara_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 14:30: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

[PATCH 0/2] crypto/sahara: Adjustments for sahara_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 14:30: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/crypto/sahara.c | 6 ++ 1 file

[PATCH 4/4] crypto: ux500: Delete two unnecessary variable initialisations in ux500_cryp_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 10:56:38 +0100 Two local variables will eventually be set to appropriate pointers a bit later. Thus omit their explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

[PATCH 4/4] crypto: ux500: Delete two unnecessary variable initialisations in ux500_cryp_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 10:56:38 +0100 Two local variables will eventually be set to appropriate pointers a bit later. Thus omit their explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/crypto/ux500/cryp/cryp_core.c | 4 ++-- 1 file

[PATCH 3/4] crypto: ux500: Adjust an error message in ux500_cryp_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 10:47:31 +0100 Replace the function name in this error message so that the same name is mentioned according to what was called before. Signed-off-by: Markus Elfring ---

[PATCH 3/4] crypto: ux500: Adjust an error message in ux500_cryp_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 10:47:31 +0100 Replace the function name in this error message so that the same name is mentioned according to what was called before. Signed-off-by: Markus Elfring --- drivers/crypto/ux500/cryp/cryp_core.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 2/4] crypto: ux500: Adjust two condition checks in ux500_cryp_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 10:38:44 +0100 The local variable "cryp_error" was used only for two condition checks. * Check the return values from these function calls directly instead. * Delete this variable which became unnecessary with this

[PATCH 2/4] crypto: ux500: Adjust two condition checks in ux500_cryp_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 10:38:44 +0100 The local variable "cryp_error" was used only for two condition checks. * Check the return values from these function calls directly instead. * Delete this variable which became unnecessary with this refactoring. Signed-off-by: Markus

[PATCH 1/4] crypto: ux500: Delete an error message for a failed memory allocation in ux500_cryp_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 10:12:38 +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/4] crypto: ux500: Delete an error message for a failed memory allocation in ux500_cryp_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 10:12:38 +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/crypto/ux500/cryp/cryp_core.c | 1 - 1 file changed, 1

[PATCH 0/4] Ux500 crypto: Adjustments for ux500_cryp_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 11:12:34 +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 Adjust two condition checks Adjust an

[PATCH 0/4] Ux500 crypto: Adjustments for ux500_cryp_probe()

2018-02-14 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 14 Feb 2018 11:12:34 +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 Adjust two condition checks Adjust an error message Delete two

Re: efi/apple-properties: Checking error handling in unmarshal_devices()

2018-02-14 Thread SF Markus Elfring
> While the allocator does print an error when allocations fail, > it may not be immediately apparent to the user what the > *consequences* are. In this case, the consequence is that the > device properties will not be available for consumption by > drivers and they may fail to probe or behave in

Re: efi/apple-properties: Checking error handling in unmarshal_devices()

2018-02-14 Thread SF Markus Elfring
> While the allocator does print an error when allocations fail, > it may not be immediately apparent to the user what the > *consequences* are. In this case, the consequence is that the > device properties will not be available for consumption by > drivers and they may fail to probe or behave in

[PATCH] PM / devfreq: exynos-ppmu: Delete an error message for a failed memory allocation in exynos_ppmu_probe()

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 22:10:42 +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] PM / devfreq: exynos-ppmu: Delete an error message for a failed memory allocation in exynos_ppmu_probe()

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 22:10:42 +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/devfreq/event/exynos-ppmu.c | 6 ++ 1 file changed, 2

[PATCH] dmaengine: at_xdmac: Delete an error message for a failed memory allocation in at_xdmac_probe()

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 21:48:26 +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] dmaengine: at_xdmac: Delete an error message for a failed memory allocation in at_xdmac_probe()

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 21:48:26 +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/dma/at_xdmac.c | 4 +--- 1 file changed, 1 insertion(+), 3

[PATCH 2/2] dma/ppc4xx: Improve a size determination in ppc440spe_adma_alloc_chan_resources()

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 20:54:30 +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/2] dma/ppc4xx: Improve a size determination in ppc440spe_adma_alloc_chan_resources()

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 20:54:30 +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/2] dma/ppc4xx: Delete an error message for a failed memory allocation in two functions

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 20:42:40 +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/2] dma/ppc4xx: Delete an error message for a failed memory allocation in two functions

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 20:42:40 +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/dma/ppc4xx/adma.c | 2 -- 1 file changed, 2 deletions(-)

[PATCH 0/2] DMA-PPC4xx: Adjustments for three function implementations

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 21:16:42 +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 in two functions Improve a size determination

[PATCH 0/2] DMA-PPC4xx: Adjustments for three function implementations

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 21:16:42 +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 in two functions Improve a size determination in

[PATCH 2/2] firewire: nosy: Adjust eight checks for null pointers

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 19:20:26 +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 2/2] firewire: nosy: Adjust eight checks for null pointers

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 19:20:26 +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 1/2] firewire: nosy: Delete an error message for a failed memory allocation in add_card()

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 18:33:45 +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/2] firewire: nosy: Delete an error message for a failed memory allocation in add_card()

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 18:33:45 +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/firewire/nosy.c | 1 - 1 file changed, 1 deletion(-) diff

[PATCH 0/2] FireWire-nosy: Adjustments for three function implementations

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 19:30:19 +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 in add_card() Adjust eight checks for null

[PATCH 0/2] FireWire-nosy: Adjustments for three function implementations

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 19:30:19 +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 in add_card() Adjust eight checks for null pointers

[PATCH] efi/apple-properties: Delete an error message for a failed memory allocation in unmarshal_devices()

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 17:52:10 +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] efi/apple-properties: Delete an error message for a failed memory allocation in unmarshal_devices()

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 17:52:10 +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/firmware/efi/apple-properties.c | 4 +--- 1 file changed, 1

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

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 17:28:22 +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] efi: Delete an error message for a failed memory allocation in efivar_init()

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 17:28:22 +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/firmware/efi/vars.c | 4 +--- 1 file changed, 1 insertion(+),

<    1   2   3   4   5   6   7   8   9   10   >