lkml.org 
[lkml]   [2021]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] firmware: arm_scmi: replace resevered identifiers in macros
On Wed, Dec 22, 2021 at 09:25:19AM -0800, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
>
> Identifiers starting with __ are resevered. Replace __X with X.
>
> The arguments to these macros are pointers. The macros only reads
> values. There is no need to make copies of the pointers, use them
> directly.
>

Agreed and thanks for the patch.

However the original patch was modified and these macros were moved
to inline functions[0] after the initial build warnings from the
build bot[1]. Sorry my reply to the bot seems to have got lost and didn't
make it to the list.

--
Regards,
Sudeep

[0] https://git.kernel.org/sudeep.holla/c/a690b7e6e7
[1] https://lore.kernel.org/lkml/202112211457.TlWRYcoq-lkp@intel.com/

\
 
 \ /
  Last update: 2021-12-22 19:16    [W:0.072 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site