lkml.org 
[lkml]   [2016]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] s390/dasd: add missing \n to end of dev_err messages
    Date
    From: Colin Ian King <colin.king@canonical.com>

    Trival fix, dev_err messages are missing a \n, so add it.

    Signed-off-by: Colin Ian King <colin.king@canonical.com>
    ---
    drivers/s390/block/dasd_erp.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/s390/block/dasd_erp.c b/drivers/s390/block/dasd_erp.c
    index e1e8848..d138d01 100644
    --- a/drivers/s390/block/dasd_erp.c
    +++ b/drivers/s390/block/dasd_erp.c
    @@ -169,12 +169,12 @@ dasd_log_sense(struct dasd_ccw_req *cqr, struct irb *irb)
    device = cqr->startdev;
    if (cqr->intrc == -ETIMEDOUT) {
    dev_err(&device->cdev->dev,
    - "A timeout error occurred for cqr %p", cqr);
    + "A timeout error occurred for cqr %p\n", cqr);
    return;
    }
    if (cqr->intrc == -ENOLINK) {
    dev_err(&device->cdev->dev,
    - "A transport error occurred for cqr %p", cqr);
    + "A transport error occurred for cqr %p\n", cqr);
    return;
    }
    /* dump sense data */
    --
    2.9.3
    \
     
     \ /
      Last update: 2016-09-27 21:14    [W:3.085 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site