Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933666AbcKOMi4 (ORCPT ); Tue, 15 Nov 2016 07:38:56 -0500 Received: from mail-sn1nam01on0076.outbound.protection.outlook.com ([104.47.32.76]:30944 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751359AbcKOMix (ORCPT ); Tue, 15 Nov 2016 07:38:53 -0500 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; imgtec.com; dkim=none (message not signed) header.d=none;imgtec.com; dmarc=bestguesspass action=none header.from=xilinx.com; X-IncomingTopHeaderMarker: OriginalChecksum:;UpperCasedChecksum:;SizeAsReceived:1787;Count:20 Subject: Re: [Patch v7 2/7] irqchip: xilinx: clean up print messages To: Zubair Lutfullah Kakakhel , , , , References: <20161114121351.10924-1-Zubair.Kakakhel@imgtec.com> <20161114121351.10924-3-Zubair.Kakakhel@imgtec.com> CC: , , , From: Michal Simek Message-ID: <80c03a8a-d204-2013-8396-7bbbe72316ce@xilinx.com> Date: Tue, 15 Nov 2016 13:23:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161114121351.10924-3-Zubair.Kakakhel@imgtec.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22700.004 X-TM-AS-User-Approved-Sender: Yes;Yes X-IncomingHeaderCount: 20 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(24454002)(31686004)(305945005)(77096005)(8936002)(33646002)(50986999)(65806001)(626004)(36756003)(81156014)(50466002)(229853002)(92566002)(31696002)(54356999)(4326007)(83506001)(65956001)(47776003)(356003)(7846002)(87936001)(230700001)(63266004)(2950100002)(76176999)(106466001)(81166006)(6666003)(86362001)(2906002)(9786002)(2201001)(4001350100001)(36386004)(5660300001)(5001770100001)(64126003)(65826007)(23746002)(8676002)(189998001)(107986001);DIR:OUT;SFP:1101;SCL:1;SRVR:CO1PR02MB016;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;PTR:unknown-60-83.xilinx.com;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;CY1NAM02FT062;1:PxkpuHMRRBmpAU5sjKoagrTcutH4btHhir+kIltAoHJDeJq1ah3NX9mgCJGkFh4CeC91M9UJdTEq1W5jPNLtVoNkBP8SBphS0uY3JU0bleGamCZlOUq+ZfzxbNw7Aqzf3gVE7bfnD7H1wySSOa2WZ9mlhkfGKtaIEyclF3UKVur2r366xZLQploxOJwL2AfSQh4ylZi5mJhFg5SsGFSDcUCcV59nUO54iF9yqQ2EpKspfgxqzyFzDtUIkNPPCOLC5wFS2PG8CBn4BjjFZo4805/VS/YYwINR0fgDH/OqTqXhkdkKrx6/QaJ6PHr0jYhSnBn++gFCq9KycZ4pO3/1kgCYNW7/p5Bt1alBbBWirO/jTlZZQgpUiqe07KHGXSbQvYU/JHyGe5AUzEmhF7cvRr8m0BXjw2BqZTjJ83MLGrCddmuKlAknkENR9Q+8pIWfOeSHzaaTElMrTvAnd1FuXUQ/HzqVRCMRs9g6716Qhjz84xcfmP+zTkeZZj3ug10QotP8AXXgEYiwWG80MFT4ANvg0dy/EoSWfmWILUjp6cEUmBrEDhWhBv89JBHJuHr3K0MPvczZzJBLArsmGPXXNSwW3Db71hixme7bUhWsbKQ= X-Microsoft-Exchange-Diagnostics: 1;CO1PR02MB016;2:hNhiYaDDWRR6xiIojgKm6iHILwXgFuxVopyn9hrpqpBOus8dN3YpgK5pbY3rpUFaaAczaG2FZRYueFvtyySkLFBuT8o0URk7CerhjFemp7MOzuFrYGdyZqJJr0oWGldgljoidJ99/pdXtZqS0SNwrrnLu8Niczx2/turH7cxEwc=;3:FFDOSr8FQnRpZcSF7NA/B2XXx1IqNEezCHT3Aiunom/B+LliV3nrkTLVpSzXhMKhmFD9V0DCB2RnO/5Cbtm+euQl2SjLj7XM7qR6fUjuD5MTBC1aKGt/JG5seCxiSX2Rou4kY/mx7i8kMZMRdQj112NkuoW8MLRaZZLgX89JXIbJuZqlV2BcoRaAAv4lXPOK92TA2W9SuM7Bzuc/MtoyMhHbEXcpBmVLPVLg9B13D4poUu10YIkX+pV2CfxJP/WZ7lzP1ME3+1sUSC7ihA0lWEBesJ6EhlgbHDIOHpsNFC4= X-MS-Office365-Filtering-Correlation-Id: 2ca78d4b-e9be-42cb-9a73-08d40d52393d X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(8251501002);SRVR:CO1PR02MB016; X-Microsoft-Exchange-Diagnostics: 1;CO1PR02MB016;25:ZbzHmu02THiCEIVCJUq/g3NCTEtEtcxZZ+FZZcLTl1DmFyQEaGanQf3uB+YQAxpd33CMy929mtPLiuKN0eWCp32cWwDKI6XklD5zI4Xg1gebmI4sKofI2X5Mq7iGhRCFFb7wH/rA5BXT/RrkK0eG8PQhrsoU10GIl6rA0ur+ylQ6SXxOSy3yn/oNcxm2EWjljoVIB80Q7ZGvJl6IeNKtELidNWAQ/+o+fSz8xIHG1cb6J7ihV5g+7Lx18mr1Rr0OgA1ooRxyz43zsDob7swLdmu8TOG8w2DIaRUAkw1Y3V4Gmwolh4FtYz3q6QdRrE0xhq+l6Sqjw3VF9kBK8/WM32vc0j/TVN2ag8huqKANCqfqcKDHz4Pv9qB+MI7zeja4VKlq0ywdpKjRKm7JkBmBICHex7TgaaLPaGhyLdEuLVhOtOHxQnIIvhojRTFE2UNZ4a0qGe5PH3r3+aEyq0RhFbYCDa3Q78n8rGZY1tRjw+pG8/bny9oucVf17TQ84IVtMBeOIlxcgrZDLxdea9uQZRPg3ljB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TOYtY4lB5SJkoduyyZyKCH/5eLPdnxhImT2ItYRMvrCgbEs3fVwhcILi+09+7KmFNCO82Sen8hg9/FD6icSnC+J0QRTiVtxMoGxA1vcZ150H08ScUfv62YUWOcYab5FcEyDQdEPlOc X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6060326)(601004)(2401047)(13015025)(8121501046)(13024025)(13017025)(5005006)(13018025)(13023025)(3002001)(10201501046)(6055026)(6061324);SRVR:CO1PR02MB016;BCL:0;PCL:0;RULEID:;SRVR:CO1PR02MB016; X-Microsoft-Exchange-Diagnostics: 1;CO1PR02MB016;4:CLpQLWrsTQYrciGLlC7ZCcjzlKfxQjV8x+lh/gBajc71uopp6bDfZJTD5X4LqZ4m2qiIPBJx3t9OuxvdQsmhlksu/fju4YAAJIRlk5N3eK/REIdaWvMS6uRO7kqiKRji3ShsDjMKGZQokHIDfoeq5ZErS2nRKxirxqmaASxOARIn9j2/ooo7a/mPustgiltnIlNMHqfzxyiSnGOdyRYjbFuIlkQ6+E9EtL1PfJCpbAbjGFwmtEL2hpbsKHaLRI6o3xf9paWJCMGR5/d+Oah8Jqda4PFkRdDOaO4W0CfSqPjn7Gkei6eQ8/PUMkwp3mR3qhueuyETJP5qVIFNQodY0tcCaJHddKDckFfzJM0wdxrZWbgvfuyxGA9C1ms83Tyc+pOxcFHv2eafn0rrQmzYI4PVx3hxIc+jfnlnUjYtceuNnJnYeeom0qizGdQoBcQwJ/qhOfUcs4KvqoT8BzfVQxaYwIhhW2QXcH9e/Oy7Tu5Jzf5VXijrhJYupV7PzfmxGoZ1oAd2r5nNCOpkctVCdTX4x9ZoY5g5lUVvlLq0S94XJKG7HLhZSCxfofdJExJeN3bl99be10ScF8KJK4vGSw== X-Forefront-PRVS: 012792EC17 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;CO1PR02MB016;23:OIs/MeHwMjwUtjk2iA/Fj/yPIFad7zdMi83tDD?= =?Windows-1252?Q?oXGXffkzSMXbyx92j8XOIJq5ANclgpScpaXS+xa/qNst4BJV7u/gGda1?= =?Windows-1252?Q?kFUZfsTKZ9kQ63hffX03cdNh2DykB2LbimS80iTsAmu7asZdhDbKNT4A?= =?Windows-1252?Q?M8Qv6NZCA7u0r2LXxv9Y8XRCLvArhIlJRNKk3pBsQVDw0+f2t+g8cQtJ?= =?Windows-1252?Q?31Sah2BsV7bI54jL4+2ipylpcsLFygXWM/LKlQI6PPboMEIEKtb9AfOs?= =?Windows-1252?Q?tfdn5WdO2ZF09SC2I34O5gBnnqCXk+mV3FnzHfOI8OboyhAay+XXtCHw?= =?Windows-1252?Q?6hKw5h0iIDtAZoyToRw/0mXS9q5WV0419dahEP5ZNWEQNKn86rNY8Ju4?= =?Windows-1252?Q?Hc951+Go/QlxZPAH/De2KzlARxPGvOyXXZMyB9kTYOBpEbAy3uwyyUTi?= =?Windows-1252?Q?xI5+ylhL2U0/AkDes+VZAKKXn15UHdMWULTQowjdodsz02LnSsm+iRCS?= =?Windows-1252?Q?E52Q04vp+wZJFHGCLHPeR4lVRm98jEj0gAvxeLKJoBiJT00Dgpy9LB4E?= =?Windows-1252?Q?YYqnFneq8i/l61C2lzgFdZ7DAlGuOoIjZb/5HPEsaYyf8fWIWIkkDNI1?= =?Windows-1252?Q?UNOCIvvUZm3DlYj9duRsWA5g2A0muhzH5GyUPJsgDUKYYFI1pYIQQ9Ws?= =?Windows-1252?Q?t2Q8d3ZgW+FjONTJGUVMayrS8bCj+mHH/tc4qb7jHL6i2YMAwqaQ1uWQ?= =?Windows-1252?Q?+c0AJR/ST5azHRyWDHY+9MzUSu7ZZkrOgAZJ7sU4tshEinkQPWIbHOiy?= =?Windows-1252?Q?iUNS5vA/LoIQ4GdSuZXTqd4pDldv0nyX2r1PbgZ3OJAjM/kHbIlyAnnt?= =?Windows-1252?Q?MW3fxE4LPGd6ALuE3kmxR+DQfV/aaeJ2xUTtH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SIXoDlNpNOho1HS3JOoGpFa/XQu1pXCHPOL3yKEROA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CO1PR02MB016;7:zaBFd56M4kLVR2ECumBaRRF/Pt9qr/7HkXKD329lEPd+sGWY2DqcXqxqoQXevxhsrCHIuIWxX3JnYSkQ5eV/qoDoC3WtJwXP+YKI4hl80EaoTK29G/M97gZ61phh+u1cRhca9IaGlY1k+fhBq3VQhCuPRZ9aGan7ZWIXbQc/I78IPIN+PkLx1S2vfkIJTF+0+iwMbWQ9ppQmbLjys6mPGaCxvPwnq4Fv+FSPsF9rTquJK7YeXYJ8uMrTdggrJOgE2OG8U/K5kN8eHKMljKQRSGdrni8TydC3iLUXlDk2+yGNSEAq2Tovz1fabrnv/wjIEmtIQ9+QnJjn8Wjt2nciv1HU2GxbUFfumkTT5v++Cts= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2016 12:23:35.9431 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR02MB016 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3035 Lines: 91 On 14.11.2016 13:13, Zubair Lutfullah Kakakhel wrote: > Remove __func__ and prefix irq-xilinx in various debug prints > > Signed-off-by: Zubair Lutfullah Kakakhel > > --- > V6 -> V7 > New patch > This diff was squashed into another patch. Split it up for cleanliness > --- > drivers/irqchip/irq-xilinx-intc.c | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) > > diff --git a/drivers/irqchip/irq-xilinx-intc.c b/drivers/irqchip/irq-xilinx-intc.c > index 90bec7d..096c1ed 100644 > --- a/drivers/irqchip/irq-xilinx-intc.c > +++ b/drivers/irqchip/irq-xilinx-intc.c > @@ -58,7 +58,7 @@ static void intc_enable_or_unmask(struct irq_data *d) > { > unsigned long mask = 1 << d->hwirq; > > - pr_debug("enable_or_unmask: %ld\n", d->hwirq); > + pr_debug("irq-xilinx: enable_or_unmask: %ld\n", d->hwirq); > > /* ack level irqs because they can't be acked during > * ack function since the handle_level_irq function > @@ -72,13 +72,13 @@ static void intc_enable_or_unmask(struct irq_data *d) > > static void intc_disable_or_mask(struct irq_data *d) > { > - pr_debug("disable: %ld\n", d->hwirq); > + pr_debug("irq-xilinx: disable: %ld\n", d->hwirq); > write_fn(1 << d->hwirq, intc_baseaddr + CIE); > } > > static void intc_ack(struct irq_data *d) > { > - pr_debug("ack: %ld\n", d->hwirq); > + pr_debug("irq-xilinx: ack: %ld\n", d->hwirq); > write_fn(1 << d->hwirq, intc_baseaddr + IAR); > } > > @@ -86,7 +86,7 @@ static void intc_mask_ack(struct irq_data *d) > { > unsigned long mask = 1 << d->hwirq; > > - pr_debug("disable_and_ack: %ld\n", d->hwirq); > + pr_debug("irq-xilinx: disable_and_ack: %ld\n", d->hwirq); > write_fn(mask, intc_baseaddr + CIE); > write_fn(mask, intc_baseaddr + IAR); > } > @@ -109,7 +109,7 @@ unsigned int get_irq(void) > if (hwirq != -1U) > irq = irq_find_mapping(root_domain, hwirq); > > - pr_debug("get_irq: hwirq=%d, irq=%d\n", hwirq, irq); > + pr_debug("irq-xilinx: hwirq=%d, irq=%d\n", hwirq, irq); > > return irq; > } > @@ -146,20 +146,20 @@ static int __init xilinx_intc_of_init(struct device_node *intc, > > ret = of_property_read_u32(intc, "xlnx,num-intr-inputs", &nr_irq); > if (ret < 0) { > - pr_err("%s: unable to read xlnx,num-intr-inputs\n", __func__); > + pr_err("irq-xilinx: unable to read xlnx,num-intr-inputs\n"); > return ret; > } > > ret = of_property_read_u32(intc, "xlnx,kind-of-intr", &intr_mask); > if (ret < 0) { > - pr_err("%s: unable to read xlnx,kind-of-intr\n", __func__); > + pr_err("irq-xilinx: unable to read xlnx,kind-of-intr\n"); > return ret; > } > > if (intr_mask >> nr_irq) > - pr_warn("%s: mismatch in kind-of-intr param\n", __func__); > + pr_warn("irq-xilinx: mismatch in kind-of-intr param\n"); > > - pr_info("%s: num_irq=%d, edge=0x%x\n", > + pr_info("irq-xilinx: %s: num_irq=%d, edge=0x%x\n", > intc->full_name, nr_irq, intr_mask); > > write_fn = intc_write32; > Acked-by: Michal Simek Thanks, Michal