Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15020990rwd; Sun, 25 Jun 2023 08:36:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6oiaXR1KPOsZVKz84A+2L7ROBFAwaDxq0LwJ8nn8QS+n2uRKt0Y59ATt7p2atPBu0fzJxA X-Received: by 2002:aa7:c602:0:b0:51b:df18:cbe5 with SMTP id h2-20020aa7c602000000b0051bdf18cbe5mr9357762edq.38.1687707382158; Sun, 25 Jun 2023 08:36:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687707382; cv=none; d=google.com; s=arc-20160816; b=NjUsqVYzWzxORE6YmXCw/oyq4Ks6eYO5I7dcyTwAh0M/IPZQqn1oGTY9sk5kCMBRYV bd44nluppxfFIVgz5EytpCkSXwK0qNSMNEx6743RyJq5LyewjO5GiPLLkmu7Ims7c+Pc sijiTVT/MS1ehHfCh8Hv9K2LwE9X8BkaA3Cj+2oyGLo3eIMOGm8I062VCj9XOFDasdEe ADIcVGLHkSGQiCA75Uc/U9qk4ZCKmgORMOk4s9Gk5qtv7LYHbVjFfUzSo6KYBCzMvh9M 1/mkrGSfe+R1vkaCm9oMbwxJcQ6YvbPEwxOXuiqT8i58iiClDxqlgshU458JDh/5VuYM q2/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=6M6xaQ+v+1UpTE495Uk3ukIIDlfS3Cd3SrCD2m/lK5U=; fh=mvkE5Gfgb7ZuxPnxRLUaKZPtLloJeXIGFupA4cRYszE=; b=iOiDkKNHLyjd3qjF+sicUeWeXz8X8WQXBNUV97RT7CsUcUFHB29sH0mtDbqRtnwpjw S0LdFOpz7rwa9786S4fTx7rguGa/yK/wPzwDvn5RmOIneDejiAkteB4IBGN1khRx98W3 4IAjvBH8USad2PNgTLO0IBC8wMaykUlXG4X6tl9ZtAqjADrKSLUe7IATknRMrkm7GmbP QACyEqkSTnOtzflWhtG0BRVqxEnQetaTa9kySlEcFKiYuzP/f1r5rOah0tRpZzN7IKp4 xF2iogYOkICQnd3P/SZB1A0DRlRsBvsyUOSYpqyR+31X3rgQpgmkUooKSs5HBx2vLu5i ly7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@treblig.org header.s=bytemarkmx header.b=JoYGvF4l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m21-20020aa7c2d5000000b0051be8be77afsi1720499edp.145.2023.06.25.08.35.57; Sun, 25 Jun 2023 08:36:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@treblig.org header.s=bytemarkmx header.b=JoYGvF4l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229683AbjFYOz4 (ORCPT + 99 others); Sun, 25 Jun 2023 10:55:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbjFYOzz (ORCPT ); Sun, 25 Jun 2023 10:55:55 -0400 X-Greylist: delayed 1607 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 25 Jun 2023 07:55:53 PDT Received: from mx.treblig.org (unknown [IPv6:2a00:1098:5b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF97F1AB; Sun, 25 Jun 2023 07:55:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=Content-Type:MIME-Version:Message-ID:Subject:Cc:To:From: Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=6M6xaQ+v+1UpTE495Uk3ukIIDlfS3Cd3SrCD2m/lK5U=; b=JoYGvF4lBRr4nxBIzMORb/cDtK nsoaPvs1wvT9Sr+KkJdWIrEBOTdMySye0uDSQLiP6DRSUREyvp+t1zz25iMvD6kZnXUJELRITvkat D+LmHZ1/YJHMiBQ6BEWGt9JYH3I+gir61jxvg7mcRaddY6Nlk7eXdftv0iaFoOpjqbeXsB145q7rM ZzAhTwHe3Rg4AEX+WBljFxjaxZvQYOTIVeF/SkueN1Y16aIbgV9eCQqZmSa8xIVlrF0YCeSBz67RT IUIMgqKs3/zy4g2mKFRKGKTnp8QZf6XMRdNUF0x599q09qWBooUilDv7gcCqoY2Rq6Fkp0CbvG0JH NQgh53dg==; Received: from dg by mx.treblig.org with local (Exim 4.94.2) (envelope-from ) id 1qDQjR-00Fu6J-5D; Sun, 25 Jun 2023 14:28:49 +0000 Date: Sun, 25 Jun 2023 14:28:49 +0000 From: "Dr. David Alan Gilbert" To: sfrench@samba.org, linkinjeon@kernel.org, shaggy@kernel.org Cc: jfs-discussion@lists.sourceforge.net, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Duplicate unicode tables in smb/cifs/jfs Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline X-Chocolate: 70 percent or better cocoa solids preferably X-Operating-System: Linux/5.10.0-21-amd64 (x86_64) X-Uptime: 14:18:16 up 98 days, 52 min, 1 user, load average: 0.00, 0.01, 0.00 User-Agent: Mutt/2.0.5 (2021-01-21) X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RDNS_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, I just tripped over three sets of duplicated unicode tables and wondered if anyone had tried to rationalise them: The pair of: ./fs/smb/server/uniupr.h ./fs/smb/client/cifs_uniupr.h are identical except for formatting. ./fs/jfs/jfs_uniupr.c, and I think this is the same with some change in variable name. (I'm guessing the same thing is implemented in a bunch of other places as well in a different way) Would it make sense to swing fs/smb/server/uniupr.h up to hmm, maybe fs/uniupr.h, remove any of the cifs_ prefixes and then use the same include in all 3 places? Maybe then later look at using some of the nls code? Dave (who just tripped over this stuff) -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/