All of lore.kernel.org
 help / color / mirror / Atom feed
* ib-rhashtable.c:90:17: error
@ 2017-03-29  8:04 Janusz Dziedzic
  2017-03-29  8:19 ` Johannes Berg
  0 siblings, 1 reply; 3+ messages in thread
From: Janusz Dziedzic @ 2017-03-29  8:04 UTC (permalink / raw)
  To: backports

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
=E2=80=98alloc_bucket_locks=E2=80=99:
/home/jdziedzx/backports-output/compat/lib-rhashtable.c:90:17: error:
implicit declaration of function =E2=80=98kvmalloc=E2=80=99
[-Werror=3Dimplicit-function-declaration]
    tbl->locks =3D 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 =3D kvmalloc(size * sizeof(spinlock_t), gfp);
               ^
cc1: some warnings being treated as errors

Is there any fix for that?

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-29  8:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-29  8:04 ib-rhashtable.c:90:17: error Janusz Dziedzic
2017-03-29  8:19 ` Johannes Berg
2017-03-29  8:33   ` 吳重毅

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.