[PATCH] amdkfd: actually allocate longs for the pasid bitmask

2014-12-29 Thread Oded Gabbay
On 12/28/2014 06:44 PM, Sasha Levin wrote: > Commit "amdkfd: use sizeof(long) granularity for the pasid bitmask" calculated > the number of longs it will need, but ended up allocating that number of > bytes rather than longs. > > Fix that silly error and allocate the amount of data really require

[PATCH] amdkfd: actually allocate longs for the pasid bitmask

2014-12-28 Thread Sasha Levin
Commit "amdkfd: use sizeof(long) granularity for the pasid bitmask" calculated the number of longs it will need, but ended up allocating that number of bytes rather than longs. Fix that silly error and allocate the amount of data really required. Signed-off-by: Sasha Levin --- drivers/gpu/drm/a