[PATCH v4 0/2] dtc: Improve checks for i2c reg properties

From: Joel Stanley
Date: Sun Jun 21 2020 - 23:10:24 EST


This is to fix a build warning in the Linux kernel caused by dtc
incorrectly warning about I2C_OWN_SLAVE_ADDRESS.

v4 adds a U to the defines
v3 fixes the 10 bit size check
v2 contains a second patch to check for 10 bit vs 7 bit addresses.

Joel Stanley (2):
checks: Remove warning for I2C_OWN_SLAVE_ADDRESS
checks: Improve i2c reg property checking

checks.c | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)

--
2.27.0