[PATCH 2/3] drm/tegra: Correct idr_alloc() minimum id
Dmitry Osipenko
digetx at gmail.com
Sun May 14 13:02:23 UTC 2017
On 14.05.2017 14:53, Mikko Perttunen wrote:
> On 05/12/2017 10:00 PM, Dmitry Osipenko wrote:
>> The start = 0 is invalid and causes weird CDMA channel timeouts, presumably
>> some memory misuse/corruption is going on.
>
> What makes you think start = 0 is invalid? I can't see anything pointing to that
> in the idr code and there are many users in the kernel passing 0 as start.
>
Well, I can't see either. You are right that there are quite many others with 0
as a start, the 1 probably just masks the bug.
--
Dmitry
More information about the dri-devel
mailing list