From: Eames Trinh <eamestrinh@gmail.com>
To: gregkh@linuxfoundation.org
Cc: johan@kernel.org, elder@kernel.org, linux-kernel@vger.kernel.org,
Eames Trinh <eamestrinh@gmail.com>
Subject: [PATCH] Staging: greybus: Make string array const
Date: Tue, 22 Aug 2017 00:15:27 +0200 [thread overview]
Message-ID: <20170821221527.3738-1-eamestrinh@gmail.com> (raw)
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
next reply other threads:[~2017-08-21 22:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-21 22:15 Eames Trinh [this message]
2017-08-22 21:40 ` [PATCH] Staging: greybus: Make string array const kbuild test robot
2017-08-22 21:42 ` kbuild test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170821221527.3738-1-eamestrinh@gmail.com \
--to=eamestrinh@gmail.com \
--cc=elder@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=johan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox