From: Stefan Richter Date: Sun, 28 Apr 2013 22:16:14 +0000 (+0200) Subject: firewire: core: typecast from gfp_t to bool more safely X-Git-Tag: v3.12-rc1~83^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a41981803fcd4107fff4e943afb72940ba653d2;p=pandora-kernel.git firewire: core: typecast from gfp_t to bool more safely An idr related patch introduced the following sparse warning: drivers/firewire/core-cdev.c:488:33: warning: incorrect type in initializer (different base types) drivers/firewire/core-cdev.c:488:33: expected bool [unsigned] [usertype] preload drivers/firewire/core-cdev.c:488:33: got restricted gfp_t So let's convert from gfp_t bitfield to Boolean explicitly and safely. Signed-off-by: Stefan Richter --- Reading git-diff-tree failed