Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2486263rdg; Mon, 16 Oct 2023 06:09:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE7tTRxawaOYU8wORU6MtYfmUli1u84MOEN6FfeHZTccPAbz8zLkNd/5L670FGwWqExsyEn X-Received: by 2002:a17:90a:1a:b0:27d:5946:5e2e with SMTP id 26-20020a17090a001a00b0027d59465e2emr3777693pja.1.1697461790884; Mon, 16 Oct 2023 06:09:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697461790; cv=none; d=google.com; s=arc-20160816; b=hYkf5Avch/WwrQZdIN10SZdZNayJhx1q+kWHm+YzZe3Hb7lk6Vhxwl2qjX8wOrQ71E mJrjn6CUYczS/GHCb2vD+gjhPHiY9VBK+JRTH8vaxbJHUiUHswqVouKMxxoM5AEMr665 LnDibRCcVRaktz0jYLDaIH3qthEYfSMR7nGTqBDmLeYgFofpWcOfOa31lUtqq5uCAahs lNjb1Ry/mmrxmDwG4eI/Z5gLbntNTKmBaai5HsCdHRakMb9qaNo6GEqc09/6HU1K7Jtl BQsL5omvWTpHYJ5ID7uT9TuIMkmxy19fTPwU+lI8Kw7QtC0c/ubfFq8FMv/B3Iil4uvk EwhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=aqjQe9/4vPv01/A9sddUQpMKF8Y0G1L9c/OT4FtHyBw=; fh=sJsIcL0ReSbnc/UOjFPI72n0J96MpDCb1aBqZkAAi+I=; b=YpbU0GUAaDSpRWmUm9jJSe85vmjsgq1a0LGKDahS2lECE1jO/fRu7Tv7LjB4NqWTTj g5tLRGyIfWsjJLZe9ejQzxWgdA96vttQ1rn/lFq8fwir4ikF+WUpXPx/Mb+8SZVCI2k0 eTG5oKY64TrnQLAnpAHWqoUUtPRh7AvQFrKBI7VE6whAyCLMrlhMgYUf4PM8DgKFqIwQ A1SfOwixH985eHc3s7cnMFEn2Fl/mbtjPftgiqVsGiZWTbJEKqn/pLwfSBCCD+Bz62y8 6df0fV4lL+iFTqgaSPteDDXSkTfji7CwgSOuzrNL3LLHjPwiX+qm73fiTw5nwMNmqWcq Y9AQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id lw10-20020a17090b180a00b00279020d1fb0si4936744pjb.129.2023.10.16.06.09.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 06:09:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id BA16B805A78A; Mon, 16 Oct 2023 06:09:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233501AbjJPNJ3 (ORCPT + 99 others); Mon, 16 Oct 2023 09:09:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232955AbjJPNJ1 (ORCPT ); Mon, 16 Oct 2023 09:09:27 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19BDFE8 for ; Mon, 16 Oct 2023 06:09:25 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:ce84:d8c0:f79a:fa0]) by albert.telenet-ops.be with bizsmtp id yd9L2A00W0pDX7N06d9MDP; Mon, 16 Oct 2023 15:09:23 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qsNLR-006jYs-DZ; Mon, 16 Oct 2023 15:09:20 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qsNLU-00A9nT-Ox; Mon, 16 Oct 2023 15:09:20 +0200 From: Geert Uytterhoeven To: Trond Myklebust , Anna Schumaker , Chuck Lever , Jeff Layton , Neil Brown , Olga Kornievskaia , Dai Ngo , Tom Talpey Cc: linux-nfs@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH -next v3 0/2] sunrpc: Fix W=1 compiler warnings Date: Mon, 16 Oct 2023 15:09:17 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 16 Oct 2023 06:09:48 -0700 (PDT) Hi all, This patch series fixes W=1 compiler warnings in sunrpc, related to variables that are used only when debugging is enabled. Changes compared to v2: - New patch "sunrpc: Wrap read accesses to rpc_task.tk_pid", - Add Acked-by. Changes compared to v1: - s/uncontionally/unconditionally/, - Drop CONFIG_SUNRPC_DEBUG check in fs/lockd/svclock.c to fix build failure. Thanks for your comments! Geert Uytterhoeven (2): sunrpc: Wrap read accesses to rpc_task.tk_pid sunrpc: Use no_printk() in dfprintk*() dummies fs/lockd/svclock.c | 2 -- fs/nfs/filelayout/filelayout.c | 12 ++++++------ fs/nfs/flexfilelayout/flexfilelayout.c | 9 +++------ include/linux/sunrpc/debug.h | 6 +++--- include/linux/sunrpc/sched.h | 10 ++++++++++ net/sunrpc/clnt.c | 2 +- net/sunrpc/debugfs.c | 2 +- 7 files changed, 24 insertions(+), 19 deletions(-) -- 2.34.1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds