Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1300745imm; Tue, 22 May 2018 01:40:34 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrm3o4wDc1vg9OMSmqGGEXwe1XisOe8grzQACbjYFqRYMZfcTOh3hFsmBzOXQ6h79NJmr4d X-Received: by 2002:a65:4cc7:: with SMTP id n7-v6mr18659204pgt.354.1526978434901; Tue, 22 May 2018 01:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526978434; cv=none; d=google.com; s=arc-20160816; b=kcNEkvQdgzw4lMU+I+Uhumk1UNqDtekMRuhF6lmu0nOCJCetsAGlJxT4tYzeJW74UM nAgkzx8MqQG101Imj5OW3CD9H0RcZJckue9yT4cCaC8gB/BqJnw4y8b/Csk+OogvAKwP rKYoje7XpvJjYKOg7ee230oGVtlAv0ttT8EWdTw10jYHvjXtJ1dcTYm5a7PzSg/12bhE jlYsxW3fktOCde3pjBL4L2YXDMUwicPQAzsEXv26uCnkcrnl/xMJMV+BbdBbKpeMY3lj fvvmdnTUCtdIsothL9teGhFN3MrbAtbHBmgHkGpuHMUUr3ilFRUNjoX5DBYWEQfvATTr bXww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=RVrzRMRiDIXPyo0DMF0nOXa9OMYQbI8DLXLs3l6v82k=; b=NxuZOQqc4gjiqUVRAA06d2b+AXrEfPlj7F+YS1S0kSOKLqQcbF3bUPHid7sOxYt/gO /cZfl4xuxG7hIqDtWEKmfZ5+RlJ9aI+6yDJQQu4YS4j4Qft9unvT4SrQyIMldsujYM9s KXBPTXRKdIgsTHGD/UKUNIjIZsSTQPHjTr5QnoeKpr5tWLa6mOcgdYxnHhwXu4OM8ZO/ +Fv1SJlQ/uUQULZYjk+UJWqgK3R5cxnXwKOGJrXrEp9xtLm7t6xZoLhOfwQSA3J5xGAW lj0O9AjroI9QvNFFU2ZMIcaTYF8U+XunY8f+XpvMDfu5GIIGzll3C1pv5bzOKWVwZZ4P yO+g== 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 k75-v6si15440272pfk.369.2018.05.22.01.40.20; Tue, 22 May 2018 01:40:34 -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 S1751480AbeEVIkM (ORCPT + 99 others); Tue, 22 May 2018 04:40:12 -0400 Received: from mx2.suse.de ([195.135.220.15]:37989 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750733AbeEVIkJ (ORCPT ); Tue, 22 May 2018 04:40:09 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 935DBADDA; Tue, 22 May 2018 08:40:07 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 8DA1E1E1030; Tue, 22 May 2018 10:40:06 +0200 (CEST) Date: Tue, 22 May 2018 10:40:06 +0200 From: Jan Kara To: Gabriel Krisman Bertazi Cc: viro@ZenIV.linux.org.uk, jra@google.com, tytso@mit.edu, olaf@sgi.com, darrick.wong@oracle.com, kernel@lists.collabora.co.uk, linux-fsdevel@vger.kernel.org, david@fromorbit.com, jack@suse.cz, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 01/15] nls: Wrap uni2char/char2uni callers Message-ID: <20180522084006.rlxtmmmzv3z5rtny@quack2.suse.cz> References: <20180521173617.31625-1-krisman@collabora.co.uk> <20180521173617.31625-2-krisman@collabora.co.uk> <20180522083753.sphuqufm5edg7dja@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180522083753.sphuqufm5edg7dja@quack2.suse.cz> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 22-05-18 10:37:53, Jan Kara wrote: > On Mon 21-05-18 14:36:03, Gabriel Krisman Bertazi wrote: > > Generated with the following coccinele script: > > > > > > > > @@ > > expression A, B, C, D; > > @@ > > ( > > - A->uni2char(B, C, D) > > + nls_uni2char(A, B, C, D) > > | > > - A->char2uni(B, C, D) > > + nls_char2uni(A, B, C, D) > > ) > > > > > > > > Signed-off-by: Gabriel Krisman Bertazi > > fs/udf/unicode.c also uses char2uni and uni2char but evades your SMPL > patch. So you'll need to fix that up manually. Also note that I have some > changes to that area queued in my tree. Ah, OK, now I see that you've handled that in patch 3. Sorry for the noise. > > Honza > > -- > Jan Kara > SUSE Labs, CR -- Jan Kara SUSE Labs, CR