rtc: Fix printf format warning in m41t60.c
PATCH 1/1 rtc: Fix printf format warning in m41t60.c
Signed-off-by Stefan Roese <[email protected]>
--- drivers/rtc/m41t60.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/rtc/m41t60.c +1 -1
@@ -241,7 +241,7 @@ void rtc_reset(void)if (l <=0x3F ) {if ((data[RTC_CTRL ] &0x3F ) != l) { -printf ("Setting RTC calibration to 0x%02X\n" , +printf ("Setting RTC calibration to 0x%02lX\n" , l); data[RTC_CTRL ] &=0xC0 ; data[RTC_CTRL ] |= (uchar ) l;
Signature · 1 line
1.5.6.2
Wolfgang Denk
AppliedPATCH 1/1 rtc: Fix printf format warning in m41t60.c
Quoted 4 lines · In message <[email protected]> you wrote:
Signed-off-by Stefan Roese <[email protected]>--- drivers/rtc/m41t60.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks!
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "I didn't know it was impossible when I did it."