From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) (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 D3795223DE7 for ; Fri, 10 Jul 2026 13:48:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783691292; cv=none; b=BXhVPkm3avPB8j9ejpHHprfCVcMW8IkSJXbfR35mKFcFISBOFiVuT/FrCWzbzGVuRs940L//e2YkLeDqi5TYzTsjDOIwVg8JNoS9CLFTy1x6SSnWIjn3BZU7Fa8XHTcRnfX6kNIabZLcg2T7S7giLTY7eUCoxuN0I4RIpsHPGXw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783691292; c=relaxed/simple; bh=ds+WsdpEi7oZyHbjA8JLco4Gx8semttP+OHBdfchtuo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=idOjrjlEoUYjeUMmh61ac5eFeu9OsMpx7/bSYPE5r+Mg+rYG3PM+vSPtYEjcXPUA3Lbw9K+hTHUjtS1o2t1YD3Gdmdi9Zd6elxOP18+w6Ng4RsNYNoSOmirFRnr2joQlUSqJQ/Y3x1pBwexA9LlW5nR5cF/kQoJC2l/IPx468mQ= 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=P7+6ZJhU; arc=none smtp.client-ip=209.85.210.177 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="P7+6ZJhU" Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-848593533cbso669035b3a.3 for ; Fri, 10 Jul 2026 06:48:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783691290; x=1784296090; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ds+WsdpEi7oZyHbjA8JLco4Gx8semttP+OHBdfchtuo=; b=P7+6ZJhUAyFl/eL93ysieNKvVAVUVo7ZIzXsuTTXNmjIVmIgvqzQyy9zAQlJMyBVKT U+Q1RrpQc2CcITCyDB5XwBUiFf6TYIqIzYsacAzhaDFwvJfo1m1QTGS4L6nchdXu0FWi 3BR/sXwFiMnv06pVanQTZUiwu6FxXrS6YfVUTYXuu57EQB1M169NNQ5GgaIBCFJKThUe JmOj8P3PxUwJZ6gpuGmBHr3O1ZSB5+AGjzTi0leGWcOkeVtgVUCXwDPH3Z+gj64ehl7j LKUYDHkzdN02UjdL23DdXlvqsXpqsAKwR4Q53aEmilDWqkNS1yIpugi7BGO/UZ6YNvwY kKqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783691290; x=1784296090; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=ds+WsdpEi7oZyHbjA8JLco4Gx8semttP+OHBdfchtuo=; b=a2nwAklQw1jlU5lvSqIwUD7j3oULJZmkyd1Rtr/IyeM8BsJ6GkE8ri55vdn5z/Q9iZ FeXhJwYwXiI8yN3Xqfc92dhG4IRYCGOSJ942/ThZRUM+8Kz4ntusc5RE86Qo3sd64uC1 LXuMPJD+ZEJnDv0wbWAcxBTF6PJsODdxsrh2yYvjEvu58fl0paHTrKKOjgx057acTTo1 uYbYZRhZo11gX1sFC4hyxosZZETfcvhdTCX5zMkhRqaQpWs8Ehjn4yRgprIXVEYryhbB /2jPoWogVmgjYSDHSehaff4Arb4wzth+qWsHRuShxl+uDAyHxf6YVV1c6TU2Dy/CTAPU i/vA== X-Forwarded-Encrypted: i=1; AHgh+Ro4kUSc+pLFpVP8jNa57YN1GoTj1/+FTAQpQBA/kqLCBQUhyG7+PrCFDAqF9BwxokLalUUBW3Jj3jsBLpM=@vger.kernel.org X-Gm-Message-State: AOJu0YzBTITUYa2dWYuXB7jOLRp9UE5q3vMXnuY0zMbUL9eq+vGArHNg KwrrKDF7EFXfQVkm8cfJeoSuXDaQu9EDhzOFwk5b/55Skpo1yi9cTpjM X-Gm-Gg: AfdE7cnD48qB4PbffLCS+aHkCqGdiVUzhcb1OpJhPvnL3WpKxx2KVpPl7x2VLI+lLIB pX0QxBAwvZGo9SW13DY6cgAALBLpoLBuZ/+N/Gag6CHigOEK/iEHekVbyOobyca25dGV87P/SpJ 4nV57MEC8JsQRqmA4pi4N+s+XnKAMve6F+twAkSO1+LP76fJSee/7FmG7eEim3TwMgm3uBuDVB6 IJgZsSASimtg2N/fOAF5w282BFlhqkEaH4vaEYybVKdNO3wDqXsKvMl6nYnwxqESf4qEIrNtd6o 7pfbGOX4faw6ligXG8tLMFhuLrlWM/ORHxCMwaSnOXnVNa00YNHiLk1hcT/7ACmSCOJfGqx1zBJ lDZ+GX94sAoAMh2EGHEjr5vFlVgL/1hUw8khfVv61zXUmQnjEO7FooTeePuDAbzKksRsJkB4b1/ NJwbP21JTPKxU+GLkKqkO11MN1/1JnBuJt8XMCwckW+72uCJvUQVbVOrXBsTMUjA== X-Received: by 2002:a05:6a20:d708:b0:3bf:6c04:a813 with SMTP id adf61e73a8af0-3c0bd1595c4mr14595018637.52.1783691290090; Fri, 10 Jul 2026 06:48:10 -0700 (PDT) Received: from localhost.localdomain ([2405:acc0:1306:5177:5cae:28a4:5419:ac62]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-13b659666e7sm48830449c88.7.2026.07.10.06.48.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 10 Jul 2026 06:48:09 -0700 (PDT) From: Laxman Acharya Padhya To: Enzo Matsumiya Cc: Steve French , Namjae Jeon , Steve French , Namjae Jeon , linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] smb: common: fix undefined shifts in LZ77 flag encoding Date: Fri, 10 Jul 2026 19:33:02 +0545 Message-ID: <20260710134802.43909-1-acharyalaxman8848@gmail.com> X-Mailer: git-send-email 2.51.2 In-Reply-To: <20260709173019.36808-1-acharyalaxman8848@gmail.com> References: <20260709173019.36808-1-acharyalaxman8848@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Enzo, Thanks for the clarification. My concern was that the current tree does not appear to enforce that constraint yet, so the code can still be built in 32-bit configurations and hit the 32-bit shift case. If the preferred fix is to make the 64-bit/little-endian requirement explicit at build time, I'm happy to defer to that direction. Regards, Laxman