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>] [day] [month] [year] [list]
Message-Id: <1438091260-16062-1-git-send-email-rabel@cit-ec.uni-bielefeld.de>
Date:	Tue, 28 Jul 2015 15:47:40 +0200
From:	Robert ABEL <rabel@...-ec.uni-bielefeld.de>
To:	johannes@...solutions.net, davem@...emloft.net
Cc:	linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Robert ABEL <rabel@...-ec.uni-bielefeld.de>
Subject: [PATCH] net: rfkill-regulator: fix compiler warning

pdata char* name => const char* name

Signed-off-by: Robert ABEL <rabel@...-ec.uni-bielefeld.de>
---
 include/linux/rfkill-regulator.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/rfkill-regulator.h b/include/linux/rfkill-regulator.h
index aca36bc..594d8e7 100644
--- a/include/linux/rfkill-regulator.h
+++ b/include/linux/rfkill-regulator.h
@@ -41,7 +41,7 @@
 #include <linux/rfkill.h>
 
 struct rfkill_regulator_platform_data {
-	char *name;             /* the name for the rfkill switch */
+	const char *name;       /* the name for the rfkill switch */
 	enum rfkill_type type;  /* the type as specified in rfkill.h */
 };
 
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ