From patchwork Wed Sep 17 07:50:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Rudholm X-Patchwork-Id: 4923011 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A29DBBEEA5 for ; Wed, 17 Sep 2014 07:50:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D775F2011D for ; Wed, 17 Sep 2014 07:50:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 63B8F200FF for ; Wed, 17 Sep 2014 07:50:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751517AbaIQHuz (ORCPT ); Wed, 17 Sep 2014 03:50:55 -0400 Received: from bastet.se.axis.com ([195.60.68.11]:60877 "EHLO bastet.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751506AbaIQHuz (ORCPT ); Wed, 17 Sep 2014 03:50:55 -0400 Received: from localhost (localhost [127.0.0.1]) by bastet.se.axis.com (Postfix) with ESMTP id 2068118083; Wed, 17 Sep 2014 09:50:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bastet.se.axis.com Received: from bastet.se.axis.com ([IPv6:::ffff:127.0.0.1]) by localhost (bastet.se.axis.com [::ffff:127.0.0.1]) (amavisd-new, port 10024) with LMTP id bIBLx2RL24ei; Wed, 17 Sep 2014 09:50:47 +0200 (CEST) Received: from boulder.se.axis.com (boulder.se.axis.com [10.0.2.104]) by bastet.se.axis.com (Postfix) with ESMTP id DA68B180BF; Wed, 17 Sep 2014 09:50:47 +0200 (CEST) Received: from boulder.se.axis.com (localhost [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id 690CC1070; Wed, 17 Sep 2014 09:50:47 +0200 (CEST) Received: from seth.se.axis.com (seth.se.axis.com [10.0.2.172]) by boulder.se.axis.com (Postfix) with ESMTP id 5D7721020; Wed, 17 Sep 2014 09:50:47 +0200 (CEST) Received: from lnxjohanru.se.axis.com (lnxjohanru.se.axis.com [10.88.79.1]) by seth.se.axis.com (Postfix) with ESMTP id 5B1D43E048; Wed, 17 Sep 2014 09:50:47 +0200 (CEST) Received: by lnxjohanru.se.axis.com (Postfix, from userid 21233) id 57C3F9A05D; Wed, 17 Sep 2014 09:50:47 +0200 (CEST) From: Johan Rudholm To: ulf.hansson@linaro.org, cjb@laptop.org Cc: linux-mmc@vger.kernel.org, Johan Rudholm Subject: [PATCH] mmc: block: change stop errors to info Date: Wed, 17 Sep 2014 09:50:42 +0200 Message-Id: <1410940242-2792-1-git-send-email-johanru@axis.com> X-Mailer: git-send-email 1.7.2.5 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Stop command errors are not fatal to the transfer since we make sure that the card returns to the transfer state and check the card status. Change an unnecessary error to an info. Signed-off-by: Johan Rudholm --- drivers/mmc/card/block.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index 452782b..fea0376 100644 --- a/drivers/mmc/card/block.c +++ b/drivers/mmc/card/block.c @@ -977,7 +977,7 @@ static int mmc_blk_cmd_recovery(struct mmc_card *card, struct request *req, return ERR_CONTINUE; /* Now for stop errors. These aren't fatal to the transfer. */ - pr_err("%s: error %d sending stop command, original cmd response %#x, card status %#x\n", + pr_info("%s: error %d sending stop command, original cmd response %#x, card status %#x\n", req->rq_disk->disk_name, brq->stop.error, brq->cmd.resp[0], status);