Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4641782imm; Mon, 15 Oct 2018 19:42:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV629CR+lW3Q8TZZhQTVHCCBbKQkVJze1KdKMv0JnvR9lRJRjps2I5R9KiNNJxn5AFaAmCxjV X-Received: by 2002:a17:902:30a3:: with SMTP id v32-v6mr9836024plb.76.1539657762464; Mon, 15 Oct 2018 19:42:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539657762; cv=none; d=google.com; s=arc-20160816; b=HXusLYG3BXVv1ndaKhYsE0JEI2Pn3pJN3CXaU1xzNHmvXNRcgUeR9M1OBWJ7Coj1z/ 0oCsCYrhg15kAm4bl/u1K0Hfii6mdq64N3Ph44fs2fBHco/odFm2QXwPhLs4njYzWp+B GrAGfkT8ORj3sq+j7w8gatGjOwuGS6HeVVC9ZYa9Erf7TzcllJqAg/bKt568AT3pLEXe bShOaGLYFqiZB+h6iWHtCBoM6WWRZc4ihfhRiDRgPeD8S5+l3TAG8KlvPtN/0R4F1FGy woSuEp9KzQ3TQqLPgDxAlMi6q+3JPV3v2oXJq7AXgOl1mFvptxtzecuvQHsBMuVNcWiJ SW2Q== 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=0/JPxgCISftg7uhU6Os/M9lOsE7X4R1Vrk7CCbESXWdWF/yVajUysH2hk1teEgcYyU 785g9//wowVSNuPheDmiR7CKNCE1pdLctOVE0ZiV1+N72O7pEkCHgISOO4KFxI17skm7 GN6znygb1MvdYrs9+hpkd0nbIxSPirNN33nSRJdhbe+G4KWO8aoTfBzxQ/k/6vHHrjeO DTzDa+Up9ZUaqM4oVJ7wXfs3hF+Ek4BkNmI+IwzyAmhKs8oWFhAN3LHqdILGuRWK4Hqh WMcLLkYH4JkHt1FbuRgLmSgU+UwHqNvUlW1K92PkrZZa7aQ9HfYchsAc717EwTe7prlQ leEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tg9xQeeC; 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 h12-v6si12509979plt.240.2018.10.15.19.42.26; Mon, 15 Oct 2018 19:42:42 -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=tg9xQeeC; 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 S1727166AbeJPK10 (ORCPT + 99 others); Tue, 16 Oct 2018 06:27:26 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:37611 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727016AbeJPK1Z (ORCPT ); Tue, 16 Oct 2018 06:27:25 -0400 Received: by mail-pg1-f195.google.com with SMTP id c10-v6so10083482pgq.4; Mon, 15 Oct 2018 19:39:21 -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=tg9xQeeCkWQhyodbcvSdj7q+fcOref2z2sntaCR3p7E1gnJ8305hhoo461U+aUZU8C /e7A1f/oQWrEZ+nxSTpeYP4Juu0L9CxsC7XQ7wcFKhCO0d1BZqKeR6YtaETtQHlFr4Ah zy98BikYtjnC37L8Q8LsvYfLIt2xS46xLXaLLCklO+LAD9+U/pD75X/g1JFA3zmH51Mj 4p1hBvJTPTXsgcy638l3rD25kEItXXvGd/CL0XkpFSj3J4wWi8dnpmoBIXZvsUyxg3Hj UgzlTBEk6O4HckEYIlQzFVk0H2btgsH8mPQwqJwgjDekz4i+kJrJ3nv8aca95mUNYgKp kb6A== 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=tqKm3Vrmmr2mFK1FF5QuJdjhJLw4vpqK/fJBfXqFljotRhn+KxEfnbjc5AzwbcBi/e UcqG63y8YM+PdpmrrhQiAK60/tJgpgUuYKp94spSYO9qdPRiBjBI8onITeN3pfogN21l cRzhdj6Fwy0utWlqsBwQ4sEMK0nDSgJgYCKCAnnv+/uOEN+g8H4DKb/o0DltWXZi3YoS Eo4gO8lDBWzEHlJbBSzKon4y9c4nRJzgFPGP+wgPtQEOwrJV31TXgDm4lRKam6SXJXIZ s6GML4dczHRqDxsMXRQWPwphgxPbGiJB7OC/yuZIIVy6qumk3mTXvmvSjGNuS+DFiFTr 2aEw== X-Gm-Message-State: ABuFfohLz/uX8gakzwz5EOuENdyjcw2eaSkBo6EYYimpzQ6TnWb9uZiw GkCsLmo8gYiVqYceaBL3jBU= X-Received: by 2002:a62:68c3:: with SMTP id d186-v6mr12074613pfc.195.1539657561371; Mon, 15 Oct 2018 19:39:21 -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 u79-v6sm18620287pfd.117.2018.10.15.19.39.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Oct 2018 19:39:20 -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 v4 08/18] of: overlay: reorder fields in struct fragment Date: Mon, 15 Oct 2018 19:37:28 -0700 Message-Id: <1539657458-24401-9-git-send-email-frowand.list@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1539657458-24401-1-git-send-email-frowand.list@gmail.com> References: <1539657458-24401-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