From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B29EC433FE for ; Thu, 7 Oct 2021 05:26:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E14E8611AE for ; Thu, 7 Oct 2021 05:26:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240091AbhJGF15 (ORCPT ); Thu, 7 Oct 2021 01:27:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:36578 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbhJGF14 (ORCPT ); Thu, 7 Oct 2021 01:27:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 114C9611AE; Thu, 7 Oct 2021 05:26:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633584363; bh=x2wFVdUzumwx8hHL6zp2elbESyJKKZzYQG0HU/tZB1M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K/pkgEaTeWzw2a8Cu+KPDGJAkOrrQrygbcIN4qtbPTxnrBn4FHdvUDlfAjur/Z4mO Yolqun6+sbUA+RIUGzDdfMWuibYw+5MTJoHSO/ilUb57a5vBM8iAc3Op7Plm/mt0cO p2Ts9mdZAgiQh4PVkvEkIpHzibzZD3YT7xmLYYSE= Date: Thu, 7 Oct 2021 07:26:01 +0200 From: Greg Kroah-Hartman To: Zev Weiss Cc: openbmc@lists.ozlabs.org, Jeremy Kerr , Joel Stanley , Rob Herring , devicetree@vger.kernel.org, Frank Rowand , linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/9] of: add self parameter to of_update_property() Message-ID: References: <20211007000954.30621-1-zev@bewilderbeest.net> <20211007000954.30621-6-zev@bewilderbeest.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211007000954.30621-6-zev@bewilderbeest.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 06, 2021 at 05:09:50PM -0700, Zev Weiss wrote: > --- a/drivers/of/of_private.h > +++ b/drivers/of/of_private.h > @@ -64,7 +64,7 @@ int of_node_is_attached(struct device_node *node); > int __of_add_property_sysfs(struct device_node *np, struct property *pp); > void __of_remove_property_sysfs(struct device_node *np, struct property *prop); > void __of_update_property_sysfs(struct device_node *np, struct property *newprop, > - struct property *oldprop); > + struct property *oldprop, bool self); Again, not a good api decision at all thanks, greg k-h