Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp184354iob; Mon, 2 May 2022 16:33:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVDz16w/HwDzpztZYwoG1UbVGrUn4lDGUJfq0x04KPyqTLX7SPIpc1Zu9Qfs9F9k1bS/Bd X-Received: by 2002:a17:902:f64d:b0:151:3895:46bf with SMTP id m13-20020a170902f64d00b00151389546bfmr14147355plg.31.1651534411760; Mon, 02 May 2022 16:33:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651534411; cv=none; d=google.com; s=arc-20160816; b=B9/JcZG38y06ywHbJwAlREvbFWIrJQxuy6Zt5r30TF7qcGNgZVMtAmNHxjgvxmKYbu pRwqwLw7fQdwppTR13Ou/5H1KQ2z9FrXFSMkWQHp4BnfG6FLs5CIy4i0nl9eCvcjxuuy 2WPi7YlbR9IuKcCHnqhyUArlFO6t6EVA/5lFSH6WLS6e+j9VhkVpoGER1tIUFSi5zZYV qvQ7OvobjPCjs38B5YG7hFJzYCBwlQR9lSi7GgcMScrQuBdIdH0iIRfXghz/wqvXsXD5 9bUZrntrxobft/yc3mfOZGkbAaFNBzfJH/VJ2IMh2pBG8BdCEYuncPcKqIdPCitguDL/ c2Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=jL/zMMM/g6RvJvTqfaL3AxSBlJb7ZiFgbTZ+tEyGEr4=; b=gGB6uu7+4hYPPLZrRDnmU7fDcU0f/8EqdxF312lNkoDQNS32HT0bvTstwuHXwKa1Mm OBn00/Kkvd/StWxnrc/nlK1YGg35hZQLtEbwhbG7dRzExSuMdwyVlB0FdnV34W8tLHsk INBWN+NvMxfRsnJhTNZW8nUckw91wSDHFjLLh+bXMLey/m2osCdqRbu7kTpgR/2TP6Ui 7Uphe/QsaRnRDpP88RaYDk1wrrnFQQkB/oB4uNthlKH8jgoRb0NMlPbSVzMxq1j6hyZQ F94bxavU2z6EehFlqwIpgR2a8FrXTPcLimvfoS+GCdxM8+gUzaDcXTh9iJyBnnIQ6F7G S50g== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id bi2-20020a170902bf0200b0015e99deb6cdsi5917685plb.135.2022.05.02.16.33.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 16:33:31 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BA16F32065; Mon, 2 May 2022 16:33:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348324AbiEBRDg (ORCPT + 99 others); Mon, 2 May 2022 13:03:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238829AbiEBRDe (ORCPT ); Mon, 2 May 2022 13:03:34 -0400 Received: from mail-oa1-f53.google.com (mail-oa1-f53.google.com [209.85.160.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F053D117C; Mon, 2 May 2022 10:00:04 -0700 (PDT) Received: by mail-oa1-f53.google.com with SMTP id 586e51a60fabf-ed9ac77cbbso4251808fac.1; Mon, 02 May 2022 10:00:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=jL/zMMM/g6RvJvTqfaL3AxSBlJb7ZiFgbTZ+tEyGEr4=; b=Hit/lFohIUyiIJtfRb/ySKReRMPF1jI4j53sm32NbpEOSu7CmUOU3ppN29cpDZJhOC g0JpiP3iNAmkKqfRR6meY6Li1BwlXgg975rS7yeL2wrZAi9Ipzgns6dT/Hpan/va+UxA TUPCHS4owpt4tiWg99lKNfDnxKo6VA2ZDQ59Uin2eYYYFK71HQwD9GW/yt6cVrwUehGz edgx5CwHNHrTq3FI8GMDUODk+WN61unrOUAam+UjJgrDA9FVZK7aWxH8XRem6dQn4ONX prPnEnNB89vVFM0Dp57evgrO2atlgAe4oJpwzYOv0/RBXuXeO1UOEF63qHeyDxeERwKV 0DAw== X-Gm-Message-State: AOAM532WH64oFr2wULUEJSGs8xtGoemz6OzIPkY4atHDsQOx+jpAiJJU NV5b9SgUWXX4M2iFZ9Y8ZA== X-Received: by 2002:a05:6870:4610:b0:e9:a4a0:84 with SMTP id z16-20020a056870461000b000e9a4a00084mr48677oao.76.1651510804141; Mon, 02 May 2022 10:00:04 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id h23-20020a4adcd7000000b0035eb4e5a6bbsm4033884oou.17.2022.05.02.10.00.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 10:00:03 -0700 (PDT) Received: (nullmailer pid 1331045 invoked by uid 1000); Mon, 02 May 2022 17:00:02 -0000 Date: Mon, 2 May 2022 12:00:02 -0500 From: Rob Herring To: frowand.list@gmail.com Cc: pantelis.antoniou@konsulko.com, Slawomir Stepien , Dan Carpenter , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Slawomir Stepien , Jan Kiszka , Geert Uytterhoeven Subject: Re: [PATCH 1/3] of: overlay: add entry to of_overlay_action_name[] Message-ID: References: <20220501000543.1368005-1-frowand.list@gmail.com> <20220501000543.1368005-2-frowand.list@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220501000543.1368005-2-frowand.list@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 30, 2022 at 07:05:41PM -0500, frowand.list@gmail.com wrote: > From: Frank Rowand > > The values of enum of_overlay_notify_action are used to index into > array of_overlay_action_name. Add an entry to of_overlay_action_name > for the value recently added to of_overlay_notify_action. > > Array of_overlay_action_name[] is moved into include/linux/of.h > adjacent to enum of_overlay_notify_action to make the connection > between the two more obvious if either is modified in the future. > > The only use of of_overlay_action_name is for error reporting in > overlay_notify(). All callers of overlay_notify() report the same > error, but with fewer details. Remove the redundant error reports > in the callers. > > Fixes: 067c098766c6 ("of: overlay: rework overlay apply and remove kfree()s") > Reported-by: Dan Carpenter > Signed-off-by: Frank Rowand > --- > drivers/of/overlay.c | 27 +++++---------------------- > include/linux/of.h | 13 +++++++++++++ > 2 files changed, 18 insertions(+), 22 deletions(-) This isn't applying for me. Rob