commit | 0a41981803fcd4107fff4e943afb72940ba653d2 | [log] [tgz] |
---|---|---|
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | Mon Apr 29 00:16:14 2013 +0200 |
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | Tue Jul 30 15:46:18 2013 +0200 |
tree | 0874a8c79880ce2c0f6e13d6afb4fa9441b84aca | |
parent | 4e6b9319bce7a2be878d79bcbe2cb558b619b360 [diff] |
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 <stefanr@s5r6.in-berlin.de>