Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2445556ybh; Mon, 9 Mar 2020 06:07:30 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvLVCI6uR6cbW8ebmX8bziCTqk/JPYFMyWSifJrhx5ErZTPf/049D0N2WFeaf6dmfGxmpGX X-Received: by 2002:aca:56c4:: with SMTP id k187mr10692260oib.44.1583759250568; Mon, 09 Mar 2020 06:07:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583759250; cv=none; d=google.com; s=arc-20160816; b=g7DtODk/D/VwmWUA4g4K4mqKoUBSrJarS+s2WjcbiYD8E9QeGDWkTNYzalNpXCqgdc KAOS1UCXApO/JeDVeCQLifHqGPVibPY5ANc8P5EA2fqQsGnYNPOK0AU//mO6xupSSSFy tnjU5Q1dyKfIOK5wJZQ5AjJNos2V1HfpQemilDl8taccnQf6StnLDvC8s3wgPwVSIPap TTKvRErYESAv9Saa5P6IdmaeVwB6KMYp6qI73LZgzaCJCiINTY/xW1b8PiYnuTvn2Y+K KHLqOrCAnoF2jGP7PpRyT39LozFGhbdavmWeUoch06+8/s04rahp7Bu2ciuJ4HYwZq1E n2KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=J0hpQc+hPrEnybAaonxIOJB7dlUgXK5WGoi8OQ9BrKo=; b=SUx5wT/neAcE1IO6ApgT2t4P0SEUdGUitXs/C5cy/ZdkchMTz9KlIAxA4Dm1u7z786 FnJl28l+ZKTqrBPcCq3gPzmRZhp/Frz2aTr5jQO2l47bWt1wpKpsuWIdXz4/hpvWiG/7 u0pHpArhycuXcnt/PyYUMyt9rHvYyq/m5QPZaZruy87GEZF9PMZxKbI8d4d6OU2msbR5 1DNQslEbE+N0QHea6ELWDwuNRj+ucyYR5UFzlamCvG9r4N0hPhhUPyuwOcnGYl2I8FRm cpnHmgE1rYE3fTMKTjkuf3BOBFxgNWotueKSiN93mIJeLXlCjmtryMcjo2+mHWF5M2RG HkSw== ARC-Authentication-Results: i=1; mx.google.com; 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 h25si5998409otr.186.2020.03.09.06.07.18; Mon, 09 Mar 2020 06:07:30 -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; 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 S1726491AbgCINFx (ORCPT + 99 others); Mon, 9 Mar 2020 09:05:53 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:42623 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725956AbgCINFx (ORCPT ); Mon, 9 Mar 2020 09:05:53 -0400 Received: from mail-qk1-f182.google.com ([209.85.222.182]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPSA (Nemesis) id 1MRVy9-1ixJUY13Q5-00NSSj for ; Mon, 09 Mar 2020 14:05:51 +0100 Received: by mail-qk1-f182.google.com with SMTP id c145so3271186qke.12 for ; Mon, 09 Mar 2020 06:05:51 -0700 (PDT) X-Gm-Message-State: ANhLgQ30hWPltkBf/JKMqcl8sPzwoYniPGsCeGg27imZhUNwDBdHahgv 0FvoXTLVm0PoEaYPYOxp0elHrC84G1W+eYC9+cs= X-Received: by 2002:a37:b984:: with SMTP id j126mr14102418qkf.3.1583759150182; Mon, 09 Mar 2020 06:05:50 -0700 (PDT) MIME-Version: 1.0 References: <20200309021747.626-1-zhenzhong.duan@gmail.com> <20200309021747.626-3-zhenzhong.duan@gmail.com> In-Reply-To: <20200309021747.626-3-zhenzhong.duan@gmail.com> From: Arnd Bergmann Date: Mon, 9 Mar 2020 14:05:32 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH RFC 2/3] misc: move FLASH_MINOR into miscdevice.h and fix conflicts To: Zhenzhong Duan Cc: "linux-kernel@vger.kernel.org" , Jeff Dike , Richard Weinberger , Anton Ivanov , Miguel Ojeda Sandonis , Willy Tarreau , Ksenija Stanojevic , gregkh , Matt Mackall , Herbert Xu , jonathan@buzzard.org.uk, Benjamin Herrenschmidt , David Miller , Bartlomiej Zolnierkiewicz , "Rafael J. Wysocki" , Pavel Machek , Len Brown , Russell King Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:5oUyQq4QGXxHLknlf/mvjL5SrKY3VM+Zeixn1MOogqfxwaNo+/5 JvynEShxlLH0F7tuS+BFb2CfGmTgsl/M6m9p7uqgclxL9Qs1/F3oA/xsQhYTmrV4ztOVr7p +ETze/wPhnG6xcBxFDoZl7ehvcKpw9Rqie4KeqS6yB9HqaCc1V1g6gL8ggdPsv+I8ERqb1f MwLExDZ6jjigIWtwJ/t0Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:XFB/xOTdfmk=:/FfJgJ+ccl0I4KDNY0OICn DjAccIup4WTt/IaKJAXjSis8eU678qMYeAW2gaICDK9b/wC+9qqRGvIeo5qZxNPE7VbG3dhSc 60zEtcq55cNYiIFH8M16/v2OQx9VIFT1bKl9X+NE6GnxdDJizn26Ua4r1KZA0Wf86vOznSELZ TLZivWtgBKsXXdru4bs+/qWLdm77GS1I6JoTgoI26kRQUau4YE+tqlYWfd+iWqdaGK2tRex59 Tb5pxYUbM0PVHkI2t7VPOgqbBNzRww8KvAA9cz01KP2Km05p9CK6TPLADLc0YzNg0pMlw0nNA 1fAD9W6W87vh6s4mshpgXmocCSjWhfYeTqf1UvJd5K8lscXVwu/3KAGajBmwpHcLsBSAYeTEj BXsnU4jEnARlioomQv175sjzzOlNY8sia4Z4B9FWJ7n8vY1es53DmOCIXUatSRBzax5W9OfMC GqOcYV5HJMBuXiXPGuxKATMv98cfFSyt7AdgfRO184XJ8uLoMWXCZ2xILBVHj895gdNZzMMpR HxbHKCfBqlxgKrMBxYjWBR6dSHotErdcZK5Q//RqKzlM/5uib4F12W+ysSoyrwX+UG07vZxga QW214vwwYq86W/sKi+Yxpu/y+j3qPRD2ojOLu1PWQ7Ipkmabq4JRu10ibOhPh5rvfoHF+5MTB AaB4LM5DS+6g13b3mxyIfYeZwzmnDezdHdrVXMOF4xHv8k0UhIjAmWspi7muElMnK5YaNRvQE Su+EvHAMyFeU0kIQHj3c6HS7pXESmSyUhuRR9ptr8jMRzhxxqGB861qfGae1gMTyySsDJUYS6 3wry44pZEsVe0Rl+5KAu6atu1b7MUPYMMuB6bt52+2OLkgkuKY= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 9, 2020 at 3:18 AM Zhenzhong Duan wrote: > > FLASH_MINOR is used in both drivers/char/nwflash.c and > drivers/sbus/char/flash.c with conflict minor numbers. > > Move all the definitions of FLASH_MINOR into miscdevice.h. > Rename FLASH_MINOR for drivers/char/nwflash.c to NWFLASH_MINOR > and FLASH_MINOR for drivers/sbus/char/flash.c to SBUS_FLASH_MINOR. > > Link: https://lore.kernel.org/lkml/20200120221323.GJ15860@mit.edu/t/ > Suggested-by: Arnd Bergmann > Signed-off-by: Zhenzhong Duan > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman > Cc: Russell King > Cc: "David S. Miller" Acked-by: Arnd Bergmann