Re: [gentoo-dev] linux/dma-buf.h mysteriously missing

2017-03-30 Thread Matt Turner
On Thu, Mar 30, 2017 at 7:44 AM, Mike Gilbert  wrote:
> On Wed, Mar 29, 2017 at 1:51 PM, Matt Turner  wrote:
>> It's a bug that has since been fixed by kernel commit
>> 2220fc1ab363e6fab1f321430d69be17a8b92bd7 ("uapi: add missing install
>> of dma-buf.h"). The header was originally added in 4.10, and the fix
>> commit is in 4.11-rc1.
>>
>> I guess we just need to hack around it in sys-kernel/linux-headers-4.10.
>>
>
> git says the file was added in 4.6, not 4.10.

Yes, you are right. My mistake.



Re: [gentoo-dev] linux/dma-buf.h mysteriously missing

2017-03-30 Thread Kristian Fiskerstrand
On 03/30/2017 04:44 PM, Mike Gilbert wrote:
> On Wed, Mar 29, 2017 at 1:51 PM, Matt Turner  wrote:
>> It's a bug that has since been fixed by kernel commit
>> 2220fc1ab363e6fab1f321430d69be17a8b92bd7 ("uapi: add missing install
>> of dma-buf.h"). The header was originally added in 4.10, and the fix
>> commit is in 4.11-rc1.
>>
>> I guess we just need to hack around it in sys-kernel/linux-headers-4.10.
>>
> 
> git says the file was added in 4.6, not 4.10.
> 

That seems more consistent with the original posting, containing
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 6, 0) clause for definitions

-- 
Kristian Fiskerstrand
OpenPGP keyblock reachable at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] linux/dma-buf.h mysteriously missing

2017-03-30 Thread Mike Gilbert
On Wed, Mar 29, 2017 at 1:51 PM, Matt Turner  wrote:
> It's a bug that has since been fixed by kernel commit
> 2220fc1ab363e6fab1f321430d69be17a8b92bd7 ("uapi: add missing install
> of dma-buf.h"). The header was originally added in 4.10, and the fix
> commit is in 4.11-rc1.
>
> I guess we just need to hack around it in sys-kernel/linux-headers-4.10.
>

git says the file was added in 4.6, not 4.10.



Re: [gentoo-dev] linux/dma-buf.h mysteriously missing

2017-03-30 Thread Paweł Hajdan , Jr .
On 29/03/2017 19:51, Matt Turner wrote:
> It's a bug that has since been fixed by kernel commit
> 2220fc1ab363e6fab1f321430d69be17a8b92bd7 ("uapi: add missing install
> of dma-buf.h"). The header was originally added in 4.10, and the fix
> commit is in 4.11-rc1.
> 
> I guess we just need to hack around it in sys-kernel/linux-headers-4.10.

Thanks for the pointer!

I filed 

Paweł




signature.asc
Description: OpenPGP digital signature