lkml.org 
[lkml]   [2009]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 80/96] hwmon: (f71882fg) Hide misleading error message
    2.6.27-stable review patch.  If anyone has any objections, please let us know.

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

    From: Jean Delvare <khali@linux-fr.org>

    commit 603eaa1bdd3e0402085e815cc531bb0a32827a9e upstream

    If the F71882FG chip is at address 0x4e, then the probe at 0x2e will
    fail with the following message in the logs:
    f71882fg: Not a Fintek device

    This is misleading because there is a Fintek device, just at a
    different address. So I propose to degrade this message to a debug
    message.

    Signed-off-by: Jean Delvare <khali@linux-fr.org>
    Acked-by: Hans de Goede <hdegoede@redhat.com>


    ---
    drivers/hwmon/f71882fg.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/hwmon/f71882fg.c
    +++ b/drivers/hwmon/f71882fg.c
    @@ -837,7 +837,7 @@ static int __init f71882fg_find(int sioa

    devid = superio_inw(sioaddr, SIO_REG_MANID);
    if (devid != SIO_FINTEK_ID) {
    - printk(KERN_INFO DRVNAME ": Not a Fintek device\n");
    + pr_debug(DRVNAME ": Not a Fintek device\n");
    goto exit;
    }




    \
     
     \ /
      Last update: 2009-03-14 01:51    [W:0.020 / U:1.052 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site