Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1866509pxj; Wed, 19 May 2021 16:10:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqvFWr1bdTZ6afi+EhCu7QW72Y6oddcdckr+MOqxmJVX75lluYIRRSM0n6mPVvnPo2dPyF X-Received: by 2002:a17:906:a20b:: with SMTP id r11mr1549014ejy.323.1621465811522; Wed, 19 May 2021 16:10:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621465811; cv=none; d=google.com; s=arc-20160816; b=hQt8ROiuNFTEFiMGNsMVNdqMZsuz7+7HdiP7KeC41ze2VqzsjSSxbBdUesXyH/2cJc fyR0hYqIjK21OoRT424Mrgb2Fea9W0Cu6BoDqoa0AQzSCR2vSwWl4CYLHhciHlWTtOno d+E3aV32IVrEuilnYYamD1x4MWOQDTwwJKNp+TrjxNHVW/cn/8l7kxSC9Dgbi/j13Xg4 GO2X9JNo+rvdSysLVKUvuQ4Y8R8e9TVT7fKWgqJlADd36YGYQ688IJkXuLMzfzVxyQSd 4r3NAA2ZBd6CwKY9Yh0M0PuPXhWSyVKxofmE8yY58bCgpHGSVnyVoQNu4EjMxiHTPm2N UqUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Jwk0saAKOxxux1qLucTjT7RVUUV0SrqEWvSDUW8ts5s=; b=YDrxXRszhZBf3HYBtr4LBsb13E8xRxonCNH2yL6D605KlJ5jI+UnsufBfeauwmcdJ7 Em6L5OqbHpf8AK16sAnIubHPaRzNnSZH7BRE8ADzXuemm72bCjoPcqxb7YI+DGwiOgZl jPZI1nBO3+++IQnzxrGxXOK0BOlfCCpcRYO+IlShq1W2/ONbIscBtkZ8AbQeXQGpxS/l lM3Wifv1XnnntBq1maQ7gCdNHxJTCVCNdmZGyPb01hgtqdOFQE9DYU3ZzRTrL/DfPA9H ShE6H3dxV8Cq1049aj8nrFiN1wy0jNGrQDvTLMz0O3PTHsfO9lIRbiYWQxMNUmBIcAXC CFYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=b4urCb4o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r3si946476ejs.480.2021.05.19.16.09.47; Wed, 19 May 2021 16:10:11 -0700 (PDT) Received-SPF: pass (google.com: 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; dkim=pass header.i=@google.com header.s=20161025 header.b=b4urCb4o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229498AbhESXII (ORCPT + 99 others); Wed, 19 May 2021 19:08:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229465AbhESXII (ORCPT ); Wed, 19 May 2021 19:08:08 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3465C06175F for ; Wed, 19 May 2021 16:06:46 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id a4so2674600ljd.5 for ; Wed, 19 May 2021 16:06:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Jwk0saAKOxxux1qLucTjT7RVUUV0SrqEWvSDUW8ts5s=; b=b4urCb4opB54xSjva7L2H57Jbu48k96U331P316PVRjEdePqn9pQtL38RCqXXfwwTg M7WaUampS0T6oF+Nh0Y6etHwfIbeFbAMkgd6r2H+CQ1m3Hui7gPuoFuL2yHxdXfZu5/N 5aTknzhPLs3O3IGgRg+qiCZb7GOBJh+UNu4kfY8dRzxpcoK2GblbePyp5XxppIGTWVrz 2T4Ju9PlCeiLbBVhPIA+CrrL4oYFpLDpOMOfBUy61inJs8Si6oL2ay/jybH4gZX3yCYW yWRlIowiss/ADAI2og7lUtuDea0Ch0rCVZl9kWsqEJDFmxAc6yunyitFB1h96vDobdma LCaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Jwk0saAKOxxux1qLucTjT7RVUUV0SrqEWvSDUW8ts5s=; b=cn5ecnHYhwJeG5njAvGQR0kiZK/0pvdnXMV2CdC7hm+JlNWhlZYRrLHeSBKR+mBpiG MO5EjQIG5s35uFw+J7Qbezz4bnUBrJL3t3QCYBWWMBf89q/2Sp/+g6iIfhrLs1jEUki8 GUTymZRob9OOnTZgEiZBMP0RuY6BZA9I136FqzEKZmXBD/A0s505W8EX54KZLrC2Tkiz jzZkUhPHW6FqYrvBkcTSUeYKo7UGaI/+AbotqTMnwateUxZE1SmDkGyiJqbRLJ/ALVho 6O9hLM4VQ7aIkIo2lSxfuI8POQa0GsPjUq0Np5Rxi75CGDQrYyanUvgGkaKijBQtEv8W 0gEA== X-Gm-Message-State: AOAM531RqAtTJiJeysRkK2tbSc6utFvIqVKq+if+ivSc6FrfS077yCp/ kSEzbPKIE/IAF2rDzsUxo/HWoUX/oQkupPXb+0q0tA== X-Received: by 2002:a2e:6e13:: with SMTP id j19mr1048011ljc.116.1621465604566; Wed, 19 May 2021 16:06:44 -0700 (PDT) MIME-Version: 1.0 References: <212218590.13874.1621431781547@office.mailbox.org> In-Reply-To: <212218590.13874.1621431781547@office.mailbox.org> From: Nick Desaulniers Date: Wed, 19 May 2021 16:06:33 -0700 Message-ID: Subject: Re: [PATCH] fs/ntfs3: make ntfs3 compile with clang-12 To: torvic9@mailbox.org Cc: "linux-fsdevel@vger.kernel.org" , "almaz.alexandrovich@paragon-software.com" , "linux-kernel@vger.kernel.org" , clang-built-linux Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 19, 2021 at 6:43 AM wrote: > > Some of the ccflags in the fs/ntfs3 Makefile are for gcc only. > Replace them with clang alternatives if necessary. > > Signed-off-by: Tor Vic Thanks for the patch. +clang-built-linux; please make sure to cc the lists from ./scripts/get_maintainer.pl . It should recommend our mailing list of the words clang or llvm appear anywhere in the patch file. This helps spread around the review burden. > --- > fs/ntfs3/Makefile | 4 +++- > 1 file changed, 3 insertions(+), 1 deletions(-) > > diff --git a/fs/ntfs3/Makefile b/fs/ntfs3/Makefile > index b06a06cc0..dae144033 100644 > --- a/fs/ntfs3/Makefile > +++ b/fs/ntfs3/Makefile > @@ -4,7 +4,9 @@ > # > > # to check robot warnings > -ccflags-y += -Wunused-but-set-variable -Wold-style-declaration -Wint-to-pointer-cast > +ccflags-y += -Wint-to-pointer-cast \ > + $(call cc-option,-Wunused-but-set-variable,-Wunused-const-variable) \ > + $(call cc-option,-Wold-style-declaration,-Wout-of-line-declaration) I think it would be better to leave off the second parameter of both of these, which is the fallback. > > obj-$(CONFIG_NTFS3_FS) += ntfs3.o > > -- > 2.31.1 -- Thanks, ~Nick Desaulniers