Thread (10 messages) 10 messages, 10 authors, 2017-12-19

Re: [trivial PATCH] treewide: Align function definition open/close braces

From: Andy Shevchenko <hidden>
Date: 2017-12-18 12:31:12
Also in: alsa-devel, amd-gfx, dri-devel, linux-acpi, linux-fsdevel, linux-media, linux-rtc, linux-scsi, linux-wireless, linux-xfs, lkml, netdev, platform-driver-x86

On Mon, Dec 18, 2017 at 2:28 AM, Joe Perches [off-list ref] wrote:
Some functions definitions have either the initial open brace and/or
the closing brace outside of column 1.

Move those braces to column 1.

This allows various function analyzers like gnu complexity to work
properly for these modified functions.

Miscellanea:

o Remove extra trailing ; and blank line from xfs_agf_verify

Signed-off-by: Joe Perches <joe@perches.com>
 drivers/platform/x86/eeepc-laptop.c                  |  2 +-
quoted hunk ↗ jump to hunk
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c
index 5a681962899c..4c38904a8a32 100644
--- a/drivers/platform/x86/eeepc-laptop.c
+++ b/drivers/platform/x86/eeepc-laptop.c
@@ -492,7 +492,7 @@ static void eeepc_platform_exit(struct eeepc_laptop *eeepc)
  * potentially bad time, such as a timer interrupt.
  */
 static void tpd_led_update(struct work_struct *work)
- {
+{
        struct eeepc_laptop *eeepc;

        eeepc = container_of(work, struct eeepc_laptop, tpd_led_work);
diff --git a/drivers/rtc/rtc-ab-b5ze-s3.c b/drivers/rtc/rtc-ab-b5ze-s3.c
index a319bf1e49de..ef5c16dfabfa 100644
Acked-by: Andy Shevchenko <redacted>

for PDx86 changes.


-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help