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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11147CD484A for ; Fri, 22 Sep 2023 17:32:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233430AbjIVRcQ (ORCPT ); Fri, 22 Sep 2023 13:32:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231803AbjIVRcA (ORCPT ); Fri, 22 Sep 2023 13:32:00 -0400 Received: from smtp.smtpout.orange.fr (smtp-15.smtpout.orange.fr [80.12.242.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BBBBCCA for ; Fri, 22 Sep 2023 10:31:15 -0700 (PDT) Received: from pop-os.home ([86.243.2.178]) by smtp.orange.fr with ESMTPA id jjzlq1mvsWkeLjjzlquvzJ; Fri, 22 Sep 2023 19:31:13 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1695403873; bh=0c+1nrtaYzzyJr/TMUP01Cfy/oTbrxiF1JN1eoAupD0=; h=From:To:Cc:Subject:Date; b=FoJEE5rScCw656R799hUGXQbCc58OWjIa5E8OZvqmu6yTdTIQQhNJUyZKtGbJahLj uGzKNhw2pvojdCk1iB0lsqaf59t160v76sLLD7JIoDichUPuLplCYAc9iTMSgfBkhk VXxnBjUqMaNNu5BH75vVfaovAz9m5EAS9EDxpJ3h3GZr4IthvKlZpSzuD6SL9FLbRn n+T3HtE0AwUzD56cY/K5qxOY7cUCwwgz9Ij7yqJECG65djgye7BdOXRMQIChjXrZ/4 p1aGiDCGlFekZW3M0xGCc8cTEh6Cfh97Daz20o2ZdOqwBjf/JRaWH8whK34h2tqYnC 2zwEcPXPMRB6g== X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Fri, 22 Sep 2023 19:31:13 +0200 X-ME-IP: 86.243.2.178 From: Christophe JAILLET Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH 0/3] fs: dlm: Fix some issues related to a buffer in dlm_create_debug_file() Date: Fri, 22 Sep 2023 19:31:07 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The goal of this serie is to remove a warning when building with W=1. (details in patch 2) Patch 1 is a preparation step. It is a no-op. The generated code is the same. Patch 2 is the real fix. Patch 3 is an additionnal clean-up. Christophe JAILLET (3): fs: dlm: Simplify buffer size computation in dlm_create_debug_file() fs: dlm: Fix the size of a buffer in dlm_create_debug_file() fs: dlm: Remove some useless memset() fs/dlm/debug_fs.c | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) -- 2.34.1