Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1544403imm; Fri, 12 Oct 2018 21:58:29 -0700 (PDT) X-Google-Smtp-Source: ACcGV60D6QMwPTPTWnRDUy1HHFE5wbH6ll2f0F7zKMoyhcIiDlT8ZVw2v8eocZpACwgEhnmXCT4V X-Received: by 2002:a63:6ec4:: with SMTP id j187-v6mr8233597pgc.3.1539406709660; Fri, 12 Oct 2018 21:58:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539406709; cv=none; d=google.com; s=arc-20160816; b=kHbWL/H6Rh/kg2br9WxkawEOr3pdMbkM6cbYUeigpkjjaY8YY/RZpo9ElFoJed7pJi tgb8BG6Nja1ARLYpX+MEkIyVCQ+0Wb+VV0PAZqbepDR5Q0atnQsqZvxUq0gVMJXQU3JH 0MWxs7NJixQFqOP3pOvvm3wjP0/jTsYb6UK5FiDkoDxUObrc3bPj4oDvfU87HeFgYjgr asggYEW81aSWFjhGoeBOnrS2uz95pF8P6Vo1UiKaNkP3QlL7BqSdl0wUXdKuo2KHQs7Q XG6XKolS29FE1olfnV6khzDTpNve20E5AOk31/c0fkKpc6fJxvQ6Gg7LbDpfeylBfDVW vb3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=zdOcjsQSagxh/0ytfqlFE21zp3hEcz2hdT+yMst4gNc=; b=q+M1tGs9IBpC1BUx9CO1S334/VmsMXWfajyJXg78mOak8WpFemFEIjUE5eXnoeYf+O JWTXok9nV9S2icOAuB2PO9/Q2KVXpEY0N3tIS+Nxu82a8m+mkKBP+eicixF4X1TpQ5Qp wT9DyVIfiMA5dwyVWoQpmeASg2+Q0iBEnbc0RJKmmmfJCdQq8FcSba5ekaRYZvQBj+T8 FKMi54gHqEH2VMuC/ZIqvq4EH4AXeGMPW60t53aQm7nikW2dx4rW7IRLngz4cW1jAJKJ BBkNAuW3/h9redg+aclIsIrNvZItp/yRbAkHz0S/TplP2XCEyxMxa/8IF0x5E37FIQiI /n8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O9auGlgy; 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 h3-v6si3425216plb.122.2018.10.12.21.58.14; Fri, 12 Oct 2018 21:58:29 -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=O9auGlgy; 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 S1726928AbeJMMa4 (ORCPT + 99 others); Sat, 13 Oct 2018 08:30:56 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:36379 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726758AbeJMMaz (ORCPT ); Sat, 13 Oct 2018 08:30:55 -0400 Received: by mail-pg1-f193.google.com with SMTP id f18-v6so6757318pgv.3; Fri, 12 Oct 2018 21:55:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zdOcjsQSagxh/0ytfqlFE21zp3hEcz2hdT+yMst4gNc=; b=O9auGlgy9Z0x96YJvAYLdz2ST9vhVjlVWQVyAFSXEZqJqvQgoJSMX7PUxtVv1htyyn j6MdDUExsrb+fu88348j/h+zw7BCl5yhPdLFjcEkrNSH1Skg/Ts0bqF6I8ef0P9rkG0Y 4DbhknmzACpRxV1Gi2+1QuiTBqjX3xoXRGk3TMrb/nRl2JfSMvRwWTwZLxkxe+SOkD/I Zi7Ot06wyBOXbR/93+NNuhw/zpkVy/N1wS5lFroZjDp19WXcpzEjinIKuOpz18QDVgZu 4amOrTXFE15X6J8FYLvgmFFR9R2qZZATrL/ozteZDrt4glo8NVTOnCqLOJC3W7VhUPVP B3Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zdOcjsQSagxh/0ytfqlFE21zp3hEcz2hdT+yMst4gNc=; b=Pi8zuKRHCrM1j1f63eS6XY9SEcK6tawwSz+9VbdE8sshhDhyEt1KvNuBpVd8dku6Hv 4lIwXb7l9pLegwlkge8F4rWnExxRAhTyEXLHUX2S7mD0r2OJAcl+0AdUFJE798S6rNZg 3wWs8jbIUfZiZ3Xqz32kYh22GCofKk724vv6pDInFkrrl8/LAoex4NVE0I9I3t09cQpf /n0SD6fH/qD2DI1Vq6nKliY4NxQ1XzivTFYVV5gsJiZevhsHMN525gRrPRIIG91NauWq LShiIKCijjRD+9GuckB7z87TorY+h0wJcrCgfrRM2IrKxDr1smTipctezDn/NhEhtkhl covg== X-Gm-Message-State: ABuFfojV03pxymOJ5nTWbTFPdIFirax+eBP53hUyomoQU0hvQ6GVPEjd m2i4AFgKImyfeyf7DXG/Lac= X-Received: by 2002:a63:40c2:: with SMTP id n185-v6mr8236018pga.116.1539406514759; Fri, 12 Oct 2018 21:55:14 -0700 (PDT) Received: from localhost.localdomain (c-24-6-192-50.hsd1.ca.comcast.net. [24.6.192.50]) by smtp.gmail.com with ESMTPSA id h87-v6sm6959462pfj.78.2018.10.12.21.55.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Oct 2018 21:55:14 -0700 (PDT) From: frowand.list@gmail.com To: Rob Herring , Pantelis Antoniou , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Alan Tull , Moritz Fischer Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org, linux-fpga@vger.kernel.org Subject: [PATCH v2 08/18] of: overlay: reorder fields in struct fragment Date: Fri, 12 Oct 2018 21:53:28 -0700 Message-Id: <1539406418-18162-9-git-send-email-frowand.list@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1539406418-18162-1-git-send-email-frowand.list@gmail.com> References: <1539406418-18162-1-git-send-email-frowand.list@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frank Rowand Order the fields of struct fragment in the same order as struct of_overlay_notify_data. The order in struct fragment is not significant. If both structs are ordered the same then when examining the data in a debugger or dump the human involved does not have to remember which context they are examining. Signed-off-by: Frank Rowand --- drivers/of/overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c index 7fcf4a812d06..272a0d1a5e18 100644 --- a/drivers/of/overlay.c +++ b/drivers/of/overlay.c @@ -49,8 +49,8 @@ struct target { * @overlay: pointer to the __overlay__ node */ struct fragment { - struct device_node *target; struct device_node *overlay; + struct device_node *target; }; /** -- Frank Rowand