Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10781264ybi; Thu, 11 Jul 2019 10:53:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtdV1/Zhe01uL9x4RkpsWZY7/FVkgE279yGDDfolNU9TGuGLsP3s+IIUAbIr/9SgWExjos X-Received: by 2002:a63:4e60:: with SMTP id o32mr5858226pgl.68.1562867629240; Thu, 11 Jul 2019 10:53:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562867629; cv=none; d=google.com; s=arc-20160816; b=X9e1yfIulGSUo6ss0KAQyEIKNAbdIuWGexj4lvt6T5H93Re5/AhbMExiSO9MoTu5gx wPHB/owQUM13GHWP8h33QUNBtveniPKgyaO2CJu0PK/Rd0uAendWov08vlu0BM2mxYCu YqM1DKTGgmWE4Wb8sdgMTUPxn+EuiPMil3E7GZs124TflHHRJ08RMKEB2UHb6Mtexy+C W094DP67e2vYv9Y3ZghFsd2qgpjP3Y1sydg4z7neQy1Jd5b0xA3gNksOqF5x3mL8gw6u GuNsrV5/uvtCHCntrNbBMYvqABcn6QvLvXkTh7StBNENIVRg+JFRXAfUd2UDnnec9Dfs PDZw== 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:dkim-signature; bh=U3b0G1E1maoK6A4e9Ca/0e/KTMO66Xm7oZqBqZ5gCxk=; b=fK6QobsGM2pPUc7Q9HZ9uIAK1jrKfOCT0K/Y1zqU+uMJFpXKF9RF7pPcpLiBdYC/XR w8LSk/Zj8EMeJgqrOTFSGWV92RwwlBG18CwmUoiKlEk5nixPl9wkX+xK2G0OL+/+hrGY 8QyGStf0Ru8N/1qnA/OyTv7YUC/VHzDlDl5ivEnj+qM31nbp3uJ1ZLAXF3Oi0uJCk2rN EwvVmaTFSCPcvb+/99mCvxUjMuMVlQBhOtX/1+gclBpnN5rC85dWwSPH5ejAGqBgJ7Lf n7L3sfSJKwvarnz14VcF6w60D774RljPNHjjg6/0r516J3qq8pHwD4ti3HgUhisxUxZa MJNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TKv2sJnd; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si5949741pgi.432.2019.07.11.10.53.32; Thu, 11 Jul 2019 10:53:49 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TKv2sJnd; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728506AbfGKRaf (ORCPT + 99 others); Thu, 11 Jul 2019 13:30:35 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:35647 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728413AbfGKRaf (ORCPT ); Thu, 11 Jul 2019 13:30:35 -0400 Received: by mail-wr1-f67.google.com with SMTP id y4so7201626wrm.2; Thu, 11 Jul 2019 10:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=U3b0G1E1maoK6A4e9Ca/0e/KTMO66Xm7oZqBqZ5gCxk=; b=TKv2sJnddYV0SAh+0b25B0nWCvHDEp0nnayzul0ypf+gYb78r4UALyCCXmyeh68S/m sjP6uWt6XmfRcwXRmgGIaKwlUSAZzvz53a63//yW2whDjrf/6C+me2WXbjMrlmMN4Bjb I9Z1gXRMyU9ijAsFrOosCFBUaSdU+6VVK5lVAPDwWzpPQDqqDeFIsQPB3tmmooIh9ba6 Z0kn2DXQm4CVS+vfU0zlPIfnfjTBdUJgFMfkb+wqXBKTEDtzl9x1bcnE24sJaHK3vjtf DLeXLpYO0DrHvwK6apIx/3ugeAzRva63nTwZDd6HrqHMQJ/VZAFvC3GzlNc1w0z5mKTh kmRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=U3b0G1E1maoK6A4e9Ca/0e/KTMO66Xm7oZqBqZ5gCxk=; b=YPbYacoRBN3GKXlHPvhivqhhyJoGQVIL/ZFHFw2+086hLDYlh+zfjn37u1rZTGlpgy Tg3l+qn5jz9eLfmvXXjnAFEqLeXYjUZFwcb9CCcdYMAgBi5XmqnC5Qa8dTh+YuT3qztM aaNKlpb1aBOH2+WXqQggVEX7z+IjRpOvHgPnVTyFxZPaNhyzHSGONQYZpK3N7a6/fuGR mRYuYc93j0FSykrcD8uT79PHiDmfhb9OVY1t7kIGRKxk/FeQeWGL1pmGkgMNmasi7nIS 3rNFx8kC3P+wZE9DpExBOLru94uFT9x6CWISRe7GGcbIP6FecAExX/+1L0uA7Wfc5/TY rFwg== X-Gm-Message-State: APjAAAWpxj1e4tMdDkKw/KbvydW2AQHo8oP2OyjPS3ENqHKcQ3DAhEul 5SkP0eXhAne70PgqBxjnGa4= X-Received: by 2002:adf:90e7:: with SMTP id i94mr5935660wri.224.1562866232510; Thu, 11 Jul 2019 10:30:32 -0700 (PDT) Received: from archlinux-threadripper ([2a01:4f8:222:2f1b::2]) by smtp.gmail.com with ESMTPSA id y7sm4588363wmm.19.2019.07.11.10.30.31 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 11 Jul 2019 10:30:31 -0700 (PDT) Date: Thu, 11 Jul 2019 10:30:30 -0700 From: Nathan Chancellor To: Jason Gunthorpe Cc: Nick Desaulniers , Bernard Metzler , Doug Ledford , linux-rdma@vger.kernel.org, LKML , clang-built-linux Subject: Re: [PATCH] rdma/siw: Use proper enumerated type in map_cqe_status Message-ID: <20190711173030.GA844@archlinux-threadripper> References: <20190710174800.34451-1-natechancellor@gmail.com> <20190711081434.GA86557@archlinux-threadripper> <20190711133915.GA25807@ziepe.ca> <20190711171808.GF25807@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190711171808.GF25807@ziepe.ca> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 11, 2019 at 02:18:08PM -0300, Jason Gunthorpe wrote: > On Thu, Jul 11, 2019 at 10:16:44AM -0700, Nick Desaulniers wrote: > > On Thu, Jul 11, 2019 at 6:39 AM Jason Gunthorpe wrote: > > > > > > On Thu, Jul 11, 2019 at 01:14:34AM -0700, Nathan Chancellor wrote: > > > > Maybe time to start plumbing Clang into your test flow until it can get > > > > intergrated with more CI setups? :) It can catch some pretty dodgy > > > > behavior that GCC doesn't: > > > > > > I keep asking how to use clang to build the kernel and last I was told > > > it still wasn't ready.. > > > > > > Is it ready now? Is there some flow that will compile with clang > > > warning free, on any arch? (at least the portion of the kernel I check) > > > > $ make CC=clang ... > > > > Let us know if you find something we haven't already. > > https://clangbuiltlinux.github.io/ > > https://github.com/ClangBuiltLinux/linux/issues > > What clang version? > > Jason You'll need clang-9 for x86 because of the asm-goto requirement (or a selective set of reverts for clang-8) but everything else should be good with clang-8: https://travis-ci.com/ClangBuiltLinux/continuous-integration/builds/118745131 We wrote a Python script that builds an LLVM 9 toolchain suitable for kernel development that is self contained (doesn't install anything to your system): https://github.com/ClangBuiltLinux/tc-build Let me know if there are any issues with it if you give it a go, I've already fixed one from Thomas Gleixner: https://lore.kernel.org/lkml/alpine.DEB.2.21.1906262140570.32342@nanos.tec.linutronix.de/ Cheers, Nathan