From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 57F952D594F for ; Mon, 16 Feb 2026 17:50:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771264218; cv=none; b=hXMabXz0fseWDBeNXdQnF5UbMVkxbKeaqYLLOhYF2DvxwAj3R8mf6dvGju1G1p+TaGeNeUMCwjBIU5vlWdlkNChqP9C53RCyFR+7OqIc8Kg8MSxIyb9THGo3DKRdfeQw1JcRat3BjpLFKJvjQ/KlLvfoy7nPDCb85XAeKWisIag= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771264218; c=relaxed/simple; bh=rG/47OfKUebe4WZWFUbfl2bEO8x/XP6C0M6dGxqt6jU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=gIBmIxFVpo1dcPY4QIYq1PsEG+UYKqlKGRapJfZiddFN6Yed41qEcZ7hS8S4T81/g6s8wncTzzAX6Ak0dqGb0caoESwb3tn6pPFA9qAfaDIsPIB2xzQ3x6UgUf8ctusf45bR48bCM3vYnaS/SS523yfmBaeNQpml6qMQ/15xFEQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aHIM+zS5; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aHIM+zS5" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-2a7d98c1879so17860615ad.3 for ; Mon, 16 Feb 2026 09:50:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771264217; x=1771869017; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=4v1fAIra7fT95ebg+6JoHH+N4Or/PJb9vOIc+JmSiXE=; b=aHIM+zS5vkzL+OPP+msc43lFmD+dALVOk6Zvg6FgnMwc5CffAa2rbzOMIDtrmAVTxj vdAHZsSOHXqlWxVkTcLRsD48tO147fmmmldv4erK7sQvCH/obDg0EJP/yTHYcL+2O9Nq nul8tnI8FTqiV7TJil1Ji7YhTF/RejzyG28S6cFr/uFiOQK3YeoIwPpj0CFf2wEj4btF ZKiO2/8uiZpzdtFlBoHn/vuaN3/wT1vJbkAHpXUdFajFEk38jDvOqvP1UqCNtvM68Tw3 KRAONHCVtZNoKWJ6nKDEVw3YzJo6DMobUxwVfCfd6CrD8vhXi4RAHBjvucVJGdJj/ld/ vhbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771264217; x=1771869017; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=4v1fAIra7fT95ebg+6JoHH+N4Or/PJb9vOIc+JmSiXE=; b=di80RTvat10CQ1DDTrAaTmnSzcyBVgtTyz00JVtVO3j007oGSGphdY53WnGT7VNAEV w4uH+Dqv6QjCZRhLgWtabftEXBf1jyc/PsW+C1uKyqZY8kl25BCa3qJ8BefnhKAd75dr bmibsSqvoG9xUCrx9c3ZUCmVx+Pq3kkvABIC2GNp792pZwEhnq8IBix005SaQt002oGo P6E2pCcstWdDvMQvQ1zuiqpB0vZLd0WF8iCwdf4Dj9X3X3bNSgI3H08uUSjEum45DpDf zOKX+VWWEiGF7BgYgLFLzkx2O3cV7npO6Ai9xLt0MHs46nlP8dSzLb1uc6CM+GrQsbEt AUMw== X-Forwarded-Encrypted: i=1; AJvYcCUMR7iP9LDhyitpaU1NA6ydonwvo4jr3r+PEViH7a8Isufli1gifb/Iojyv4/zE+RBk8qQCJ8OVny6rUA8=@vger.kernel.org X-Gm-Message-State: AOJu0YxvbV0FGaelPto2Wt9nAQ6KWJFJ9wtoG79bvHMa2vQPXDMbIaPy Gs9P7KVeJqsEGAJqL2eA3JOUZA1tLd9gog+Gx6uFJX37Uy6RM1lvjwnG X-Gm-Gg: AZuq6aI4Nv6SkF+P0cmo94F2hsPuh8yV1NTNvAw/lBa7oX0R8E5CAikA+PlzZavgKxw UBn34uRSYxGcuGI1X8nn5SC8+JVE+TljpPHuKts5obi0LJv/IZ4pLoqZ/NnMRttN1rmrVnixMfy dpR4BkUj8EiBTs07HvnX1/xx8SrhEAz2gdu/tDjhwKaFz/QyFcoy7qDax1R0L9trpLSgaKf55GJ 2xJ4f8AG+qKVTVw1v0/3/qW900rSsOrY2HF5KHbXH4LgI6jH1MFBOVZwiblPbAj0AFeioUMchNl zPKrtOwgGz4XMd0clkuKN2zXwUjnsRs3dBKnFHylslW1+cmf0jEFZSgGGdXiq9pe6RzWJH19M6S ELocFcS+BJAhry5IauFN5tORGftzg/XO4y/wjzLo23RDjco2cgDITVXOpfGbpRB/kVjOYP4gngc JOkjf7pjIj9klGdQMBiO2lJaOs2QX3oaDb+lt5JnQ2JNnXIpYuYirYbIM1EwUaVX5+BV6N X-Received: by 2002:a17:902:cccd:b0:2a7:80bf:3131 with SMTP id d9443c01a7336-2ab5062d628mr94522245ad.58.1771264216721; Mon, 16 Feb 2026 09:50:16 -0800 (PST) Received: from sean-All-Series.. (1-160-221-65.dynamic-ip.hinet.net. [1.160.221.65]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ad1a9d5c58sm80759155ad.59.2026.02.16.09.50.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Feb 2026 09:50:16 -0800 (PST) From: Sean Chang To: nicolas.ferre@microchip.com, claudiu.beznea@tuxon.dev, trond.myklebust@hammerspace.com, anna@kernel.org Cc: netdev@vger.kernel.org, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, Sean Chang Subject: [PATCH v2 0/2] Fix warnings for RISC-V builds Date: Tue, 17 Feb 2026 01:49:48 +0800 Message-Id: <20260216174950.455244-1-seanwascoding@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series addresses several compiler warnings found when building the kernel for RISC-V. The first patch fixes unused variable warnings in the NFS client (including nfs4proc and flexfilelayout) that occur in certain build configurations. The second patch fixes a format-truncation warning in the MACB ethernet driver by ensuring the snprintf output fits within the destination buffer. v2: - Split the original treewide patch into subsystem-specific commits. - Added more detailed commit descriptions to satisfy checkpatch. Sean Chang (2): nfs: fix unused variable warnings net: macb: fix format-truncation warning drivers/net/ethernet/cadence/macb_main.c | 4 ++-- fs/nfs/flexfilelayout/flexfilelayout.c | 2 +- fs/nfs/flexfilelayout/flexfilelayoutdev.c | 3 ++- fs/nfs/nfs4proc.c | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) -- 2.34.1