Re: of_reserved_mem_device_init_by_idx() returns -EINVAL if "memory-region" is missing

2016-06-16 Thread Alexey Brodkin
Hi Marek, On Fri, 2016-06-17 at 07:28 +0200, Marek Szyprowski wrote: > Hi Alexey > > > On 2016-06-16 18:47, Alexey Brodkin wrote: > > > > Hi Marek, > > > > We used to use of_reserved_mem_device_init() in such a context in GPU > > drivers: > > >8--- > >

kisskb: FAILED linux-next/axs101_defconfig/arcompact Fri Jun 17, 15:58

2016-06-16 Thread noreply
FAILED linux-next/axs101_defconfig/arcompact Fri Jun 17, 15:58 http://kisskb.ellerman.id.au/kisskb/buildresult/12719853/ Commit: Add linux-next specific files for 20160617 ce24ed9ec7532bc79485f23dff59923c0271f6d3 Compiler: arc-buildroot-linux-uclibc-gcc (Buildroot 2015.08.1) 4.8.4 Po

Re: of_reserved_mem_device_init_by_idx() returns -EINVAL if "memory-region" is missing

2016-06-16 Thread Marek Szyprowski
Hi Alexey On 2016-06-16 18:47, Alexey Brodkin wrote: Hi Marek, We used to use of_reserved_mem_device_init() in such a context in GPU drivers: >8--- /* Get the optional framebuffer memory resource */ ret = of_reserved_mem_device_init(drm->dev)

[PATCH V2 61/63] clocksource/drivers/arc: Convert init function to return error

2016-06-16 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

of_reserved_mem_device_init_by_idx() returns -EINVAL if "memory-region" is missing

2016-06-16 Thread Alexey Brodkin
Hi Marek, We used to useĀ of_reserved_mem_device_init() in such a context in GPU drivers: >8--- /* Get the optional framebuffer memory resource */ ret = of_reserved_mem_device_init(drm->dev); if (ret && ret != -ENODEV) retu