Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752321AbdFNMgd (ORCPT ); Wed, 14 Jun 2017 08:36:33 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:33945 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751771AbdFNMgc (ORCPT ); Wed, 14 Jun 2017 08:36:32 -0400 MIME-Version: 1.0 In-Reply-To: <20170614121819.tob426qpysswg5g6@var.youpi.perso.aquilenet.fr> References: <20170613223702.534373529@gmail.com> <20170613224050.646277124@gmail.com> <20170614101326.GA7606@kroah.com> <20170614101541.GA8065@kroah.com> <20170614112609.uqpvl2z5aoi5jchc@var.youpi.perso.aquilenet.fr> <20170614114802.GA23345@kroah.com> <20170614121819.tob426qpysswg5g6@var.youpi.perso.aquilenet.fr> From: Andy Shevchenko Date: Wed, 14 Jun 2017 15:36:30 +0300 Message-ID: Subject: Re: [patch 1/2] staging: speakup: add function to convert dev name to number To: Samuel Thibault , Greg Kroah-Hartman , okash.khawaja@gmail.com, Jiri Slaby , "linux-kernel@vger.kernel.org" , devel@driverdev.osuosl.org, Kirk Reiser , speakup@linux-speakup.org, Chris Brannon Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 586 Lines: 17 On Wed, Jun 14, 2017 at 3:18 PM, Samuel Thibault wrote: > Greg KH, on mer. 14 juin 2017 13:48:02 +0200, wrote: >> On Wed, Jun 14, 2017 at 01:26:09PM +0200, Samuel Thibault wrote: >> > Greg KH, on mer. 14 juin 2017 12:15:41 +0200, wrote: >> And trying to have the kernel do the mapping based on strings like this >> is not ok, sorry. > > So what is the solution? Users would find it completely crazy to have > to provide major/minor numbers. Shouldn't udev take care of major/minor and alike stuff in user space? -- With Best Regards, Andy Shevchenko