From patchwork Fri Nov 24 17:02:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TWljaGHFgiBNaXJvc8WCYXc=?= X-Patchwork-Id: 10074433 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 351696037F for ; Fri, 24 Nov 2017 17:07:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 202862A246 for ; Fri, 24 Nov 2017 17:07:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 139A72A271; Fri, 24 Nov 2017 17:07:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E89F02A246 for ; Fri, 24 Nov 2017 17:07:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751704AbdKXRHp (ORCPT ); Fri, 24 Nov 2017 12:07:45 -0500 Received: from 78-11-180-123.static.ip.netia.com.pl ([78.11.180.123]:58352 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750731AbdKXRHo (ORCPT ); Fri, 24 Nov 2017 12:07:44 -0500 X-Greylist: delayed 306 seconds by postgrey-1.27 at vger.kernel.org; Fri, 24 Nov 2017 12:07:44 EST Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 3yk2Yl3LVhz4w; Fri, 24 Nov 2017 18:02:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1511542956; bh=3d6GST7ze4EHbzuSHxT97ddS4YCUlK64FkDk7SpplQQ=; h=Date:From:Subject:To:Cc:From; b=dTRWZ4CorTIgU1/7ITTkZgxFFbWWIAAqw5nCT5dOoqhnPEknG82xINj/fOjomA0Jf +qzGk/RUTw2bZfkphR7K3ACuhXE7zIJBvbpyEEA9vYgD1S9cxRSmdRiMKdcK80891t 4/hUpONSv7vGpF0q3NYRxhotviVcmsJRlekkOBZl9NqLOHBf19P70QR4lhVFs8h5bP 5DXp529SG2K0Qb2j4PWicmgQ+kikquH1H6HCambI1w9f5seV1CehzsnLDYkPdC4s6C wkPwh5yLEKA54vH9vPX622/REeFIMS2Ha7x9X4+GAsmCEjPXdZ3PPLnkkKmp+IIeMJ QxJt6BN3aSnQA== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.99.2 at rere Date: Fri, 24 Nov 2017 18:02:35 +0100 Message-Id: <2a37c111d0ffed64653921fc405c7a17be64a41a.1511542918.git.mirq-linux@rere.qmqm.pl> From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= Subject: [PATCH] scsi: sd: add missing KERN_CONT for disk spin-up MIME-Version: 1.0 To: linux-scsi@vger.kernel.org Cc: "James E.J. Bottomley" , "Martin K. Petersen" Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP KERN_CONT is now required for continued printks(). Add it. Signed-off-by: Michał Mirosław --- drivers/scsi/sd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index d175c5c5ccf8..9743b5f0800d 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -2142,7 +2142,7 @@ sd_spinup_disk(struct scsi_disk *sdkp) } /* Wait 1 second for next try */ msleep(1000); - printk("."); + printk(KERN_CONT "."); /* * Wait for USB flash devices with slow firmware. @@ -2172,9 +2172,9 @@ sd_spinup_disk(struct scsi_disk *sdkp) if (spintime) { if (scsi_status_is_good(the_result)) - printk("ready\n"); + printk(KERN_CONT "ready\n"); else - printk("not responding...\n"); + printk(KERN_CONT "not responding...\n"); } }