Re: [DIGImend-devel] Tablet diagnostics
Brought to you by:
spb_nick
|
From: Nikolai K. <sp...@gm...> - 2015-03-29 16:49:59
|
Hi Andrea, On 03/24/2015 05:58 PM, Andrea Fubini wrote: > I tried to compile DIGImend drivers, but make found an error in > hid-huion.c . Have you any advise? > > Thanks. > Andrea > > stambecco digimend-kernel-drivers-5 # make > make -C /lib/modules/3.11-2-486/build > SUBDIRS=/home/andrea/Downloads/digimend-kernel-drivers-5 modules > make[1]: Entering directory `/usr/src/linux-headers-3.11-2-486' > CC [M] /home/andrea/Downloads/digimend-kernel-drivers-5/hid-huion.o > /home/andrea/Downloads/digimend-kernel-drivers-5/hid-huion.c: In > function ‘huion_tablet_enable’: > /home/andrea/Downloads/digimend-kernel-drivers-5/hid-huion.c:179:2: > error: implicit declaration of function ‘devm_kmalloc’ > [-Werror=implicit-function-declaration] > drvdata->rdesc = devm_kmalloc(&hdev->dev, > ^ > /home/andrea/Downloads/digimend-kernel-drivers-5/hid-huion.c:179:17: > warning: assignment makes pointer from integer without a cast [enabled > by default] > drvdata->rdesc = devm_kmalloc(&hdev->dev, Ah, yes this is an unfortunate bug in the v5 release regarding older kernel support. Please use this archive, which is v5 with the fix for the above applied: https://github.com/DIGImend/digimend-kernel-drivers/archive/200f0d2b2e4f3435e83372fab8ec7477dc9987b6.zip Nick |