Re: [5/5] drivers/rtc/sa1100: Replace deprecated rtc_tm_to_time() and rtc_time_to_tm()

2015-06-03 Thread Alessandro Zummo
On Mon, 1 Jun 2015 21:59:09 +0200 Alexandre Belloni wrote: > I feel that we still have a bit of time before having to hurry and find > a proper solution ;) agreed :) -- Best regards, Alessandro Zummo - CEO, Tower Technologies - Torino, Italy http://www.towertech.it -- To

Re: [5/5] drivers/rtc/sa1100: Replace deprecated rtc_tm_to_time() and rtc_time_to_tm()

2015-06-03 Thread Alessandro Zummo
On Mon, 1 Jun 2015 21:59:09 +0200 Alexandre Belloni alexandre.bell...@free-electrons.com wrote: I feel that we still have a bit of time before having to hurry and find a proper solution ;) agreed :) -- Best regards, Alessandro Zummo - CEO, Tower Technologies - Torino, Italy

Re: [5/5] drivers/rtc/sa1100: Replace deprecated rtc_tm_to_time() and rtc_time_to_tm()

2015-06-01 Thread Alexandre Belloni
Hi, On 01/06/2015 at 21:43:22 +0200, Arnd Bergmann wrote : > Note that Alexandre has stepped up as a new maintainer for RTC now, > so whatever he wants is probably the way it should be done. > I'm still quite new in that position and I didn't make my mind in a lot of different topics ;) > I

Re: [5/5] drivers/rtc/sa1100: Replace deprecated rtc_tm_to_time() and rtc_time_to_tm()

2015-06-01 Thread Arnd Bergmann
On Saturday 30 May 2015 18:05:10 pang.xun...@zte.com.cn wrote: > PangXunLei10110855/user/zte_ltd wrote 2015-05-29 PM 10:32:15: > > Alexandre Belloni wrote > > 2015-04-30 AM 07:28:24: > > > Re: [5/5] drivers/rtc/sa1100: Replace deprecated rtc_tm_to_time()

Re: [5/5] drivers/rtc/sa1100: Replace deprecated rtc_tm_to_time() and rtc_time_to_tm()

2015-06-01 Thread Arnd Bergmann
On Saturday 30 May 2015 18:05:10 pang.xun...@zte.com.cn wrote: PangXunLei10110855/user/zte_ltd wrote 2015-05-29 PM 10:32:15: Alexandre Belloni alexandre.bell...@free-electrons.com wrote 2015-04-30 AM 07:28:24: Re: [5/5] drivers/rtc/sa1100: Replace deprecated rtc_tm_to_time

Re: [5/5] drivers/rtc/sa1100: Replace deprecated rtc_tm_to_time() and rtc_time_to_tm()

2015-06-01 Thread Alexandre Belloni
Hi, On 01/06/2015 at 21:43:22 +0200, Arnd Bergmann wrote : Note that Alexandre has stepped up as a new maintainer for RTC now, so whatever he wants is probably the way it should be done. I'm still quite new in that position and I didn't make my mind in a lot of different topics ;) I think

Re: [5/5] drivers/rtc/sa1100: Replace deprecated rtc_tm_to_time() and rtc_time_to_tm()

2015-04-29 Thread Alexandre Belloni
Hi, On 15/04/2015 at 17:20:11 +0800, Xunlei Pang wrote : > From: Xunlei Pang > > The driver uses deprecated rtc_tm_to_time() and rtc_time_to_tm(), > which will overflow in year 2106 on 32-bit machines. > > This patch solves this by: > - Replacing rtc_tm_to_time() with rtc_tm_to_time64() > -

Re: [5/5] drivers/rtc/sa1100: Replace deprecated rtc_tm_to_time() and rtc_time_to_tm()

2015-04-29 Thread Alexandre Belloni
Hi, On 15/04/2015 at 17:20:11 +0800, Xunlei Pang wrote : From: Xunlei Pang pang.xun...@linaro.org The driver uses deprecated rtc_tm_to_time() and rtc_time_to_tm(), which will overflow in year 2106 on 32-bit machines. This patch solves this by: - Replacing rtc_tm_to_time() with

[PATCH 5/5] drivers/rtc/sa1100: Replace deprecated rtc_tm_to_time() and rtc_time_to_tm()

2015-04-15 Thread Xunlei Pang
From: Xunlei Pang The driver uses deprecated rtc_tm_to_time() and rtc_time_to_tm(), which will overflow in year 2106 on 32-bit machines. This patch solves this by: - Replacing rtc_tm_to_time() with rtc_tm_to_time64() - Replacing rtc_time_to_tm() with rtc_time64_to_tm() Cc: CIH Cc: Nicolas

[PATCH 5/5] drivers/rtc/sa1100: Replace deprecated rtc_tm_to_time() and rtc_time_to_tm()

2015-04-15 Thread Xunlei Pang
From: Xunlei Pang pang.xun...@linaro.org The driver uses deprecated rtc_tm_to_time() and rtc_time_to_tm(), which will overflow in year 2106 on 32-bit machines. This patch solves this by: - Replacing rtc_tm_to_time() with rtc_tm_to_time64() - Replacing rtc_time_to_tm() with rtc_time64_to_tm()