Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3590268ybb; Mon, 13 Apr 2020 11:17:42 -0700 (PDT) X-Google-Smtp-Source: APiQypKd2RxdOtCyJVMJofbKvmF++aIalMcJ4qF7XBNZRs6X+Kb/ySB2LvOZ7LoMtCT3PS/Ow6tP X-Received: by 2002:a17:906:5c43:: with SMTP id c3mr16567767ejr.3.1586801862735; Mon, 13 Apr 2020 11:17:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586801862; cv=none; d=google.com; s=arc-20160816; b=cg6+nuAHh9GSX7FEUHuF/NI3e3P0GdGvQgSxb8UAorBgFpXs9O1UgoiFFqlAEFtCSo 2tLI5A4AJFMuUjTg/6VXIAs+VOyeEzuJoiJNwa7noqEVHiBx0ej9FiJBM4a1uYI40ipk 7MWZTSxeBDJtn5ozFzL5Z84oJQvbSgBFd2YVzNTAsefngeK2tS3BNJ2fAHXPE1qRQOKp teeqoZD5VXPgDaDirgmKYOJz0lEjB0zE5YgOyx+0/PpngcfgdtCjjRzX0k8LgNs+BeUn p+eOfFQp5s1yP06dol04fOYU13W0MxmqtDFcX5+eWE1mLp5bDW7dShcbvfg74m0lDqCA G8rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=yttb4TIxvj4VefO/uDNYrGgvF3juferMoiKp/LgvTvc=; b=xOX7zWO1T68pjZkQP0EwBOQg6GEULRvBbdAXr86DK6Em0zr98vbKUHiXxjlK2N99Vc WVxd6NCwMijqmy/GH/Wd67QWh1V2Qrk/T69ktAtRU8/DBgeSswXllfFK4btSGIE4eus+ oQy8UZo2BaZFox3vQaSwR/19pwroDqfnipLC/HgKTfLHd7KHi1QkH0fTZ352QwW0g/4k MUj+LvPhGWOzhXy6uvbCZSMhij5w33xumTsofJdp5E5tl3GJPQ1uoPiFdM2sKE6ep02z 4wZokpcVTBu6DxugZ2h34hRX5I7r620BwYfOK6Nqq1TymC3PO9+Vf80tGySyPiX8DzPz gLzQ== 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 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 bf14si6723270edb.298.2020.04.13.11.16.48; Mon, 13 Apr 2020 11:17:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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; spf=pass (google.com: best guess record for 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 S1728102AbgDMINY (ORCPT + 99 others); Mon, 13 Apr 2020 04:13:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.18]:40870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729272AbgDMIK6 (ORCPT ); Mon, 13 Apr 2020 04:10:58 -0400 Received: from smtp.smtpout.orange.fr (smtp04.smtpout.orange.fr [80.12.242.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 983EAC00860B for ; Mon, 13 Apr 2020 01:01:22 -0700 (PDT) Received: from [192.168.1.41] ([90.126.162.40]) by mwinf5d60 with ME id S7t9220070scBcy037tHSA; Mon, 13 Apr 2020 09:53:51 +0200 X-ME-Helo: [192.168.1.41] X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Mon, 13 Apr 2020 09:53:51 +0200 X-ME-IP: 90.126.162.40 Subject: Re: [PATCH] net: mvneta: Fix a typo To: Joe Perches , thomas.petazzoni@bootlin.com, davem@davemloft.net Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org References: <20200412212034.4532-1-christophe.jaillet@wanadoo.fr> <6ecfa6cb686af1452101c0b727c9eb34d5582610.camel@perches.com> From: Christophe JAILLET Message-ID: <4b5efa7f-6bd9-c64c-e42f-20e76df2c3f5@wanadoo.fr> Date: Mon, 13 Apr 2020 09:53:00 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 13/04/2020 à 09:15, Joe Perches a écrit : > On Mon, 2020-04-13 at 08:56 +0200, Christophe JAILLET wrote: >> Le 12/04/2020 à 23:35, Joe Perches a écrit : >>> On Sun, 2020-04-12 at 23:20 +0200, Christophe JAILLET wrote: >>>> s/mvmeta/mvneta/ >>> nice. how did you find this? >> Hi, >> >> This is based on a bash script I've made a while ago (see [1]) >> I've slightly updated it, but the idea is still the same. I search >> strings in a file with some variation on the file name (2 inverted >> chars, 1 missing char or 1 modified char). >> >> The output is horrible, and a lot of filtering should be done. >> It is much like noise, with MANY false positives. But I manage to dig >> some interesting stuff out of it. >> >> If interested in the updated script, just ask, but except the concept >> itself, I'm not sure than anything else worth anything and is should be >> rewritten from scratch. >> >> The update includes some tweaks in order to search into Kconfig files >> instead. >> >> CJ >> >> [1]: https://marc.info/?l=kernel-janitors&m=156382201306781&w=4 > Nice. > > I was wondering if you used levenshtein distance or something else. > > https://en.wikipedia.org/wiki/Levenshtein_distance > > Well, kind of hand-written version :) If of any interest: https://marc.info/?l=linux-driver-devel&m=141798041130581&w=4 I don't remember having played with it myself, but it looks interesting. CJ