OSDN Git Service

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)
commit9b87d4651069a3ff72edc11f170f4729585ba828
treec512794d2d102e7b14d991472de8ec66c53207a4
parenta7288c4dd5094b3878b7ad817b0cd130a6f8e916
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