Re: [PATCH 0/2] Remove VLA usage in rtc-s5m

2018-03-12 Thread Gustavo A. R. Silva
On 03/12/2018 07:35 PM, Alexandre Belloni wrote: Hi, On 10/03/2018 at 00:27:02 -0600, Gustavo A. R. Silva wrote: This patchset aims to remove VLA usage from rtc-s5m. The first patch moves an enum from rtc.h to rtc-s5m.c, as this is the only driver in which such enum is actually being used

Re: [PATCH 0/2] Remove VLA usage in rtc-s5m

2018-03-12 Thread Gustavo A. R. Silva
On 03/12/2018 07:35 PM, Alexandre Belloni wrote: Hi, On 10/03/2018 at 00:27:02 -0600, Gustavo A. R. Silva wrote: This patchset aims to remove VLA usage from rtc-s5m. The first patch moves an enum from rtc.h to rtc-s5m.c, as this is the only driver in which such enum is actually being used

Re: [PATCH 0/2] Remove VLA usage in rtc-s5m

2018-03-12 Thread Alexandre Belloni
Hi, On 10/03/2018 at 00:27:02 -0600, Gustavo A. R. Silva wrote: > This patchset aims to remove VLA usage from rtc-s5m. > > The first patch moves an enum from rtc.h to rtc-s5m.c, as this is the > only driver in which such enum is actually being used [1]. > > The second patch adds the enum name

Re: [PATCH 0/2] Remove VLA usage in rtc-s5m

2018-03-12 Thread Alexandre Belloni
Hi, On 10/03/2018 at 00:27:02 -0600, Gustavo A. R. Silva wrote: > This patchset aims to remove VLA usage from rtc-s5m. > > The first patch moves an enum from rtc.h to rtc-s5m.c, as this is the > only driver in which such enum is actually being used [1]. > > The second patch adds the enum name

[PATCH 0/2] Remove VLA usage in rtc-s5m

2018-03-09 Thread Gustavo A. R. Silva
This patchset aims to remove VLA usage from rtc-s5m. The first patch moves an enum from rtc.h to rtc-s5m.c, as this is the only driver in which such enum is actually being used [1]. The second patch adds the enum name RTC_MAX_NUM_TIME_REGS, which will be used as a maximum length to the current

[PATCH 0/2] Remove VLA usage in rtc-s5m

2018-03-09 Thread Gustavo A. R. Silva
This patchset aims to remove VLA usage from rtc-s5m. The first patch moves an enum from rtc.h to rtc-s5m.c, as this is the only driver in which such enum is actually being used [1]. The second patch adds the enum name RTC_MAX_NUM_TIME_REGS, which will be used as a maximum length to the current