提交 2c7d7724 编写于 作者: C Carolyn Wyborny 提交者: Jeff Kirsher

igb: Refix sparse warning in igb_get_i2c_client

This patch correctly resolves the sparse warnings found with this
function.
Signed-off-by: NCarolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: NAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
上级 199f6cca
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册