diff options
author | Frank Rowand <frank.rowand@sony.com> | 2018-10-04 20:32:04 -0700 |
---|---|---|
committer | Frank Rowand <frank.rowand@sony.com> | 2018-11-08 22:11:32 -0800 |
commit | 6f75118800acf77f8ad6afec61ca1b2349ade371 (patch) | |
tree | c8c46a2f76a8ae4cab60f79ad6575deef7334787 /drivers/net/ntb_netdev.c | |
parent | 81225ea682f45629a66309636482b7c9bc2dcec1 (diff) |
of: overlay: validate overlay properties #address-cells and #size-cells
If overlay properties #address-cells or #size-cells are already in
the live devicetree for any given node, then the values in the
overlay must match the values in the live tree.
If the properties are already in the live tree then there is no
need to create a changeset entry to add them since they must
have the same value. This reduces the memory used by the
changeset and eliminates a possible memory leak.
Tested-by: Alan Tull <atull@kernel.org>
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Diffstat (limited to 'drivers/net/ntb_netdev.c')
0 files changed, 0 insertions, 0 deletions