Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp239549yba; Fri, 5 Apr 2019 05:54:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFZ2uGCj+VY64rFuJwlGmG4c4gYjtuGHY4P1sBfm8832cfcwgaxZSEjmbvE4kOh8FANjFv X-Received: by 2002:a65:6389:: with SMTP id h9mr12021310pgv.398.1554468842606; Fri, 05 Apr 2019 05:54:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554468842; cv=none; d=google.com; s=arc-20160816; b=mLtUgajchl6Ll7HgHAwfJunbOEX+0dg6r+17StwXK49R+7CgRWjEZvWBfU0pVlzZv9 F+cgTvWDU2vkYYLeprnS6XmIz2ij02E5Nf3hMDqcUWtLzlseLa+rQZFXhfJYxmv39Ymv /yhSAx0LpcWDWl9tt0sQqwHMnWJiH9nft2xSUIZPIxR+7cHc/xgL8uTC/OhBab5fP0tX f/OY6dTZPMVXsFWT5SlpkQNY23LlOGHcCcVPLBN3MZ+Fupxnnbg2R3ql7vshPCXKdhQk h4GDrTp++Z32BmqeZvCUTi9IL1k+aa4pFwLxn6LhQqbDN+i5HieXHkQufym2HsLcDPzP sTcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:references :in-reply-to:sensitivity:importance:date:subject:cc:to:from :message-id:mime-version:dkim-signature; bh=vXSDomUnLiJ+uBbA6YtrqFgFnMYyMhAKEQ3lEaA7f6E=; b=kBN4sFleSi8noBNMpXPdg4Kf01yydbh2LGHuih/UdNe2ZHm20DHVFsA9YNihcRQFf2 PqgSalMG9XoCAwTpAm6e7YYuCW3uTc+cwVlhRmtSarvLOVaz0fhY+MM4+wdQIAzJ3npD TLqEru9cjVGDS2tW+m5qFnA1EU6Jg5ONXcxJkokZ9z5ZedzQZHOsmt3yTHWJkWZ7C7ry EhAmSRAe8b5886+EQpJK1O6pBDP2YL+Kiqd8Rax9ZN2lzhdctBTdZRVWYBAMWQNMjGYa 4bJ15uJmYZFHcl3Wg1fwmyzhxxF6DB4kreU1pCDnO87uWKE/x+qtAoQeY3frv39Bb3Jb Pmjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b="Q/ym5/fN"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v2si10839049pgr.41.2019.04.05.05.53.47; Fri, 05 Apr 2019 05:54:02 -0700 (PDT) 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=@gmx.net header.s=badeba3b8450 header.b="Q/ym5/fN"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730827AbfDEMww (ORCPT + 99 others); Fri, 5 Apr 2019 08:52:52 -0400 Received: from mout.gmx.net ([212.227.15.15]:46335 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726027AbfDEMww (ORCPT ); Fri, 5 Apr 2019 08:52:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1554468765; bh=vXSDomUnLiJ+uBbA6YtrqFgFnMYyMhAKEQ3lEaA7f6E=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Q/ym5/fNsUFPCI0xOgOaqAqWxMg9TVx2sAUVQphHwlXnx+OZTyENe36tgpCkvyxbo TdxaT42GTTQ5PG4sn1vmZak7MiwuWD4dYoKLeF5W33cs7DekcnRYhExzDTqLeJuL9e mpsInz5rAaLEaAP3Wdh65d0YVg5KmU0K29jgLNKQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [45.33.50.49] ([45.33.50.49]) by web-mail.gmx.net (3c-app-mailcom-bs08.server.lan [172.19.170.176]) (via HTTP); Fri, 5 Apr 2019 14:52:45 +0200 MIME-Version: 1.0 Message-ID: From: "Chengguang Xu" To: "Greg KH" Cc: dan.carpenter@oracle.com, linux-fsdevel@vger.kernel.org, viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/4] chardev: code cleanup for __register_chrdev_region() Content-Type: text/plain; charset=UTF-8 Date: Fri, 5 Apr 2019 14:52:45 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <20190405123246.GE2299@kroah.com> References: <20190405112711.25275-1-cgxu519@gmx.com> <20190405112711.25275-3-cgxu519@gmx.com> <20190405123246.GE2299@kroah.com> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:6IVBWgazUj5kBXGjYJ4892elvQOCN8xCvp8jkJ53wPOBImYLW0JVjwZ2nHXOo+aNpyaDg B6g+o4wfFv1Fpt3c3mvFtmhSHxgE+UApKh+mdxQ/q5SaZGrh3ziJB1VuTkS7F4hmvJitRfGtWrGE L3VQM2jrNWp0kKUHZPcer7LOrwjrvYvBR3Q/Jq2MGyPiqMqRQIvIYeKyDumyQ1YvZI9u6PwHmOH3 QcclLqMj96ak8bFvxRc2Bs/Un24qLRpFmnfLJTnu/6823h7VQHI3UV6p79g6KYfKh4u8fwJI0TVt /o= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:URroLL+E7OQ=:CUEqpajrcKq+rtJ0W8isAV YRpIk0AkYGcE7WCG3YJ6u+8nbGlwDQF/PkxrEhuwnePs4H5ogOVsOcOC6pDP+PZGFUbY1adV6 OMsqkLvx9RZ8B6aZ6B5VDhQMwj4Cjr+WWtzGg23sM5T0OkZWaRceyEXvclYo0LgZtqYdWV+DX Ol/rrJF4P7EemYVz7VnwZn4hlA0qLdQWz5WNNrXmwCf/laZt3fHfYKQnYIxlsgfVqOu/A4eWg WJVytc0xOVx4oMAXrYze7vZzwXz8vHgSjRXLbPecJvGS2DtkBjIFSiFsTzAeGhYELkILEJ/uk EqRgXqvaEeGsmdNwkQTWaDDS9Bw+inHGfqGppi5PXNRxLwY4QdIfR5PPG3vpPfVV9n0/w7Feh 2Yil6zazGInBGdX6novs8NieLVDhp1++hDnLFdxW174iMvCa1/8qKolslegJ+jaXKaeWUz4Wl N7F/me7OAav62HZvHVPeiuziZ4xf+k9UrltgCWXGmk2umGYanP+dsVDVfo8H8mAQcWhl6s06J 1aKe1e29J8pDxHvqs02pUyWZ/ZMbOyHngj/ilcDG9DIwfvl2tKdtGoq2JXgC3EDrdDWc+uO4R NJ1yJT6D8ftts= Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Sent: Friday, April 05, 2019 at 8:32 PM > From: "Greg KH" > To: "Chengguang Xu" > Cc: dan.carpenter@oracle.com, linux-fsdevel@vger.kernel.org, viro@zeniv.= linux.org.uk, linux-kernel@vger.kernel.org > Subject: Re: [PATCH v3 3/4] chardev: code cleanup for __register_chrdev_= region() > > On Fri, Apr 05, 2019 at 07:27:10PM +0800, Chengguang Xu wrote: > > It's just code cleanup, not functional change. > > > > Signed-off-by: Chengguang Xu > > --- > > v1->v2: > > - Split fix and cleanup patches. > > - Remove printing minor range in chrdev_show(). > > > > v2->v3: > > - Set variable ret to '-EBUSY' before checking minor range overlap. > > Can you just send the follow-on patch that does the v3 change as I have > already taken your series. OK, I'll send another patch for it. Thanks. Chengguang.