From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE2F3C433F5 for ; Tue, 21 Sep 2021 06:55:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A06A561183 for ; Tue, 21 Sep 2021 06:55:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229864AbhIUG5S (ORCPT ); Tue, 21 Sep 2021 02:57:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229755AbhIUG5R (ORCPT ); Tue, 21 Sep 2021 02:57:17 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAD55C061574; Mon, 20 Sep 2021 23:55:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=KWSPXjobthOjv72bqCNOz8DtPivvepRJCfJ3a2IGzHM=; b=Twf1Y7esJEIGgbcfiJ/xfL0vZD MTPhlau7lBnrnixVgS3MtIh9pGCwXN83jDSR+wuEdjoCynqpj0iY6I80vZLNgA3J5TFQpMhgcphEP b72IDA10v4n2oq/SfQzBmVSKsZH6Y0G7yZ+I6CdpcW9oB7DXbW97JV2IRyRzZBUZ+w6z95MI/AyPm 2fLYy+Bym1ENuzW9fGO9xhNlbU8hECVaJCJTpuyuwbvDJAPPmQpyGrmgRDmuEfe1SyVSIs2Rh9a/F AMXYM78n5+4yJpus79G+YJKAhCBjhfCcIuMZgYix6MPDP/YsoOFfup7njkNf/aMRN5qhMBjToXDu6 qQCdcqvw==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSZg0-003Zvt-3t; Tue, 21 Sep 2021 06:55:01 +0000 Date: Tue, 21 Sep 2021 07:54:48 +0100 From: Christoph Hellwig To: Arnd Bergmann Cc: Christoph Hellwig , Jens Axboe , Pavel Begunkov , Arnd Bergmann , io-uring@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [PATCH] [RFC] io_uring: warning about unused-but-set parameter Message-ID: References: <20210920121352.93063-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Mon, Sep 20, 2021 at 02:48:23PM +0200, Arnd Bergmann wrote: > complete madness of crouse, only -Wunused-but-set-parameter, > which is already part of W=1 and has the potential of catching > actual bugs such as Well, i you care about that just remove the locked = NULL; which is pretty weird anyway.