lkml.org 
[lkml]   [2004]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    SubjectRe: [PATCH] PCI Update for 2.6.2-rc2
    Date
    From
    ChangeSet 1.1524, 2004/01/29 17:13:27-08:00, greg@kroah.com

    [PATCH] PCI: fix compiler warning in probe.c cause by PPC patch.


    drivers/pci/probe.c | 8 +++++---
    1 files changed, 5 insertions(+), 3 deletions(-)


    diff -Nru a/drivers/pci/probe.c b/drivers/pci/probe.c
    --- a/drivers/pci/probe.c Thu Jan 29 17:23:43 2004
    +++ b/drivers/pci/probe.c Thu Jan 29 17:23:43 2004
    @@ -628,11 +628,13 @@
    * If this is a single function device,
    * don't scan past the first function.
    */
    - if (!dev->multifunction)
    - if (func > 0)
    + if (!dev->multifunction) {
    + if (func > 0) {
    dev->multifunction = 1;
    - else
    + } else {
    break;
    + }
    + }
    } else {
    if (func == 0)
    break;
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:00    [W:2.351 / U:0.140 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site