Re: [PATCH] rtc: omap: Use define directive for PIN_CONFIG_ACTIVE_HIGH

2018-11-12 Thread Alexandre Belloni
On 31/10/2018 17:55:02-0700, Nathan Chancellor wrote: > Clang warns when one enumerated type is implicitly converted to another: > > drivers/rtc/rtc-omap.c:574:21: warning: implicit conversion from > enumeration type 'enum rtc_pin_config_param' to different enumeration > type 'enum pin_config_para

Re: [PATCH] rtc: omap: Use define directive for PIN_CONFIG_ACTIVE_HIGH

2018-11-12 Thread Nick Desaulniers
On Wed, Oct 31, 2018 at 5:55 PM Nathan Chancellor wrote: > > Clang warns when one enumerated type is implicitly converted to another: > > drivers/rtc/rtc-omap.c:574:21: warning: implicit conversion from > enumeration type 'enum rtc_pin_config_param' to different enumeration > type 'enum pin_config

[PATCH] rtc: omap: Use define directive for PIN_CONFIG_ACTIVE_HIGH

2018-10-31 Thread Nathan Chancellor
Clang warns when one enumerated type is implicitly converted to another: drivers/rtc/rtc-omap.c:574:21: warning: implicit conversion from enumeration type 'enum rtc_pin_config_param' to different enumeration type 'enum pin_config_param' [-Wenum-conversion] {"ti,active-high", PIN_CONFIG_ACT