lkml.org 
[lkml]   [2010]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[184/197] [SCSI] mptctl : Remove printk which floods unnecessary messages to var/log/message
    2.6.32-stable review patch.  If anyone has any objections, please let us know.

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

    From: Kashyap, Desai <kashyap.desai@lsi.com>

    commit e39e145dfb78d4e20d89139d2576306b4279c126 upstream.

    Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
    Signed-off-by: James Bottomley <James.Bottomley@suse.de>
    Cc: maximilian attems <max@stro.at>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/message/fusion/mptctl.c | 5 +----
    1 file changed, 1 insertion(+), 4 deletions(-)

    --- a/drivers/message/fusion/mptctl.c
    +++ b/drivers/message/fusion/mptctl.c
    @@ -621,11 +621,8 @@ __mptctl_ioctl(struct file *file, unsign
    */
    iocnumX = khdr.iocnum & 0xFF;
    if (((iocnum = mpt_verify_adapter(iocnumX, &iocp)) < 0) ||
    - (iocp == NULL)) {
    - printk(KERN_DEBUG MYNAM "%s::mptctl_ioctl() @%d - ioc%d not found!\n",
    - __FILE__, __LINE__, iocnumX);
    + (iocp == NULL))
    return -ENODEV;
    - }

    if (!iocp->active) {
    printk(KERN_DEBUG MYNAM "%s::mptctl_ioctl() @%d - Controller disabled.\n",



    \
     
     \ /
      Last update: 2010-04-22 21:37    [W:0.029 / U:60.104 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site