]> 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)
commit3cfcf6efbc114534e4429cf8f3738a17facab046
tree2b6edb12e1c890dd904e1627a6d7930715ee1c88
parent85b50f20eb2df634bc8667f6080f62cb7ac1197c
parentcec3b5c944a7166e72c0459079dd3184b2860c34
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>