public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: greybus: Make string array const
@ 2017-08-21 22:15 Eames Trinh
  2017-08-22 21:40 ` kbuild test robot
  2017-08-22 21:42 ` kbuild test robot
  0 siblings, 2 replies; 3+ messages in thread
From: Eames Trinh @ 2017-08-21 22:15 UTC (permalink / raw)
  To: gregkh; +Cc: johan, elder, linux-kernel, Eames Trinh

Added const to string array.

Signed-off-by: Eames Trinh <eamestrinh@gmail.com>
---
 drivers/staging/greybus/audio_manager_module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/greybus/audio_manager_module.c b/drivers/staging/greybus/audio_manager_module.c
index adc16977452d..73a3e2decb3a 100644
--- a/drivers/staging/greybus/audio_manager_module.c
+++ b/drivers/staging/greybus/audio_manager_module.c
@@ -159,7 +159,7 @@ static void send_add_uevent(struct gb_audio_manager_module *module)
 	char ip_devices_string[64];
 	char op_devices_string[64];
 
-	char *envp[] = {
+	const char *envp[] = {
 		name_string,
 		vid_string,
 		pid_string,
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-22 21:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-21 22:15 [PATCH] Staging: greybus: Make string array const Eames Trinh
2017-08-22 21:40 ` kbuild test robot
2017-08-22 21:42 ` kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox