commit | 199f6ccac11e93761ee24e35c621992c078fe76f | [log] [tgz] |
---|---|---|
author | Carolyn Wyborny <carolyn.wyborny@intel.com> | Wed Jan 23 03:43:01 2013 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Fri Feb 15 01:11:56 2013 -0800 |
tree | 2e84fda89293df2dd46542007fd86f724b01ee3c | |
parent | d3f8ef1169afb08976b4b1dafe7bc740f655d886 [diff] |
igb: Fix for improper allocation flag in igb_get_i2c_client This patch fixes the allocation function in igb_get_i2c_client to use GFP_ATOMIC instead of GFP_KERNEL because we have a spinlock. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>