Skip to content

cfag12864b: Fine-tuning for cfag12864b_init()

SF Markus Elfring alsa-devel ath9k-devel ceph-devel dm-devel dri-devel intel-wired-lan kernel-janitors kvm kvm-ppc linux-acpi linux-arm-kernel linux-clk linux-crypto linux-gpio linux-i2c linux-ide linux-iio linux-input linux-m68k linux-media linux-mmc linux-mtd linux-omap linux-raid linux-rdma linux-renesas-soc linux-rtc linux-s390 linux-scsi linux-wireless linuxppc-dev lkml ltp lustre-devel netdev qemu-devel sparclinux virtualization xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7cfag12864b: Use kmalloc_array() in cfag12864b_init()drivers/auxdisplay/cfag12864b.c+3 -20 replies
2/7cfag12864b: Delete an error message for a failed kmalloc_array() calldrivers/auxdisplay/cfag12864b.c+0 -30 replies
3/7cfag12864b: Return directly if the driver "ks0108" was not initializeddrivers/auxdisplay/cfag12864b.c+2 -20 replies
4/7cfag12864b: Return directly after a failed get_zeroed_page()drivers/auxdisplay/cfag12864b.c+1 -40 replies
5/7cfag12864b: Rename jump labels in cfag12864b_init()drivers/auxdisplay/cfag12864b.c+4 -60 replies
6/7cfag12864b: Return an error code only as a constant in cfag12864b_init()drivers/auxdisplay/cfag12864b.c+2 -60 replies
7/7cfag12864b: Adjust two checks for null pointers in cfag12864b_init()drivers/auxdisplay/cfag12864b.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] cfag12864b: Fine-tuning for cfag12864b_init()

From: Markus Elfring <[email protected]>
Date: Sat, 10 Sep 2016 16:17:01 +0200

Some update suggestions were taken into account
from static source code analysis.

Markus Elfring (7):
Use kmalloc_array()
Delete an error message for a failed kmalloc_array() call Return directly if the driver "ks0108" was not initialized Return directly after a failed get_zeroed_page() Rename jump labels
Return an error code only as a constant
Adjust two checks for null pointers

 drivers/auxdisplay/cfag12864b.c | 37 +++++++++++++------------------------
 1 file changed, 13 insertions(+), 24 deletions(-)
Signature · 1 line
2.10.0