lkml.org 
[lkml]   [2009]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 29/41] ACPI: Fix compiler warnings introduced by 32 to 64 bit acpi conversions
    2.6.27-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Thomas Renninger <trenn@suse.de>

    commit: 27663c5855b10af9ec67bc7dfba001426ba21222 forgot to convert things at
    two prints.

    Cc: Matthew Wilcox <willy@linux.intel.com>
    Cc: Len Brown <len.brown@intel.com>
    Signed-off-by: Thomas Renninger <trenn@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/misc/intel_menlow.c | 2 +-
    drivers/pci/hotplug/acpiphp_ibm.c | 2 +-
    2 files changed, 2 insertions(+), 2 deletions(-)

    --- a/drivers/misc/intel_menlow.c
    +++ b/drivers/misc/intel_menlow.c
    @@ -104,7 +104,7 @@ static int memory_get_cur_bandwidth(stru
    if (ACPI_FAILURE(status))
    return -EFAULT;

    - return sprintf(buf, "%ld\n", value);
    + return sprintf(buf, "%lld\n", value);
    }

    static int memory_set_cur_bandwidth(struct thermal_cooling_device *cdev,
    --- a/drivers/pci/hotplug/acpiphp_ibm.c
    +++ b/drivers/pci/hotplug/acpiphp_ibm.c
    @@ -204,7 +204,7 @@ static int ibm_set_attention_status(stru
    err("APLS evaluation failed: 0x%08x\n", stat);
    return -ENODEV;
    } else if (!rc) {
    - err("APLS method failed: 0x%08lx\n", rc);
    + err("APLS method failed: 0x%08llx\n", rc);
    return -ERANGE;
    }
    return 0;


    \
     
     \ /
      Last update: 2009-02-04 20:05    [W:0.021 / U:59.384 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site