lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 14 Dec 2020 09:16:30 -0600 From: Rob Herring <robh@...nel.org> To: Zhen Lei <thunder.leizhen@...wei.com> Cc: Rob Herring <robh+dt@...nel.org>, devicetree <devicetree@...r.kernel.org>, linux-kernel <linux-kernel@...r.kernel.org>, Serge Semin <Sergey.Semin@...kalelectronics.ru>, Wolfram Sang <wsa@...nel.org>, linux-i2c <linux-i2c@...r.kernel.org> Subject: Re: [PATCH v2 1/1] dt-bindings: i2c: dw: cancel mandatory requirements for "#address-cells" and "#size-cells" On Mon, 14 Dec 2020 20:43:47 +0800, Zhen Lei wrote: > The "#address-cells" and "#size-cells" are required only when the I2C > controller has subnodes. However, some I2C controllers defined in > "arch/arm64/boot/dts/amd/" and "arch/arm64/boot/dts/hisilicon/" > directories do not have child nodes. So they don't need these two > properties and don't write them explicitly. > > Therefore, setting properties "#address-cells" and "#size-cells" as > "required" in this yaml file causes the following warnings: > /root/linux-next/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dt.yaml: \ > i2c@...00000: '#address-cells' is a required property > /root/linux-next/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dt.yaml: \ > i2c@...00000: '#size-cells' is a required property > > Signed-off-by: Zhen Lei <thunder.leizhen@...wei.com> > --- > Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml | 8 -------- > 1 file changed, 8 deletions(-) > Applied, thanks!
Powered by blists - more mailing lists