Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934361AbcJZQ16 (ORCPT ); Wed, 26 Oct 2016 12:27:58 -0400 Received: from mail-sn1nam02on0074.outbound.protection.outlook.com ([104.47.36.74]:36164 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932642AbcJZQ07 (ORCPT ); Wed, 26 Oct 2016 12:26:59 -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 07/12] staging: fsl-mc: improve pr_* messages Date: Wed, 26 Oct 2016 11:20:29 -0500 Message-ID: <1477498834-30425-8-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: 131219728117003976;(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)(189002)(199003)(110136003)(47776003)(104016004)(50226002)(8666005)(4326007)(36756003)(5660300001)(50466002)(85426001)(92566002)(2950100002)(8936002)(2351001)(229853001)(87936001)(106466001)(6916009)(11100500001)(189998001)(626004)(86362001)(68736007)(7416002)(81156014)(76176999)(77096005)(5003940100001)(6666003)(356003)(105606002)(586003)(8676002)(15650500001)(48376002)(33646002)(69596002)(19580405001)(97736004)(50986999)(2906002)(19580395003)(81166006)(305945005)(7846002)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:CO2PR03MB2375;H:az84smr01.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD051;1:uqc1i0lIvhtOk97mC9vwPJFvkapOMbMNsUDEvNITPIzwEFYGPG5Jz86Rw0v6UhCud6sup4mYZChUQNQJwFtiUjismaEEdNFMbEP13Db6jaQUPTjBP7vi6g5bLiI4WjtQErKXARih+a+069Nn5GcDVZTt698B4bRWL2s1ebCieReaH4Q8+j1zcyXcYXE3dbqspZVkiyfMhfDE7EjiIgD2xU7T2/hNtC43h1lZzqmTJ8AUUXSu3SN9v3kT6KaGDeocaaj9n/5JtRFNivzMV5lmeyfhZzm8WOI7mOVvvMvoLlFAm/F9vz/mGf+ENTITNCP54kCLQtpyu4q8Rah6BpLjdMkqEtq5GzOm4YThnaX1Wjj3IanbzGgNa2QJoh0klDLu9SAb21qsIqAXN3u5eUQGnAB+Zd087BCw//lfnFzzPgEElRwnDdLDxC4dKmMyD5i7bk3LwdRfyyosW+WYYNxpTN2pqy0CNgv340TC4HJlHFhDynNTI6PRd1xXYO1KkIXPmbH1SC3sFlRO1MkOlV8OxD8mFqfduRNryeLTiQitotD01lTrmzcPUzjV8e3lW3UqzUN1S/nZV/hIP4YibZxIPI3Y3Skt5U4yIcMPNEuwf4Ala6rS9p8MoLHCmUrqMGEw4UQfFij0rlBkVNEji4GV2rfnFOH0/lXihW4Y2t9zx9UD1oFTp6/8Uopz8NTwSgFDv9M+kiZrLzReqBdli6LCvnleyRNVuwK7JuVQHSU77JI= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 3f0182b3-41e4-4e86-2912-08d3fdbce44f X-Microsoft-Exchange-Diagnostics: 1;CO2PR03MB2375;2:p8O11TMlvwWD+UbodNZipjAWTJQ+8v4/uLQgs7jJbnNhGUs7tTXwRXTPdRr5ZkXhrWXQx1RkUE+Wl040PgvEP/ltrJwBtBX1gJg00HsK//KYwarJ2pLvEF7nGD6IrONn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X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(13024025)(13018025)(13015025)(13023025)(13017025)(8121501046)(5005006)(10201501046)(3002001)(6055026);SRVR:CO2PR03MB2375;BCL:0;PCL:0;RULEID:(400006);SRVR:CO2PR03MB2375; X-Forefront-PRVS: 0107098B6C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CO2PR03MB2375;23:hf2EqZjmXSNRD9pu8IZ4kEfHcdJAeTMT2eTc+ODGn?= =?us-ascii?Q?cwNMOUyCHA1urfj7D2/kVCKpqYAwaA+E0CD2qAELP0asY1EOMlVm5ziExLe6?= =?us-ascii?Q?wOSnnzYZSxEu6DO+LUlrFf1Mv6DX/K2JrFHCD9sCohkRvmIHX3LoHQDngJN3?= =?us-ascii?Q?gHu1TrVbQ0rdDCIwOcujcgUdnx/pVzBhz7CHHAEVS1Oq95sXc3UGDFC4a2XK?= =?us-ascii?Q?W6R20SElJLJ5/yJH2ywZffqSNGlZb7zNFBMI7neilbqUF2CrHmyfubXU0Y44?= =?us-ascii?Q?pfQnJBHWMrWnu3OperHqHXXkvmF0dlC9GeabLzyYWkhFJYbVKMbuFDvZOKZR?= =?us-ascii?Q?pdC3aNrhgUevy3zkObeE84GvSip4ATz1VBS2h6rZkmsNFm+49HWKpeMZYEDd?= =?us-ascii?Q?T1YuZirY/RRfLYFe12MtiIwwRLc3Wp8XKwLPQ98JSWSGDRnghItODaZG9uF5?= =?us-ascii?Q?QA74g5KY33GwlvxXkDV1zsVDEt/qQhQPamAIO6MI57Uxpb1AAan6kt8yVjqr?= =?us-ascii?Q?K+N75MoLYkjS5eyCGnJaqvDM0Y0ft9tPvqaJx00K2LO0hxTm+NFX5FGEeMn8?= =?us-ascii?Q?EA9aNZpBS8JEmXaxSoSClMary+fRfSbN+/uzRi7MjF0MH1ZbaQmwc0l1sTlk?= =?us-ascii?Q?uMNDzx2t0GLtgEe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ero9cxjo+tZcDmsyiNYxbMppYZi7elacnPtlv4ggcxeIV;5:m5ovyOLogtwiWfZOP/UQ5o69gtZq4wYaLMm/CBJrzoEMl7NY+FAUGs5ovlc4DU1Ves/CWX+U8Wutjp9YcFKpHNBo/AeQJ1uJeu2ACzBA7mlNKNN89ChpQWLpxVMNEflGT+5eW7CZuTplLe/qs4oZg2Y7UaRbE3x+MALKopmaF/jeStZYV2Uu+qylM+wFI/e6;24:uOyFckKv41LOX/ciYrZt+235knDezFq9E1YeSL7KigqgmGau7MouzaeF9tUL/N4gOUTy0Eom9pBJPFtopsWmbBqGCz784kkWE1l2AQB3NVM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CO2PR03MB2375;7:Kpr+lLhRqUz6XmwQMYCBSY1DJ4EWnQvjH3UdJNuBVXxg7v0KbQXB84dnS/QfWfdi9QzR7IIxW2cjvZUkSPOaLeqKpIGZPdh5pkeYJrXkXs91Jf6fyS5j1WFMOJdqKcGp6gpolFr0RlkVXxYrdiAtIzTwoR02/1DzOABf2OBtB5rKSsrQ4GkvypKXpcqk5yrdiKxXuIYNDIiwxLTknGHhG9zn80ntopBpQdTH6pnwxghbaQ/UPTCa6770/NsEuKtDU63egdwkQNK7zCWPc699+EydvtVzVj/NVwXrB6e6Jj027cd32nppgbIJ30FHlRS6W0de3nGPbT3wci+U0b+hcD7UmROt/Ul1HH01npXa0dU= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2016 16:26:51.4351 (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: CO2PR03MB2375 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1262 Lines: 41 define pr_fmt so non dev_* messages will have an fsl-mc prefix and remove "fsl-mc" from messages where it would now be redundant 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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c index 44f64b6..245acbf 100644 --- a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c +++ b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c @@ -9,6 +9,8 @@ * warranty of any kind, whether express or implied. */ +#define pr_fmt(fmt) "fsl-mc: " fmt + #include #include #include @@ -875,11 +877,11 @@ static int __init fsl_mc_bus_driver_init(void) error = bus_register(&fsl_mc_bus_type); if (error < 0) { - pr_err("fsl-mc bus type registration failed: %d\n", error); + pr_err("bus type registration failed: %d\n", error); goto error_cleanup_cache; } - pr_info("fsl-mc bus type registered\n"); + pr_info("bus type registered\n"); error = platform_driver_register(&fsl_mc_bus_driver); if (error < 0) { -- 1.9.0