Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753510AbaLGUyn (ORCPT ); Sun, 7 Dec 2014 15:54:43 -0500 Received: from mail-pa0-f51.google.com ([209.85.220.51]:60502 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752658AbaLGUyk (ORCPT ); Sun, 7 Dec 2014 15:54:40 -0500 Date: Sun, 7 Dec 2014 12:54:37 -0800 From: Jeremiah Mahler To: Julia Lawall Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 19/20] TTY: fix misspelling of current function in string Message-ID: <20141207205437.GD5360@hudson.localdomain> Mail-Followup-To: Jeremiah Mahler , Julia Lawall , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org References: <1417980062-25151-1-git-send-email-Julia.Lawall@lip6.fr> <1417980062-25151-20-git-send-email-Julia.Lawall@lip6.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1417980062-25151-20-git-send-email-Julia.Lawall@lip6.fr> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Julia, On Sun, Dec 07, 2014 at 08:21:01PM +0100, Julia Lawall wrote: > Replace a misspelled function name by %s and then __func__. > > This was done using Coccinelle, including the use of Levenshtein distance, > as proposed by Rasmus Villemoes. > > Signed-off-by: Julia Lawall > > --- > The semantic patch is difficult to summarize, but is available in the cover [...] > @@ -1458,7 +1458,7 @@ static void rp_wait_until_sent(struct tty_struct *tty, int timeout) > > orig_jiffies = jiffies; > #ifdef ROCKET_DEBUG_WAIT_UNTIL_SENT > - printk(KERN_INFO "In RP_wait_until_sent(%d) (jiff=%lu)...\n", timeout, > + printk(KERN_INFO "In %s(%d) (jiff=%lu)...\n", __func__, timeout, > jiffies); > printk(KERN_INFO "cps=%d...\n", info->cps); > #endif > More printk, pr_info, I'm sure you get the idea :-) I would probably change the printk directly below it too, since it is right there, but it is up to you. > -- > To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- - Jeremiah Mahler -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/