ib-rhashtable.c:90:17: error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

backports generate like this:

./gentree.py --verbose --clean --git-revision next-20170310
--copy-list copy-list.ath ~/linux-next/ ~/backports-output

When compile on 4.4 kernel I hit such error:

  CC [M]  /home/jdziedzx/backports-output/compat/backport-4.8.o
  CC [M]  /home/jdziedzx/backports-output/compat/lib-rhashtable.o
/home/jdziedzx/backports-output/compat/lib-rhashtable.c: In function
‘alloc_bucket_locks’:
/home/jdziedzx/backports-output/compat/lib-rhashtable.c:90:17: error:
implicit declaration of function ‘kvmalloc’
[-Werror=implicit-function-declaration]
    tbl->locks = kvmalloc(size * sizeof(spinlock_t), gfp);
                 ^
/home/jdziedzx/backports-output/compat/lib-rhashtable.c:90:15:
warning: assignment makes pointer from integer without a cast
[-Wint-conversion]
    tbl->locks = kvmalloc(size * sizeof(spinlock_t), gfp);
               ^
cc1: some warnings being treated as errors

Is there any fix for that?

-- 
Janusz Dziedzic
--
To unsubscribe from this list: send the line "unsubscribe backports" in




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux