You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github: Add '-Wno-error=pointer-sign' to 4.5+ builds for I2C driver
The interface to the I2C subsystem expects to be passed buffers of type
char *, but our driver (and the vast majority of other I2C drivers, for
what its worth) passes a u8 * buffer instead. GCC generates a pointer
sign warning in response, but this causes the github build to fail since
we have '-Werror' enabled.
While we work on trying to fix the upstream I2C interface, work around
this problem by not erroring out on pointer-sign warnings from affected
kernel versions.
Link: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Jason Gerecke <[email protected]>
0 commit comments