Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3322563imm; Sun, 14 Oct 2018 17:28:16 -0700 (PDT) X-Google-Smtp-Source: ACcGV62kLycxNPFD6IulMohCtw8FUwHY2LlAbxtWr8AbOymqvo3eE7d/SgsJKD0MW+lBfVDJtR4O X-Received: by 2002:a63:f050:: with SMTP id s16-v6mr14043995pgj.403.1539563296707; Sun, 14 Oct 2018 17:28:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539563296; cv=none; d=google.com; s=arc-20160816; b=W98JK6WoZKCyWXrksLD8gYKcGLQ0uecjvnDysYfnIrjTzoH3/Eyp+l/P6jzRg6HSgS sLL5xOYNXsKpykXTNg3lWuYcSkivCBbdEwzale9nMMJp7uuwPSQe8uDSOcb2ub2GTlOW PbS9+l6GJJCV7/I6rEtZsydc83I48Nh5XS3oTvdTGQHrWzeyLEdDcPS+I9g4hB/vDVNr vH14Br70Y/aPgpzpodR/rT/62kaA/GD3yrqa0c85dtS5yTnh6atXZHa0e9xhrCPW8bmF KuPL4OgUPH5fDlLWRU4B295X+tM62HIMYXwLzg0XTJEzh/goFcbkbvBF8MjBuJudqd9i AOnw== 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=ITUQSIbTF+r6wqzXKQf0Fvq0Kp3XkgLD2GcAH4TclxBsSB7smcY1LbPuAmApmwgp+0 16aM3aaeguCuLEZe9g5q8PU7QMluGMySJZCi0VovfKqgJ13Gn0iklseIFa2TMENn0mhZ DiYPRECFOYraMFqd6uokQGgJuSBSJAOKG9/kXdab/xG0nxZ+mxIlcBDi5/vMpu4VQnjZ dYe8jlEhu9jxmGNE/y88NxaTrdlYGtvL+lTI0Ef/YMQvIKo0DRVXhhPLwV8ExQ8DYtpt BsHQYLeOBS+WyFwd4LB8ep7WbEF4X+jTdN+BxmrqsB1JZ2C4w+tm9CC0GyQn/E1zKH5b NS2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iOMyYo7c; 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 a7-v6si8846645pgb.301.2018.10.14.17.28.02; Sun, 14 Oct 2018 17:28:16 -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=iOMyYo7c; 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 S1726786AbeJOIJA (ORCPT + 99 others); Mon, 15 Oct 2018 04:09:00 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:46010 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726638AbeJOII6 (ORCPT ); Mon, 15 Oct 2018 04:08:58 -0400 Received: by mail-pf1-f194.google.com with SMTP id u12-v6so8742842pfn.12; Sun, 14 Oct 2018 17:26:10 -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=iOMyYo7cQGkHcR4M21tMOuqmXENQrywNbXP/BiYtiQjNER4f7ceGq8FB9+tO5XgKsp PGa1zDu659YIwqT1kEcV1QR6bDtpD2lJY9n0rPCXI9qDi2z2lI+vl08sK/EpKQFF0kYf Ol4SmKQxwNBJCIu0MbhfEnQBcjakp6tlEHBv9Sj1SVc1aQSvlYdXF0enIIC+QJrUwius 6youP2KEfv2hs+JuDsitUvzR7Us5qRBbbrlUcXMj+EgbUHRm6w45y8mFn8I6Y0B5AWDM UEreYywyhJcK8TL0jqKOGl3Fxdt3827T3CEI4wACtyz1mvFLS0u9rPnGm82sVgXImBbc +PGg== 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=fkJUiWQytjZ8UOGM7rHC7GGCVWNRT4+TPbME1S/MCtdO4jhzduRnzqjmfDuQNsBqDj pJNrUnODDJVKW06HyPlJyiE3N/LUUvgc/OsxSWcDlqnw5M5JAknye+Yq1z1000HoJ2BA b/7u5CV5HvrunQ+V46BVbA1f7XYl5H5P/0ZD0xpgpfVBHmgpxnRFNbY/70tRHoW/wr0o r8TexXSLfhLdoPN8s20lQfgtyffZhpsq6rxmX9At1rR5iSt1FKBFQaHOoKEvyDqLB4aj xrKJ/YWtSevGtuPkiV+LOZ59kCRQkM/ttKiCjRp45xn0O72cnMIHocQD/HzqTNVooN4Z smlA== X-Gm-Message-State: ABuFfoi0qt7SBfvBe3viONeUkgO71zm7gN5p91oCjXuoNEkysfkoqY8B EckHT6IsTWzc5YCbOCx/v/g= X-Received: by 2002:a63:455e:: with SMTP id u30-v6mr14101901pgk.30.1539563169975; Sun, 14 Oct 2018 17:26:09 -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 j14-v6sm11387110pgh.52.2018.10.14.17.26.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 14 Oct 2018 17:26:09 -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 v3 08/18] of: overlay: reorder fields in struct fragment Date: Sun, 14 Oct 2018 17:24:20 -0700 Message-Id: <1539563070-12969-9-git-send-email-frowand.list@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1539563070-12969-1-git-send-email-frowand.list@gmail.com> References: <1539563070-12969-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