lkml.org 
[lkml]   [2022]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] scripts: dtc: fix a false alarm for node_name_chars_strict
    On Tue, May 31, 2022 at 04:43:18PM -0400, Frank Rowand wrote:
    > On 5/31/22 01:33, Qun-Wei Lin wrote:
    > > The function check_node_name_chars_strict issues a false alarm when
    > > compiling an overlay dts.
    > >
    > > /fragment@0/__overlay__: Character '_' not recommended in node name
    > >
    > > This workaround will fix it by skip checking for node named __overlay__.
    >
    > This is not a false alarm.
    >
    > Do not special case node name "__overlay__". This node name should never
    > occur in a modern overlay source file.

    A dtbo -> dts pass will give warnings, so handling these nodes is
    worthwhile. Though thinking a bit more about it, I think this one is off
    by default, but W=2 turns it on.

    Rob

    \
     
     \ /
      Last update: 2022-05-31 23:50    [W:3.302 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site