[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_27A546C0D8ACEF4B7DEE94D65FD805769809@qq.com>
Date: Thu, 13 Nov 2025 21:39:54 +0800
From: cjz_VM <guagua210311@...com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: outreachy@...ts.linux.dev, Vaibhav Agarwal <vaibhav.sr@...il.com>,
Mark Greer <mgreer@...malcreek.com>,
Johan Hovold <johan@...nel.org>, Alex Elder <elder@...nel.org>,
greybus-dev@...ts.linaro.org, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org, guagua210311@...com
Subject: Re: [PATCH] staging: greybus: audio_manager_module: make envp array
static const
Hi Greg,
Thanks for reviewing my patch!
For sending twice: I apologize for the duplicate. After the first send, I realized I had missed some greybus-specific maintainers, so I resent to include them all.
For the indentation: You're right to ask about it. When I changed the declaration from 'char *envp[]' to 'static const char * const envp[]', the opening bracket moved to the right due to the longer declaration. I added tabs to keep the array elements aligned with the opening bracket, following the kernel coding style rule that parameters should align with the opening parenthesis.
If this alignment approach is not preferred, I'm happy to adjust it to whatever style you recommend.
Thanks again for your time and guidance!
Best regards,
Chang JunzhengFrom: cjz_VM <guagua210311@...com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: outreachy@...ts.linux.dev, Vaibhav Agarwal <vaibhav.sr@...il.com>, Mark Greer <mgreer@...malcreek.com>, Johan Hovold <johan@...nel.org>, Alex Elder <elder@...nel.org>, greybus-dev@...ts.linaro.org, linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org, guagua210311@...com
Subject: Re: [PATCH] staging: greybus: audio_manager_module: make envp array static const
Reply-To:
In-Reply-To: <2025111341-attendee-ferment-262b@...gkh>
Hi Greg,
Thanks for reviewing my patch!
For sending twice: I apologize for the duplicate. After the first send, I realized I had missed some greybus-specific maintainers, so I resent to include them all.
For the indentation: You're right to ask about it. When I changed the declaration from 'char *envp[]' to 'static const char * const envp[]', the opening bracket moved to the right due to the longer declaration. I added tabs to keep the array elements aligned with the opening bracket, following the kernel coding style rule that parameters should align with the opening parenthesis.
If this alignment approach is not preferred, I'm happy to adjust it to whatever style you recommend.
Thanks again for your time and guidance!
Best regards,
Chang Junzheng
Powered by blists - more mailing lists