Merge "mmc: card: Ratelimit the error log in mmc_blk_cmd_recovery()"

This commit is contained in:
Linux Build Service Account 2017-07-05 10:28:41 -07:00 committed by Gerrit - the friendly Code Review server
commit d3a27d6fc2

View file

@ -1701,7 +1701,7 @@ static int mmc_blk_cmd_recovery(struct mmc_card *card, struct request *req,
mmc_retune_recheck(card->host);
prev_cmd_status_valid = false;
pr_err("%s: error %d sending status command, %sing\n",
pr_err_ratelimited("%s: error %d sending status command, %sing\n",
req->rq_disk->disk_name, err, retry ? "retry" : "abort");
}