]> git.baikalelectronics.ru Git - kernel.git/commit
net: sctp: fix incorrect type in gfp initializer
authorDaniel Borkmann <dborkman@redhat.com>
Wed, 11 Jun 2014 16:19:32 +0000 (18:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 19:23:17 +0000 (12:23 -0700)
commit1da4813a35a73a5aef4444986420d78cac35c0a7
treec512794d2d102e7b14d991472de8ec66c53207a4
parent349992abc7c5b0f7b9efec7ebb794e7f68bed494
net: sctp: fix incorrect type in gfp initializer

This fixes the following sparse warning:

  net/sctp/associola.c:1556:29: warning: incorrect type in initializer (different base types)
  net/sctp/associola.c:1556:29:    expected bool [unsigned] [usertype] preload
  net/sctp/associola.c:1556:29:    got restricted gfp_t

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/associola.c