Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1300358imm; Tue, 22 May 2018 01:40:03 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpU4Nv02QKXpRRkJJGxO9e3yxa4KN2/IdjxjFhGSdqhZZJUwI2jUx5rdvUCNiP9Sx+Ftqir X-Received: by 2002:a17:902:5382:: with SMTP id c2-v6mr23847482pli.335.1526978403382; Tue, 22 May 2018 01:40:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526978403; cv=none; d=google.com; s=arc-20160816; b=KZ67s0Aoptg51lNurx86PewCxbSUS27Y3FCFoO/+/Ec2apZjKDX7xTtAYrVIRWdcOg tre2EH4gcTxhMut7b0epGFgNXW/btDoIKM2HzPXwkquz/WXHlyhyoV3TovINT0lc6+9M CVQ9MtedHZru7NF45NW229EFLpms6fCAFE1vBi5jmtDo4VFVjaqqhGPcIfKMdjx+wulo I9U+VuAW1NNixT7dsKjuVBqFeD5zZcQMPMXr1Ne+dtiAbQQeiFyzOdSrETirbNeIIsP5 /IGJEHsUMnLcpMmQ/iiVO0Ux71jJjSfi/r1iS2NS8HyX/Euq7GIZjysZnC9FZJ33EhcE J+ZA== 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=+ZlsLoY7RN2QJwneYyetvpTqjki0itFv3M3g/Dl3ld4=; b=N/u/ygflsEjQytcmNVwqb2353U+qoKKi8uIHKPUXIoIk8U9dPud7bcLK70RonnYqrU F4FigN7Q/c2yo0aHGmd5FLYRWmaHyGFFNcupMpfzZy0ELI6Ka2/PPSCLCH4e2cR72E37 gVA/2oaqJWW8eLG7uDKuyWg5UV7MhHXBr5d6r8BULAeYqJ4ztQTxFIq0dhTA+Yneq5Q7 P5ICA93FGKaAufLJbGRikJuKLx81nAAkZHoI6ZsyGm+Rw/BIwWRqaq1CVwK7Tkmjr7X9 NHKqdaG3LY9P1Qz9/jnOy1Q2aLiSL/rQrKWbUUOaM9V4qdQgfKVdzRhL/cLPo5FC50Tl u4Jw== 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 b2-v6si1615851pgt.283.2018.05.22.01.39.48; Tue, 22 May 2018 01:40:03 -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 S1751461AbeEVIiB (ORCPT + 99 others); Tue, 22 May 2018 04:38:01 -0400 Received: from mx2.suse.de ([195.135.220.15]:37735 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751161AbeEVIh5 (ORCPT ); Tue, 22 May 2018 04:37:57 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id B4CA6AEC2; Tue, 22 May 2018 08:37:55 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 87CC21E1030; Tue, 22 May 2018 10:37:53 +0200 (CEST) Date: Tue, 22 May 2018 10:37:53 +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: <20180522083753.sphuqufm5edg7dja@quack2.suse.cz> References: <20180521173617.31625-1-krisman@collabora.co.uk> <20180521173617.31625-2-krisman@collabora.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180521173617.31625-2-krisman@collabora.co.uk> 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 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. Honza -- Jan Kara SUSE Labs, CR