Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1441149imm; Wed, 26 Sep 2018 18:37:34 -0700 (PDT) X-Google-Smtp-Source: ACcGV61MEDZmS3LAWejtWP+Rfy4vAgi6VYf9w2a7B3nVT9oWhr7+vTAA9LoV4GQ0N1QEGmF4zUiE X-Received: by 2002:a17:902:7449:: with SMTP id e9-v6mr8631659plt.255.1538012254361; Wed, 26 Sep 2018 18:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538012254; cv=none; d=google.com; s=arc-20160816; b=qCB2Lt5JIWlWgOcPSzFrVTv3tALClcgYpGcsZeije02Tm1dZ+UmtkVvUxLZ//W+TwI +QX6yQpqYa/jkla5eKtY8+znVRKg1wGS74EZe0uuhwXXHgVwn/LfTG8+ja+aCDDRKe9s apqlssNg/oqJ45vClPq5o4biDTeXjJaGehqdmogcuZZwGZMIGmy223fE18VNSn2inOCu c+pFCt/skNZ7HwRCEdMjkaevBrcK8YQlTPM25htEkFjXs36AJKTCg+Dc7wi32g97Fjbr 6ik79Dj/aGb47d/kYoChpOTMBItNUYpljpGvP2kvqfNqmkFuIp/nu1nRtKr97zKkj0AP 8efA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=D7I6xTfT/7sUYa7/Oz+UIWJjNYUfcY/0Skj7gMv9VjY=; b=ca7dSVDTpxgNhF6ywzXQDcyuh/BcXHeSKdAtGqfEdzdc/26QWejapeXbvk3YULhJoo H6XAF+/e+qcHozyFBaDVkO4VeVVmORZIAQgTQtv8P5j+9aevbgb7DPju4LORskez6BUn z7+yD5Y6UubIVyTekCdbPEz1PRFpikbBQUWmJra14CfWJdzpC7tugk22BgrNmEfB44Y7 BjlQj5vo9K66DdHZNy0ocHIC1Pvi7TnooyXWyq5I896UB0f4UHOQiWrK2+FtI4H975gk /2xyRUdK7uNxbPzGJ5Kptj911aBxhzMmMd5hYvdUP2j8cLVV7rtsvxwNQC/sfGcRiSas FD4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lRaSr0tC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si596989pln.415.2018.09.26.18.37.19; Wed, 26 Sep 2018 18:37:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lRaSr0tC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727146AbeI0Hvn (ORCPT + 99 others); Thu, 27 Sep 2018 03:51:43 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:42675 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726634AbeI0Hvn (ORCPT ); Thu, 27 Sep 2018 03:51:43 -0400 Received: by mail-pf1-f193.google.com with SMTP id l9-v6so620852pff.9; Wed, 26 Sep 2018 18:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=D7I6xTfT/7sUYa7/Oz+UIWJjNYUfcY/0Skj7gMv9VjY=; b=lRaSr0tC3srINb1Wuzrg/aVtsFquEu2tMD7yT+etkiqEWaaWC6FwRnQTW6c43quDLv tqCy11AuFBfeVCIP0SF0cx3O7LlrsCAoceROrWbzNkD6G2bAn7j4CkDVDefoCdzhWmV5 EpdYVSlohuG9vv3KzDqswsvTvNbEFFqMeakhdcgeNo/VACdgtwW4S7V4tRwgt3Ygd/Nv 4IKYYBDlyMf+OJ3YV+VU5YDODF6sa+lzPEUSmbdHnHRlowAi6kmUDAp518rZ4Itu3MeD rvmjKSfOFIZrOudKbhSgaPwciPvdmk6qWWw2UooAh3Jb1tv2fUGtewySzslsoI7p5fMb 7miw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=D7I6xTfT/7sUYa7/Oz+UIWJjNYUfcY/0Skj7gMv9VjY=; b=nvrX3dOYx+uwAJKGrR0KO/IViy3ofrm4pg7r2Ax19/QiQ56jMpRuaGZfWxkNWDIEat QugVUEWjVL30PFGMy04l7Ld/grXw9sgFAlw2gS3hQc/FSiQGC3eXbVH1bEPJ60RW9hwq rJViCXzdgHg9f716VyMEH9xg3wSI7m5MoHYO0wU4IM3yciVpz1Mcp+E9AqE9jl4l29Yi ltDAY8J5iS/WfavROXLovH+1zzmf58bYHagt6wgt+CAjsEEAUSyx3zJcJFgly6wUWP/y vmZOC4L4gcxwEwf3X//bx4aIAdnJgklDgy/WATUdm0SpR62klIdMeAnkSi44gUvx5sb7 tIIQ== X-Gm-Message-State: ABuFfojaInOLIlaPN4Z0o8ppwOr6UVEf9lLzQn1nwHp3ZPZk43666Ep+ TZW/elUwz4crAW1dxYNpzDM= X-Received: by 2002:a17:902:26c:: with SMTP id 99-v6mr8372476plc.341.1538012157915; Wed, 26 Sep 2018 18:35:57 -0700 (PDT) Received: from [192.168.1.70] (c-24-6-192-50.hsd1.ca.comcast.net. [24.6.192.50]) by smtp.gmail.com with ESMTPSA id f81-v6sm764304pfh.46.2018.09.26.18.35.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Sep 2018 18:35:57 -0700 (PDT) Subject: Re: [PATCH v2] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached To: Rob Herring , Andre Kalb Cc: "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20180926210537.GA3143@bogus> From: Frank Rowand Message-ID: Date: Wed, 26 Sep 2018 18:35:56 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180926210537.GA3143@bogus> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/26/18 14:05, Rob Herring wrote: > On Thu, Sep 13, 2018 at 03:21:27PM +0000, Andre Kalb wrote: >> Hi Rob, >> >> I have used an other hardware to check the patch. I hope it doesn’t matter. I added few lines at the untitest.c. All existing unittest use an attached sysfs, therefore the bug isn't detectable. > > Okay, can you resend both patches in one series rather than pasted in > here. > > Rob I don't understand the need for the patch to __of_update_property_sysfs() in the context of the current mainline Linux kernel. As far as I know, there are no callers of of_update_property() against a tree that is detached. As such, the patch is adding complexity without adding any functionality. -Frank