net/e1000/base: fix build with gcc 6
authorMarkos Chandras <mchandras@suse.de>
Thu, 23 Jun 2016 09:25:52 +0000 (10:25 +0100)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 27 Jun 2016 15:03:30 +0000 (17:03 +0200)
commitd5e39d1ca460b149fc0cb2e09b044c1e48b434c2
tree0f31ef907a6846b4ceb53b491755ae39ad683349
parente9e54354790754a5739870a86a13d1d5624d49b3
net/e1000/base: fix build with gcc 6

Add the missing braces to the 'if' statements to fix the misleading
identation. This also fixes the following build errors when building
with gcc >= 6:

drivers/net/e1000/base/e1000_phy.c:4156:2:
error: this 'if' clause does not guard... [-Werror=misleading-indentation]
    if (locked)

drivers/net/e1000/base/e1000_phy.c:4158:3:
note: ...this statement, but the latter is misleadingly indented as if
it is guarded by the 'if'
    if (!ready)

drivers/net/e1000/base/e1000_phy.c:4221:2:
error: this 'if' clause does not guard... [-Werror=misleading-indentation]
    if (locked)

drivers/net/e1000/base/e1000_phy.c:4223:3:
note: ...this statement, but the latter is misleadingly indented as if
it is guarded by the 'if'
    if (!ready)

Signed-off-by: Markos Chandras <mchandras@suse.de>
drivers/net/e1000/base/e1000_phy.c