]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'qlge'
authorDavid S. Miller <davem@davemloft.net>
Mon, 22 Sep 2014 18:35:36 +0000 (14:35 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Sep 2014 18:35:36 +0000 (14:35 -0400)
commit7096c523754735f1e588023bec9bf545cda8355b
tree2b6edb12e1c890dd904e1627a6d7930715ee1c88
parent59d62b7037010c9d569297ea3eb322349eef9030
parent825823e82ad75a29aa99f7debedd2a0f56651fee
Merge branch 'qlge'

Harish Patil says:

====================
qlge: Fix compilation warning and update maintainers

This patch series includes the following set of patches:

- Fix the below warning message:
  qlge_main.c:1754: warning: 'lbq_desc' may be used uninitialized in this function

I have made changes according to your earlier feedback:

"Please fix this differently.  The problem is that the compiler can't see that
you've done the !length check at the top of the function, so when it later
sees the while (length > 0) loop, it doesn't know that this loop will always
execute at least once. Just change that loop to a do { } while() loop and
the compiler will be able to see everything."

- Update qlge driver maintainers list
====================

Signed-off-by: David S. Miller <davem@davemloft.net>