arch/x86/kernel/rtc.c: Overzealous usage of 'const' keyword
PATCH 1/1 arch/x86/kernel/rtc.c: Overzealous usage of 'const' keyword
Please merge.
Signature · 9 lines
______________________________________________________________________ Edward O'Callaghan, Director and Principal consultant. https://www.alterapraxis.com | [email protected] Altera Praxis Pty Ltd, // Discretions in cybersecurity ACN 165 424 064. // reconnaissance and adversary mitigation. ______________________________________________________________________
From f8847c4eb8f7550c43e2dbc9efaff91434a54fe7 Mon Sep 17 00:00:00 2001
From: Edward O'Callaghan <[email protected]>
Date: Sun, 12 Oct 2014 22:25:40 +1100
Subject: [PATCH] arch/x86/kernel/rtc.c: Overzealous usage of 'const' keyword
Organization: Altera Praxis Pty Ltd.
To: [email protected]
No need to qualify with 'const' no less than three times over.
Signed-off-by Edward O'Callaghan <[email protected]>
--- arch/x86/kernel/rtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/rtc.c +1 -1
@@ -170,7 +170,7 @@ static struct platform_device rtc_device = {static __init int add_rtc_cmos (void ) {#ifdef CONFIG_PNP -static const char *const const ids[]__initconst = +static const char * ids[]__initconst = {"PNP0b00" ,"PNP0b01" ,"PNP0b02" , };struct pnp_dev *dev;struct pnp_id *id;
Signature · 1 line
2.1.2