Subject: Re: [PATCH net-2.6.25] CAN: Fix plain integer definitions in userspace header & new CAN version 20071227

From: Oliver Hartkopp <[email-masked]>
Date: Fri, 28 Dec 2007 09:58:15 +0100

David Miller wrote:
> From: Oliver Hartkopp <[email-masked]>
> Date: Thu, 27 Dec 2007 21:14:57 +0100
>
>   
>> diff -uprN -X net-2.6.25/Documentation/dontdiff net-2.6.25/include/linux/can/bcm.h export/net2625-2007-12-27/include/linux/can/bcm.h
>> --- net-2.6.25/include/linux/can/bcm.h	2007-12-15 19:33:20.000000000 +0100
>> +++ export/net2625-2007-12-27/include/linux/can/bcm.h	2007-12-27 20:35:54.000000000 +0100
>>     
>
> Also, please properly root your patches in the future:
>
> davem@sunset:~/src/GIT/net-2.6.25$ git apply --check --whitespace=error-all diff
> error: net2625-2007-12-27/include/linux/can/bcm.h: No such file or directory
>
>   

I was just testing the patch with 'patch -p1 < ... ' but after your 
error message i recognized why my patch was faulty as the paths had a 
different root depth. Tnx for the hint. Such a mistake will not happen 
again.

Thanks,
Oliver