lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 13 Dec 2017 13:43:08 +0530
From:   Dhaval Shah <dhaval.shah@...tnautics.com>
To:     mjg59@...f.ucam.org, pali.rohar@...il.com, andy@...radead.org
Cc:     platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
        Dhaval Shah <dhaval.shah@...tnautics.com>
Subject: [PATCH 2/3] platform/x86: dell-laptop: Missing a blank line after declarations

Resolved Missing a blank line after declarations checkpatch warnings.
Issue found by checkpatch.

Signed-off-by: Dhaval Shah <dhaval.shah@...tnautics.com>
---
 drivers/platform/x86/dell-laptop.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c
index 9b0855236e3d..bf4e73a02b39 100644
--- a/drivers/platform/x86/dell-laptop.c
+++ b/drivers/platform/x86/dell-laptop.c
@@ -466,6 +466,7 @@ static void dell_rfkill_update_sw_state(struct rfkill *rfkill, int radio,
 	if (status & BIT(0)) {
 		/* Has hw-switch, sync sw_state to BIOS */
 		int block = rfkill_blocked(rfkill);
+
 		dell_set_arguments(1 | (radio << 8) | (block << 16), 0, 0, 0);
 		dell_send_request(CLASS_INFO, SELECT_RFKILL);
 	} else {
@@ -899,6 +900,7 @@ static void touchpad_led_on(void)
 {
 	int command = 0x97;
 	char data = 1;
+
 	i8042_command(&data, command | 1 << 12);
 }
 
@@ -906,6 +908,7 @@ static void touchpad_led_off(void)
 {
 	int command = 0x97;
 	char data = 2;
+
 	i8042_command(&data, command | 1 << 12);
 }
 
@@ -2130,6 +2133,7 @@ static int __init dell_init(void)
 
 	if (max_intensity) {
 		struct backlight_properties props;
+
 		memset(&props, 0, sizeof(struct backlight_properties));
 		props.type = BACKLIGHT_PLATFORM;
 		props.max_brightness = max_intensity;
-- 
2.11.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ