Re: [PATCH V3] clocksource/drivers/arc: Convert init function to return error

2016-06-24 Thread Daniel Lezcano
On 06/24/2016 09:52 AM, Vineet Gupta wrote: On Friday 24 June 2016 12:11 PM, Daniel Lezcano wrote: Do you agree to move the driver to drivers/clocksource, so we can add the COMPILE_TEST option ? Sure, this will require some common header adjustments etc. After the current fire-drill I'm pulled

Re: [PATCH V3] clocksource/drivers/arc: Convert init function to return error

2016-06-24 Thread Vineet Gupta
On Friday 24 June 2016 12:11 PM, Daniel Lezcano wrote: > Do you agree to move the driver to drivers/clocksource, so we can add the > COMPILE_TEST option ? Sure, this will require some common header adjustments etc. After the current fire-drill I'm pulled into ATM, I'll work on it next week'ish !

Re: [PATCH V3] clocksource/drivers/arc: Convert init function to return error

2016-06-23 Thread Daniel Lezcano
On 06/24/2016 06:06 AM, Vineet Gupta wrote: On Friday 17 June 2016 03:39 PM, Daniel Lezcano wrote: The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly

Re: [PATCH V3] clocksource/drivers/arc: Convert init function to return error

2016-06-23 Thread Vineet Gupta
On Friday 17 June 2016 03:39 PM, Daniel Lezcano wrote: > The init functions do not return any error. They behave as the following: > > - panic, thus leading to a kernel crash while another timer may work and >make the system boot up correctly > > or > > - print an error and let the

Re: [PATCH V3] clocksource/drivers/arc: Convert init function to return error

2016-06-17 Thread Vineet Gupta
On Friday 17 June 2016 12:09 PM, Daniel Lezcano wrote: > The init functions do not return any error. They behave as the following: > > - panic, thus leading to a kernel crash while another timer may work and >make the system boot up correctly > > or > > - print an error and let the

[PATCH V3] clocksource/drivers/arc: Convert init function to return error

2016-06-17 Thread Daniel Lezcano
The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the state of the system Change that by converting t