Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755026AbcJZQ2k (ORCPT ); Wed, 26 Oct 2016 12:28:40 -0400 Received: from mail-sn1nam01on0088.outbound.protection.outlook.com ([104.47.32.88]:60550 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932471AbcJZQ0y (ORCPT ); Wed, 26 Oct 2016 12:26:54 -0400 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;nxp.com; dkim=none (message not signed) header.d=none; From: Stuart Yoder To: CC: , , , , , , , , Stuart Yoder Subject: [PATCH v2 08/12] staging: fsl-mc: improve message clarity by adding __func__ Date: Wed, 26 Oct 2016 11:20:30 -0500 Message-ID: <1477498834-30425-9-git-send-email-stuart.yoder@nxp.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1477498834-30425-1-git-send-email-stuart.yoder@nxp.com> References: <1477498834-30425-1-git-send-email-stuart.yoder@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131219728122043459;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.158.2;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(8936002)(81166006)(7416002)(33646002)(8666005)(81156014)(50986999)(8676002)(586003)(77096005)(47776003)(69596002)(76176999)(2351001)(110136003)(6916009)(5003940100001)(229853001)(2950100002)(626004)(50226002)(106466001)(11100500001)(68736007)(48376002)(50466002)(97736004)(104016004)(36756003)(4326007)(105606002)(2906002)(87936001)(7846002)(6666003)(5660300001)(356003)(15650500001)(85426001)(189998001)(305945005)(19580395003)(92566002)(86362001)(19580405001)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:CO2PR03MB2373;H:az84smr01.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11OLC001;1:JY/qfiQqrU2bcaxcqHksKWezsgRvqLGaOuXS0sW7dd1J7K4At+zFP+DPwLMu76ICMm9J+0Qu1OOphHQEwf7Tz3/WQvv7CMnAWSKuZd2taQHNn6DMl+FlbNyV7KDEgwfnSxLsiaL2WIOre043QrwoLIqGqyqzzwKM6aYIvHX0Umx7Gz+9G71IDZuVZv4GHpTmBZVMpKd1f482wWKl1G1FRcmjECL6knwRPuC4NfklZtfDeIX5QZtHKYxHwtLbYnmGUN/vwU2kg82pP+gHi1QkpavVC/BGZx8qvBwO9sZaMq+Hr1QShAibjHNAvLLgPDVhqZhVvo3/ikOp8jpTZzzgZVeuHqERyekcOVUJzlmX42OXmG7uCGHbKRszz8VFTqN9HV+z5TTAO7sHJNb0oFwa3owe8EFAx5SAzBt2l5B5CkZvf0vSLOQCyjVqyX4iMXa5KI5kIIPF6yLm2wRsIx6L938BnidDcF6V18APwTSCzyZVLAq0WIiZSVPqwnlvzEPAEs2z+2Elvimuhmxwrrcn/gqDURV5/DAAt/2s5PdwrGFxsTCbHmQzFj7C+vSE3l4DHP48Y8PSQPaeOmko1BGtI2NbLbe/ieGvOqtsVZu7+SnCsyvkRsZzDOCFOO1Gp34+0jhUmKfvfnmf/RPjJKl9UzlTNji8Ky6HFo8umuGnRIb01sv3i4r4XiPc1zVfFUkyJRNkpM9vd0FSxlnr3WXl7vzdee7Bgge5G3GrVy79L2e4UNbF1cm+vn/ac3TNDsqGDJZvZUxXHLh6ABmZRRvCTQ== MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 7eb6a908-59f8-46f8-d14b-08d3fdbce4a0 X-Microsoft-Exchange-Diagnostics: 1;CO2PR03MB2373;2:i2EquIOiHGtu2Kz/Ngkxxoz568RpaKtqEDh9nT/vSyrOuvMP9jBm8s+X3yDErM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kKbW4SfdUEqZTeiseH5eKRmTxCSTap832cim3s0ti X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(13015025)(13024025)(13023025)(13018025)(5005006)(13017025)(8121501046)(3002001)(10201501046)(6055026);SRVR:CO2PR03MB2373;BCL:0;PCL:0;RULEID:(400006);SRVR:CO2PR03MB2373; X-Forefront-PRVS: 0107098B6C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CO2PR03MB2373;23:jA7cV4+cSgEUUeyKHwTjGoeQBMtNXfYPjHIP8xu2k?= =?us-ascii?Q?0mD8skPeMIHRa665Btqg8WsiUc0pY9hicvDXNyUnHMMMBiDPfkfWj4IF3UM7?= =?us-ascii?Q?bcZk1BMx/W6J8KkGhuCpQEyRrBq/AVTCr6OFq0k08HF0lrxR1rDvTFpMPq2U?= =?us-ascii?Q?JcZdTB80GK5o/Otkj74Sff/qvvC9bR/fSECw5tFhRKBHXh8XjSDNMPgSweo4?= =?us-ascii?Q?xBXsiUnLhbiYwj7atzJEWajRbrSgs6djrCWANdb4wbGkwirAsO6E7iEPSl0g?= =?us-ascii?Q?JxLxZCjsFwlnLhFaNFR7Iml7vxUbgScyLpfv8LQ028KZUlujplgDeoQSgYWj?= =?us-ascii?Q?mw+hI6IL7eLD5jmHyYZyv7/7Z1pWfKJsSnMdkXNXNce0SAzpbdm9eN0D9wu4?= =?us-ascii?Q?I4qNWnFh7FeibWZL79vmL057Bu5Ccg/91opYtH+m2OU3Cd1ias989hhkGmpy?= =?us-ascii?Q?SF0hpfEX7f+saDXbQXVx5Tl1o3SWSgXF48T4ZemyV5hqDcdaCKcYPl3cw7M6?= =?us-ascii?Q?MVsQSXE4+M2rUnywiJC8GHjGUgPObeMflhpN8TbhVjyE4R72YdBLefEJYB5K?= =?us-ascii?Q?aaour1nbo7x/mJdC4KbZSEhIp4q2CpCGIsAJKc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kDLbIhBq95OqvOLlIeL1EOSEn067ie0zQSj0oK/zt15MdOZW5Jl4euwEGjujPjcMdakIOhvAwJqHm7j2FcY8FDB8Ul8Xuf9TxUr1W9S;5:blmShHk5ct0Svjr2T8BzwkdngmxJPY3RWWhHzcx3TEjo6YwCM0B5qqAikiv1ztAieMIzGk/Whn+AldCa+kPL0cYtec4ZnjgafBQKXUtcRpLcv1J3D7S1lDV+6DJn6foEzKb1Zi9NPLKAAWYdMm+6x14kUZplYxxvKLudlKDsxIFJLuZZZh1GXT14GZbbJX3z;24:Zca7MNkl7ZbQjtviPkP+pXQwdXkIekERQNXNORmo2PX+teQ+PE/Ws2snUEAddC121f/arxxL+DE9GJnOHUrrfaXtXTKX4jRKI3q1FLLlZZ4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CO2PR03MB2373;7:gUEyxhHotE0uHj4S/HmJyies13W7bxDQuoKjpR1H2dfW8KhXtuJWyHNTrStnMVP7pZM7ofQEuDDoyffPHzSF7a9FjzyggyGeNOVBQb6GjZ9rTFazbRtLr6/nRFaDOPXv0KMrXS19Mlv0D4Tat+qjunaEUuOjnrsyJRWAwWN9n1S9a9hnn16L+iq5e06cIERYp3zIg2U2KhCu6C3sRlkvaznpuW/Ecx1AxHkhGZUrr6D7X4BLZY6Miydub633zc6fIDlT6ifLJ64uZihvjr6thxtjv4cxaYQgCJ5TOfOdsxUOUvzCaAvCMy2A631smhMPgdZFXb7VZVbLtbtc93ofCNRB3Q17PWT5EE+OH3iekas= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2016 16:26:51.9703 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.158.2];Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR03MB2373 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1125 Lines: 39 clarify some error messages by printing the actual function name involved Signed-off-by: Stuart Yoder --- -v2 -patch is result of split of original patch, updated commit messasge to reflect the change drivers/staging/fsl-mc/bus/fsl-mc-bus.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c index 245acbf..5267c503 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c +++ b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c @@ -166,8 +166,7 @@ static int fsl_mc_driver_probe(struct device *dev) error = mc_drv->probe(mc_dev); if (error < 0) { - dev_err(dev, "MC object device probe callback failed: %d\n", - error); + dev_err(dev, "%s failed: %d\n", __func__, error); return error; } @@ -185,9 +184,7 @@ static int fsl_mc_driver_remove(struct device *dev) error = mc_drv->remove(mc_dev); if (error < 0) { - dev_err(dev, - "MC object device remove callback failed: %d\n", - error); + dev_err(dev, "%s failed: %d\n", __func__, error); return error; } -- 1.9.0