Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1342820pxf; Fri, 19 Mar 2021 05:16:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaH+z6MUmKRUMrQlrjTfLRy0cZRYr/rgr8bP7tIpVKv7zM/ICuSzNv1heAEaqZ5Pa1vBAQ X-Received: by 2002:a05:6402:b2a:: with SMTP id bo10mr8967101edb.144.1616156199026; Fri, 19 Mar 2021 05:16:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616156199; cv=none; d=google.com; s=arc-20160816; b=JXoR1lo2IpOgQr6JzOmAPbNI1AQzOp9DC9sT9wlNrCSz2M0oRhqOjyPknTaYQtfkpK zd8/Yv054t9JFaNQF6T/8U1Sj4BIPSA39dww16QV6kxmCYZYRvXrpYuSMErBaWuhCfYG iWyl+XJeXD1TVb6Ht80IGDlPppGdHDiav6ltAiWChieSISAL5/eFUXUczIHdhRzZX9Ms 86CRRSgoZbkXda9qZ92iQWNws/g7pg1QaVdO2oS5VMs/Dt1FOH4pUCmZkfsxjQpKgUuz aSihTi6Orp+TXUR27Hzv3U9nZjGzD4ycO+khZdEXU134uMsNnfZEynl03JmhZq4jmIER EcNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PnDxUXsKC4qY+dPZkGqCewjoeMfEY94qE2nYfRH4nao=; b=ANT/CcdK0cz9jBV/5GYr1PTGoWKFXLA2xSU/j2jsTUTyT3gaW9tb1mbpE8B0xEXb43 hKVuKPTn1EdGYXiATS2we082oTW19/0uofQKRl6iiPT4X1TtNnlgFrVl9R/PPWmca1ic /V2dG5DpZtRHJ4CYMAz6PF/JzacLF09NS/DU1TWIivSH9LB7BB45xTESJsLiJEYLxhms qcxoE/zAo6BdWcsbFswv4ZwYbIepegVnKcmlvLKQw+0XuykVjaWbK57rCLhYDKtgZZuK GNqFEzzmu45Ic6Amjoghnpf8qxrDeuncgl0UjiOMlgTJXYxa9iVym+hjnXLhrXb7M3IW 9Stw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cnwDTgfR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q6si3651688ejn.153.2021.03.19.05.16.16; Fri, 19 Mar 2021 05:16:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cnwDTgfR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229908AbhCSMOm (ORCPT + 99 others); Fri, 19 Mar 2021 08:14:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229634AbhCSMOJ (ORCPT ); Fri, 19 Mar 2021 08:14:09 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97E58C06174A; Fri, 19 Mar 2021 05:14:08 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id bf3so10504509edb.6; Fri, 19 Mar 2021 05:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PnDxUXsKC4qY+dPZkGqCewjoeMfEY94qE2nYfRH4nao=; b=cnwDTgfRyXdOcXpbKuesk1hT98jvzkBv2t3XuG/qNVqfEYkn+Rp+2nsDxv3YIzXUGo ME/nh0MnpOr13ixUYjMf2v0+X0BarJXt7BkoREum0NrMrgq/pKBcZVGrGs7ns1h0rxfF 8C14XvBiYQ/1htDqzrXSY6UrejShnouJPZQBt/5yp08tXJ3FDyZ4WUrWhhsdM39+W4lx 9NWPTE5cWZKyEUd/y85U+No5vYGglpUQ/IstwZLoYCucTqECqQwOe4l5Iwyxi2HpQiS4 ulA8dPrC2mDkQjDUjsP6666iVsFNrmAVnMpFw6uWq20YsHFh8IxBSJnwnbZZWd6NbSkQ AZCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PnDxUXsKC4qY+dPZkGqCewjoeMfEY94qE2nYfRH4nao=; b=d8x9gKCjAwt3eshM1/dMU3WOH/E6vb/x+wWnuXvsHayEkzt3iptr1J6PxlQfkI0idN XzLceGkBAnRgjk6vmykDWrqeEORDJfbPFQ18yU0VKvdhkzpa+i5X42hBNhw25i59BZXl d9QRUzgivX8HrZc7vxaXaO+JcyHJpzNxnNeGfDzqI3USN7KUQMCUkjjYqKM7WaFLiz6S adZsNs8j/aKl37uj19BSTYiyQMWlhv4OgTLdiKl5/JH0J2yiuhEvQtqvj/JuPXUKi8Vr vfqOcP4YbRyR98QZUxhO1CrL0jd5Jra+SxZTo1iS63SA7DRzt5qzaATKtW7n1XHFlwpA 0/cA== X-Gm-Message-State: AOAM532RmkU0ytIqswPFwonIKquxDQFGTcLRZMptQlSn7nppWWRnwtqM +53nMg878To77+SBrQmaWp8= X-Received: by 2002:aa7:c3c4:: with SMTP id l4mr8987905edr.335.1616156047376; Fri, 19 Mar 2021 05:14:07 -0700 (PDT) Received: from localhost.localdomain (ip5f5bec5d.dynamic.kabel-deutschland.de. [95.91.236.93]) by smtp.gmail.com with ESMTPSA id q2sm919353eje.24.2021.03.19.05.14.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Mar 2021 05:14:07 -0700 (PDT) From: Bean Huo To: rric@kernel.org, ulf.hansson@linaro.org, linus.walleij@linaro.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: beanhuo@micron.com Subject: [PATCH v1 1/2] mmc: cavium: Use '"%s...", __func__' to print function name Date: Fri, 19 Mar 2021 13:13:56 +0100 Message-Id: <20210319121357.255176-2-huobean@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210319121357.255176-1-huobean@gmail.com> References: <20210319121357.255176-1-huobean@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bean Huo Use preferred way '"%s...", __func__' to print function name. Signed-off-by: Bean Huo --- drivers/mmc/host/cavium.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mmc/host/cavium.c b/drivers/mmc/host/cavium.c index 4bb8f2800a2b..95a41983c6c0 100644 --- a/drivers/mmc/host/cavium.c +++ b/drivers/mmc/host/cavium.c @@ -656,8 +656,7 @@ static void cvm_mmc_dma_request(struct mmc_host *mmc, if (!mrq->data || !mrq->data->sg || !mrq->data->sg_len || !mrq->stop || mrq->stop->opcode != MMC_STOP_TRANSMISSION) { - dev_err(&mmc->card->dev, - "Error: cmv_mmc_dma_request no data\n"); + dev_err(&mmc->card->dev, "Error: %s no data\n", __func__); goto error; } -- 2.25.1