Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp11289ybv; Wed, 12 Feb 2020 18:04:06 -0800 (PST) X-Google-Smtp-Source: APXvYqzniSmEIc5hYZE0OPiC0hb4058b6RTKudpRBLNHpSy5MUnmd7EsTNUBzC1TokO9xKMT2jw9 X-Received: by 2002:a9d:7d87:: with SMTP id j7mr11171492otn.159.1581559445894; Wed, 12 Feb 2020 18:04:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581559445; cv=none; d=google.com; s=arc-20160816; b=lUZ0PUF5ER7T3tJ6tyWn1k7EGrNKwbRWwSdAP4wnwtWiNpPMY52A95Tumz+5rOncWb ZK7/tnsx0QtEQv3bB/jveUGsjtPfoJxucVBWEpIsDUDSRV5F73PdXN30x955vIl2GqaG X8t66kve70wJ4egMPoyhwosP4qcX/DfhWKqZM4yQwUSzINelXbduWqg/EJkNfpWcH6Mo 3oXCSdlt1e6RZtSPCtHsKZVK8UhBjWgYYV62SzRWeYCXruTzJC6sNOTtx233lc/eaQd0 xeiDc7Oq8WRzlPV0UmSPIvAVnc8TAoZ37xKsuaVy5a5HT+4rzQ08x/+zpm6S16JwfQFD bG4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=x4frmMXGOLlmcRjK55IB+vPQaFT4KUg/VMQvDX0jZ70=; b=p0w3AKCX1Kb234tM76HR0fhHzBVkhU6rrYMh8isF405gZyMJZShLQba8xrPQIguEka srInJ7Fiq3GTILguDHyl+KFwCmyBCWAQYVPWAI34ZGVlPPwy09McxSOftSB6AdzRdl/w m+Cj92t9GZe3oo8jH/JdPtw8QBt8o9a/wItcMiM0K7lvAxcMeV5cmZenRzHBfLs8isnv r9ZCh1PdTL3MvPBZOSHVFW4Z+4kp3WWG1RtuSMSJ92hkutaXxuSegq3Os2JSDLUouQ4g Xu3mz7xKs7ygIyc6GmBQ/WlRh6XoA26296m3dbdlTc5N4zmrW4augSo4dX+O4nAOsLHQ hOJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="O//7kG9v"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id m26si355353otn.307.2020.02.12.18.03.51; Wed, 12 Feb 2020 18:04:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="O//7kG9v"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1729471AbgBMCDe (ORCPT + 99 others); Wed, 12 Feb 2020 21:03:34 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:45675 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729302AbgBMCDe (ORCPT ); Wed, 12 Feb 2020 21:03:34 -0500 Received: by mail-pl1-f196.google.com with SMTP id b22so1667754pls.12 for ; Wed, 12 Feb 2020 18:03:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=x4frmMXGOLlmcRjK55IB+vPQaFT4KUg/VMQvDX0jZ70=; b=O//7kG9vqhbWdSfyl+B8jnRk/M8p5VWm+1N7QlLfU2UhdQ0f1C3z1SmifcWi761bwy N3IQxDzDJUwDs6NkydmvpwUNqnr2j3kPrVNWc6FOLwR9hHXDmhoPTsP8jdBx9omGRZUW 8fGZ3KXNxXWT72daAEqcBBeUwW13bU2NyqQjP9LMWZqpqwNcRrzm0sGCLEoQE53wNJ0P uTkJiRoPdpVQdvs5EHfHsuVPUPkEx3zLFc7RJGuLNBbJu1EAWw2N4eD9+PedmWI2/Q91 YXKyLbK9dmuP3djG3aqehl41aaSxG7q26yeRKf6PYyokDDLw7sMz/UaDN6mwX9PfvrsK L1cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=x4frmMXGOLlmcRjK55IB+vPQaFT4KUg/VMQvDX0jZ70=; b=WyrDlk4gGRshoWWEEFsHvD1D1Yz2MbcEXNv75hgfrgqtoSz6kwSdrxYj53YaUmsUpX eBY5qsnWPTo7VDtKIk3gB3hxepMRsRRcmDtyKqNZDYC7eOFmMPauj7+Xtl8gxi7pnW81 9NJ3GCFQS1g4+mINX+mIACHIGt0mi6Fc6C7Ed6s7I+WRohChzdA7j+xQJbpl9YMMsRm8 OsS1TUGIWtTqEDRc6HTtt/ZoPISMmTBX7zo+wqLmw67nSkb1LkWdpvnUbUH0EwCA4Wz/ VhZuOsBl7ZEpTx0s8DJtf2xn8OjYRcnpLZQD7Tb/e61h0mnPCv8PkBWkM25r1S8c569t hDVg== X-Gm-Message-State: APjAAAVmLce4GH8KaH60iYbaBF6CyihbtsB0UXvUbBqADNZIL8Klj0MX AI/9nunGAMZ0goaaptFDaR8= X-Received: by 2002:a17:90b:46c4:: with SMTP id jx4mr2371863pjb.32.1581559413377; Wed, 12 Feb 2020 18:03:33 -0800 (PST) Received: from localhost ([106.200.59.46]) by smtp.gmail.com with ESMTPSA id k9sm459336pjo.19.2020.02.12.18.03.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Feb 2020 18:03:32 -0800 (PST) Date: Thu, 13 Feb 2020 07:33:30 +0530 From: afzal mohammed To: Finn Thain Cc: linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, Greg Ungerer , Thomas Gleixner , Geert Uytterhoeven Subject: Re: [PATCH 06/18] m68k: Replace setup_irq() by request_irq() Message-ID: <20200213020330.GC2684@teres> References: <1941c51a3237c4e9df6d9a5b87615cd1bba572dc.1581478324.git.afzal.mohd.ma@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, Feb 13, 2020 at 09:25:19AM +1100, Finn Thain wrote: > > - setup_irq(TMR_IRQ_NUM, &m68328_timer_irq); > > + if (request_irq(TMR_IRQ_NUM, hw_tick, IRQF_TIMER, "timer", NULL)) > > + pr_err("request_irq() on %s failed\n", "timer"); > > "request_irq() on timer failed" is bad grammar and doesn't convey what > went wrong. It could be taken to mean that request_irq() was called > because a timer went off. > > Have you considered, > > pr_err("%s: request_irq() failed\n", "timer"); i was uncomfortable with the string contents, since that didn't seem nonsense and to avoid pondering time over it, it was used. Your suggestion is definitely better, will use that instead. Regards afzal