Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp302492pxf; Wed, 17 Mar 2021 05:51:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXqMTmuF/+2NNyq7HAGISbYHo5VPi3k6ND9Vi+eBYRgIe1bkX++EnFuCqOSJHs16i7PZRK X-Received: by 2002:a17:906:dfcc:: with SMTP id jt12mr35689943ejc.31.1615985494787; Wed, 17 Mar 2021 05:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615985494; cv=none; d=google.com; s=arc-20160816; b=p2xzPbA/Ogkh3maPD1/ylVNa4N/CqeSNKf9u3zc/UpP9az7MAWNR4AYJsh26FnfmNI LVH64LMa3U0kd++bw9VkvjSX0En6T/EadYlhZv3Eh58bzYUlhehNajfdOhzmBDOHgEFs JCiB3PEAJwb8IpoKJXJwnMBMBJhttlh1oyseytCUL+H2uvKwaQImR0lrDk+Gtz6diX1V sazLX7QFMsTx+IEYdnzT7XeBwvKpdMl1t3/lqPZrJzrVpFDMW1KXyWWdvjAaV7MYe22S E1kJqnQmiMFN9QsMV1R9hMqkprADooroyJeezajTXB+oyNvIdI8rOY/tHyQntiBj4TVO I4AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:to:subject:dkim-signature; bh=LBS0BD+/6ro/UTgtNMo8ZK6zXCFwDOA0LXaQ0cb+E2E=; b=kdG4D6GSCHIi+UfHbXizFbq7804STwITTSVNAtwdyLXpg4DOYYWKUbn1ehF7uN2YHZ CuKCeBILfWU9ShTpuvlzhkyJOQgJS4FiTeuxdDLpmvWtRXLb+sUJQCAmQWsq6UkY+NOJ PS9sIBSKkG0Rid4bXIh+dLeXAdYu8qJfAuGWbAOcgXJDR1Po+OTYDGPJY+3p4rrOoNR3 taf0ayl2+0vPW9xWIGlD7G7OmxW2H2FHhGgcNXZsWLzExLza3IuH6dAqALIvte+R/8k4 EcPPfo2F83oZ64bSBSodxb1ogIo0amo+pypkRaPusra5nx5Qrw8CTxGQ9i+SXmj4AjE4 UZhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mev.co.uk header.s=20190130-41we5z8j header.b="kTC/ZEJ+"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x10si16535069ejs.610.2021.03.17.05.51.11; Wed, 17 Mar 2021 05:51:34 -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=@mev.co.uk header.s=20190130-41we5z8j header.b="kTC/ZEJ+"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229809AbhCQMtD (ORCPT + 99 others); Wed, 17 Mar 2021 08:49:03 -0400 Received: from smtp65.iad3a.emailsrvr.com ([173.203.187.65]:55168 "EHLO smtp65.iad3a.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229944AbhCQMsz (ORCPT ); Wed, 17 Mar 2021 08:48:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mev.co.uk; s=20190130-41we5z8j; t=1615985332; bh=rvdGFH0sUjTPgyoQVuY1JrGXdy6YzrQiw9ETvD6KUrM=; h=Subject:To:From:Date:From; b=kTC/ZEJ+y2BazYsb2sIuM+iffENwPmqjHf591hEoBs39mdqJQxn/PbHkp501ie1/T 6C1fn6IsEAg3E/MpxRXNBQT3SvZQPIpWMpzRVQ1ToKypP/6FsWtBO/Uh3DDQh2FYKJ 2gZbC0kLW6Kh8mxSUTivepms960wGwt4ARpQ3SzA= X-Auth-ID: abbotti@mev.co.uk Received: by smtp9.relay.iad3a.emailsrvr.com (Authenticated sender: abbotti-AT-mev.co.uk) with ESMTPSA id 9C58D4392; Wed, 17 Mar 2021 08:48:51 -0400 (EDT) Subject: Re: [PATCH] staging: comedi: das800: fix request_irq() warn To: Tong Zhang , H Hartley Sweeten , Greg Kroah-Hartman , "Alexander A. Klimov" , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org References: <92b7c57b-b645-9965-8157-4ca76a803cba@mev.co.uk> <20210316224227.348310-1-ztong0001@gmail.com> From: Ian Abbott Organization: MEV Ltd. Message-ID: <8c65b02e-4315-153f-de2c-153862f195be@mev.co.uk> Date: Wed, 17 Mar 2021 12:48:50 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <20210316224227.348310-1-ztong0001@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Classification-ID: a5d326e6-cc0f-4e4e-a1aa-d226702d259e-1-1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/03/2021 22:42, Tong Zhang wrote: > request_irq() wont accept a name which contains slash so we need to > repalce it with something else -- otherwise it will trigger a warning > and the entry in /proc/irq/ will not be created > since the .name might be used by userspace and we don't want to break > userspace, so we are changing the parameters passed to request_irq() > > Suggested-by: Ian Abbott > Signed-off-by: Tong Zhang > --- > drivers/staging/comedi/drivers/das800.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/comedi/drivers/das800.c b/drivers/staging/comedi/drivers/das800.c > index 2881808d6606..bc08324f422f 100644 > --- a/drivers/staging/comedi/drivers/das800.c > +++ b/drivers/staging/comedi/drivers/das800.c > @@ -668,7 +668,7 @@ static int das800_attach(struct comedi_device *dev, struct comedi_devconfig *it) > dev->board_name = board->name; > > if (irq > 1 && irq <= 7) { > - ret = request_irq(irq, das800_interrupt, 0, dev->board_name, > + ret = request_irq(irq, das800_interrupt, 0, "das800", > dev); > if (ret == 0) > dev->irq = irq; > Looks good (apart from the minor spelling niggle spotted by Dan Carpenter), thanks! Reviewed-by: Ian Abbott -- -=( Ian Abbott || MEV Ltd. is a company )=- -=( registered in England & Wales. Regd. number: 02862268. )=- -=( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=- -=( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk )=-