Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2178397ybh; Mon, 9 Mar 2020 00:14:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vstLEaav49d3wORFrNI/RhNtSEtRpUbnaBt4CaFHhDg4UNdqnm+fTIRmM0EV1vpw4y0tZCu X-Received: by 2002:aca:cc4b:: with SMTP id c72mr10861673oig.139.1583738077713; Mon, 09 Mar 2020 00:14:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583738077; cv=none; d=google.com; s=arc-20160816; b=l3mZ3Cix0pfTs+tfy0FvcLundDasnStbr09EACNTG36KlAl8cUOQZrtFvLMtgal9VU bMOM++3hN36BjP+5Zg1pP/kwyvybDhpKBIMXh3/TkEcCFgEkv4vLL2W5F/7DOVKpqZ/u Goi8kP52bt77RyYM55DXw0ND+itmq/aIMVNxqM1BPyqS51mUTwk38l/rIvUbGULm4aJh 5teLgtfz5ASfVD30aL/4nFYdv7CVY5g1uslYpf5GicY/LPzFWCZ0KqwsQMG1SyCLX+Bm 1YAML7cNsBrTblCFAEegRk8H+COxsuGcjUx/TpKND0rBzqAqCC92xEueOkZgAIrjRwno 4KaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=mtZjwr4nyi8wKtKKhugJGC1ov3iBQj+rzmiw0lXGOVg=; b=WRhGibKDH4W3OXCB96qt8dVxf2lnWHDcM0XWzUoJTG8W0mjFttN1BtofLgIscmMiqQ T5z5NT1lGpGf+p5KnT2600ZQjuZhEt7IFV6O2oJZxE5OQ6maTYXLlTY18ySJPvw1CEBg 6qw+M2ad4OESWSfIYi82PHmOM/oIhscztymTbscC7BAYy34x2vBibtlMtBMsI8cI0xly 9ToCcL50fySwsBrLQIoM+dYxQ7vHCUivVXwkieWd3gO2zMpqseAIkpIzFOtZMB0k/z/E ZfeIBsiCQ9CijPfBRWbPMiRuPFYXboXvqqlZHJpUrj7Ai4gKBWs9F+5edUzaJ6D+NK2g ftLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0NGCAh9Y; 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 w22si3466857oih.103.2020.03.09.00.14.26; Mon, 09 Mar 2020 00:14:37 -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=@kernel.org header.s=default header.b=0NGCAh9Y; 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 S1726411AbgCIHNw (ORCPT + 99 others); Mon, 9 Mar 2020 03:13:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:41062 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725962AbgCIHNv (ORCPT ); Mon, 9 Mar 2020 03:13:51 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 60A6B20665; Mon, 9 Mar 2020 07:13:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583738029; bh=hWJNtQQWqHRyt/XLzVAneJ9w+0DP6eb16gOqermGfK4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0NGCAh9Ya1os58fUGPLB9nQIhrLPnfOGcT/cS+gtCSt92Ol7VwgxGQORw2V1f8E1O I4IGx8WmdRn2MdGdS9w28Clj2MwcXGBkI3p7gevHcIryid4ydJMNFoJCdmX8F++Y7C lAsqKLNZ5f95t9ThGhLv1r7AAYQ8Yp0mm2D+uNc4= Date: Mon, 9 Mar 2020 08:13:47 +0100 From: Greg KH To: Zhenzhong Duan Cc: linux-kernel@vger.kernel.org, jdike@addtoit.com, richard@nod.at, anton.ivanov@cambridgegreys.com, miguel.ojeda.sandonis@gmail.com, willy@haproxy.com, ksenija.stanojevic@gmail.com, arnd@arndb.de, mpm@selenic.com, herbert@gondor.apana.org.au, jonathan@buzzard.org.uk, benh@kernel.crashing.org, davem@davemloft.net, b.zolnierkie@samsung.com, rjw@rjwysocki.net, pavel@ucw.cz, len.brown@intel.com Subject: Re: [PATCH RFC 0/3] clean up misc device minor numbers Message-ID: <20200309071347.GA4095204@kroah.com> References: <20200309021747.626-1-zhenzhong.duan@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200309021747.626-1-zhenzhong.duan@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 09, 2020 at 10:17:44AM +0800, Zhenzhong Duan wrote: > Some the misc device minor numbers definitions spread in different > local c files, specially some are duplicate number with different > name, some are same name with conflict numbers, some prefer dynamic > minors. > > This patchset try to address all of them. > > To be honest, I didn't try build on arm or sparc arch which some > drivers depend on as I have little experience on cross-compile. > But I still checked the patch carefully to ensure it builds > in theory. Appreciate if anyone willing to test build on those arch. > > Zhenzhong Duan (3): > misc: cleanup minor number definitions in c file into miscdevice.h > misc: move FLASH_MINOR into miscdevice.h and fix conflicts > speakup: misc: Use dynamic minor numbers for speakup devices Many thanks for this work, I think they all look sane except maybe the last one, I'll respond there to that. thanks, greg k-h