Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c7d7724 authored by Carolyn Wyborny's avatar Carolyn Wyborny Committed by Jeff Kirsher
Browse files

igb: Refix sparse warning in igb_get_i2c_client



This patch correctly resolves the sparse warnings found with this
function.

Signed-off-by: default avatarCarolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 199f6cca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7727,7 +7727,7 @@ static DEFINE_SPINLOCK(i2c_clients_lock);
 *  @adapter: adapter struct
 *  @dev_addr: device address of i2c needed.
 */
struct i2c_client *
static struct i2c_client *
igb_get_i2c_client(struct igb_adapter *adapter, u8 dev_addr)
{
	ulong flags;