Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1443556pxj; Sat, 15 May 2021 15:18:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/iWfGY5DkoopwQM4k3dcIAmpx/ZhAZS8TCsgGSirawBujzwckJrmxtkDDARwLdCIfam8Q X-Received: by 2002:aa7:d455:: with SMTP id q21mr13812283edr.2.1621117110869; Sat, 15 May 2021 15:18:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621117110; cv=none; d=google.com; s=arc-20160816; b=jAS6X/bszZ1dKuoCQMFE/CeMQb+P7Hk/DrHtXrUiw0l+/XVCfkhDV2KhctVJdWdHTz ln5S0YThad0GXQS3AV9tvtrIzvFclPnsIyPAycVNW9Zhu/HJ2yXXrJ0yg8dZSS1yKcJ6 DjBxAt7LkpjB1wRNK8lZDMDJePQkHl19gCxjhFUnjShtUf0JnTta0q5rEW/zg1wicgaT pJtclyS5LO9kSQ1q5x9v4lcH3aGgdQFniV4odGGmERt0ZJVHDhyP+BEfu/spmLv6soPZ xHVgmouq3CuhxC+2WyaGJYtKSkEs0xkjKqe1H68pBF/uCc9aUVZQIgSSHd8frs9RaXus 7Z6Q== 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=M7FG3BGvp3UM5jwkyXQ9ZlVnWzk7AoLwEg4DG0jV0g8=; b=gxJx58xtx4YKoLm/x/1W+ECPeEcNOZtAt5V3TRhy965imTY9f12XD/rxF803rl9wSI oOYua5cSTXwQ187tDQUFQSbn3gGenl0aBvtBr3FUbYigyqCuPJzxMBeAXjP0i9cGBUhU INEJfenLZnsexPdJvZPaR7KzJEmUekCCGk7FHIK7RJlEoPp5L4YcshiXu+Rdqenhk8Cs VTSby6vfNu9hAvG+TH5HOw1fKuv7BcfAOUpsOSAV5WeleuqMDRvSVZ1av/G4Sk9T7idk djOr7uLiXclXXVD999NXmEm5rNZ1gTdlxR5+IlIVv+M07EXWtAMfvZN4btB7bBIxQ/a3 ry0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BlIAn7yB; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p7si1084826edr.600.2021.05.15.15.18.07; Sat, 15 May 2021 15:18:30 -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=@gmail.com header.s=20161025 header.b=BlIAn7yB; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231715AbhEOOVP (ORCPT + 99 others); Sat, 15 May 2021 10:21:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229504AbhEOOVN (ORCPT ); Sat, 15 May 2021 10:21:13 -0400 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FACFC061573 for ; Sat, 15 May 2021 07:19:57 -0700 (PDT) Received: by mail-yb1-xb31.google.com with SMTP id c14so2722963ybr.5 for ; Sat, 15 May 2021 07:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=M7FG3BGvp3UM5jwkyXQ9ZlVnWzk7AoLwEg4DG0jV0g8=; b=BlIAn7yBovT7i7007o96Z+T7lmIZb332DXK1i2O8sFig6d321Ic8GTpblnTqe4Gtox t7X9JHi8YC9DT2FEgiSApT0FeTzVss+jQj1yjNxCNFbsJFjnzzfVBU38R3SBwLRYtVzG WFK0h/WaM9sHGrrrrHM6jqENYuXVgwBWjH4mCLW9ax82V6h/QfqeR7ABbBgaI7rbZbMs CHDbCERJxfXeyQj17aVd3f5ohCNg1RHrMyu7SS8zV5CTZzEjBjAShqE7jwATlqZ19vrW uR52QvlUng5HiDpEjdpn9ngMph7SqtZ1QgOmBE3ghdvi3M/wo3w3lKF/vvz3/fHmOb3n kv5w== 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=M7FG3BGvp3UM5jwkyXQ9ZlVnWzk7AoLwEg4DG0jV0g8=; b=Sr7hEdKWDrwuTy6v9aBj1zdQaRhHdOonYn3MSnUYSHhJ9zs8xW5F01wvLj71kQHzlZ ZHYqvOh+AxD4FkU/LwIiyPZG1HfTlvIXaKRkZo8qvDUuASod61bZTRBZCuVWLunXLrGI xQn1uLqFcf3C1SEzlK6K8Y/9yUyfYc0kKEwL58ZqgioOEh9iUZw3FcHqhaHPkbeTkDzq CpBZM6nPZyruzmU0m4ZApuxvHo+SjwbgLg2pYC8WhHkpqkBI6jAXtWMvqLGU22cWOaEX +hbyJg39JEXQ1JjlBlcANm3LcY8guLlzrBSZKIeSzE6nk8v4UHMvVXlTBlVzMMao8T8A LUvw== X-Gm-Message-State: AOAM532ovx9Vr/a8BXeMmaYATe/JrfHB1eQuzcEB+0BZ2q1JxisL51VC wk1JMEZdd1M5RQbySBrWM69G0XlBye2E87LqiI0= X-Received: by 2002:a25:8803:: with SMTP id c3mr36944040ybl.115.1621088396581; Sat, 15 May 2021 07:19:56 -0700 (PDT) MIME-Version: 1.0 References: <20210514140015.2944744-1-arnd@kernel.org> <0ad11966-b286-395e-e9ca-e278de6ef872@kernel.org> <20210514193657.GM975577@paulmck-ThinkPad-P17-Gen-1> <534d9b03-6fb2-627a-399d-36e7127e19ff@kernel.org> <20210514201808.GO975577@paulmck-ThinkPad-P17-Gen-1> In-Reply-To: From: Miguel Ojeda Date: Sat, 15 May 2021 16:19:45 +0200 Message-ID: Subject: Re: [PATCH] kcsan: fix debugfs initcall return type To: Marco Elver Cc: Arnd Bergmann , "Paul E. McKenney" , Nathan Chancellor , Nick Desaulniers , Greg Kroah-Hartman , Dmitry Vyukov , kasan-dev , Linux Kernel Mailing List , clang-built-linux Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 15, 2021 at 1:01 AM 'Marco Elver' via Clang Built Linux wrote: > > FWIW, this prompted me to see if I can convince the compiler to complain > in all configs. The below is what I came up with and will send once the > fix here has landed. Need to check a few other config+arch combinations > (allyesconfig with gcc on x86_64 is good). +1 Works for LLVM=1 too (x86_64, small config). Reviewed-by: Miguel Ojeda Cheers, Miguel