From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.parknet.co.jp (mail.parknet.co.jp [210.171.160.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1018B81ACA for ; Sun, 12 Apr 2026 06:21:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.171.160.6 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775974893; cv=none; b=j+6Ayhf8+KLXPMI9aQkMEEupt3n9uZESdt2Q2pDEk5iKiFVMvAhvrfGpDm752YPVaFT+E3RdxhuYihm+jaxUxWefFqS+4qamAqKmTb8/1d3karSLgJNjHTiGYz7DoLMxZJRqQazZeA+mO+5UnytqqnppciBexCAFwqXmL8Ed9yQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775974893; c=relaxed/simple; bh=23/unwVmh/TLbRMAfQ/nfbrRbRRVxQn/LTt2ZJKVl3w=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=lp5waq4aRcQg7rn+ZNQHt0zSJmYtR2DOD70XVl0oOQB28ug5pclsrs0qGqfDChpCQfaP5zJXz+MweED+ycI/RyjRfq6NAZ62oKBiEQp5fH5CKOSg7mG0NH+/lU0E+66NSqBpo/PbjzpaQgS80dpmmOjezpkbBBT/vYQR5BwVfsA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mail.parknet.co.jp; spf=pass smtp.mailfrom=parknet.co.jp; dkim=pass (2048-bit key) header.d=parknet.co.jp header.i=@parknet.co.jp header.b=6oFhT2Si; dkim=permerror (0-bit key) header.d=parknet.co.jp header.i=@parknet.co.jp header.b=MKxtaHga; arc=none smtp.client-ip=210.171.160.6 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mail.parknet.co.jp Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=parknet.co.jp Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=parknet.co.jp header.i=@parknet.co.jp header.b="6oFhT2Si"; dkim=permerror (0-bit key) header.d=parknet.co.jp header.i=@parknet.co.jp header.b="MKxtaHga" Received: from ibmpc.myhome.or.jp (server.parknet.ne.jp [210.171.168.39]) by mail.parknet.co.jp (Postfix) with ESMTPSA id 1568C20A0176; Sun, 12 Apr 2026 15:21:29 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=parknet.co.jp; s=20250114; t=1775974889; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ie6Q/N/w4ms/glQGtpo79Var+T5YskkjNLX3asp7Ljw=; b=6oFhT2SiPrBt+IS8gYwtUCw3PC34suvuDT9F+ho3ckYqayDpCj1wvxxY0gjnxGtKjgPWNY LL7MuD/ZaBJTdHECITVtKHe/SAfl9lcsavo7/+7vAe8pRLw23rIY1c9hErm4mpF/PEmWeN CPktLSKYfaxO286kdznw4O1gDftj5l6nSqNxZmDCKGPzoLfB5WPqR1cIMkeXC8vWumCQ1E 4HmGKAwxdMCKwopeEB+0t5tVZZrn8Kond3yp0RzsjAaajjuJxWN8ltEqQiY693ackrY/vj UmR57PXNH1xvlyfgVk6QS40Rdba1fI2+I+UVloaDyMvZJmtTEkHFBCSV/yZVIQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=parknet.co.jp; s=20250114-ed25519; t=1775974889; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ie6Q/N/w4ms/glQGtpo79Var+T5YskkjNLX3asp7Ljw=; b=MKxtaHgaHY/TGDlHyth5Noo4oZNXvuNs2s40jDPkgYGQ5yMLOZY39M4CtdasB5E8rtwKq9 S+oXgf6DKKCv6yBg== Received: from devron.myhome.or.jp (devron.myhome.or.jp [192.168.0.3]) by ibmpc.myhome.or.jp (Postfix) with ESMTPS id 91EB6E00112; Sun, 12 Apr 2026 15:21:28 +0900 (JST) Received: by devron.myhome.or.jp (Postfix, from userid 1000) id 82E2822000D8; Sun, 12 Apr 2026 15:21:28 +0900 (JST) From: OGAWA Hirofumi To: Ziran Zhang Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] FAT: Allow 0xE9 near jump in fat_read_static_bpb() In-Reply-To: <20260412035848.7971-1-zhangcoder@yeah.net> References: <20260412013929.9000-1-zhangcoder@yeah.net> <20260412035848.7971-1-zhangcoder@yeah.net> Date: Sun, 12 Apr 2026 15:21:28 +0900 Message-ID: <87wlyclmvr.fsf@mail.parknet.co.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Ziran Zhang writes: > Changes in v3: > - Fix line length over 80 columns (split condition into two lines) > - Correct version number from erroneous "v2 v2" to v3 > > Signed-off-by: Ziran Zhang Could you add original commit log, instead of changelog? Thanks. > --- > > Please ignore the earlier erroneous "[PATCH v2 v2]" patch. > This is the corrected v3. > > fs/fat/inode.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/fs/fat/inode.c b/fs/fat/inode.c > index 28f78df08..0e7d106ea 100644 > --- a/fs/fat/inode.c > +++ b/fs/fat/inode.c > @@ -1479,8 +1479,9 @@ static int fat_read_static_bpb(struct super_block *sb, > int error = -EINVAL; > unsigned i; > > - /* 16-bit DOS 1.x reliably wrote bootstrap short-jmp code */ > - if (b->ignored[0] != 0xeb || b->ignored[2] != 0x90) { > + /* 16-bit DOS 1.x reliably wrote bootstrap short-jmp or near-jmp code */ > + if ((b->ignored[0] != 0xeb || b->ignored[2] != 0x90) && > + (b->ignored[0] != 0xe9)) { > if (!silent) > fat_msg(sb, KERN_ERR, > "%s; no bootstrapping code", notdos1x); -- OGAWA Hirofumi