From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-172.mta0.migadu.com (out-172.mta0.migadu.com [91.218.175.172]) (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 F1617205AD1 for ; Tue, 18 Mar 2025 09:12:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742289182; cv=none; b=jZxN7VHYYAo63jpWBS3pClqz+DjkW+RR8ZL1HtVEKbOl76MsNn6oJTtUSJ+fcd1FDmOyuVQ6fF9IMB2hxi2HvJGTz9ZNyjSJTudmQKzndjHQPgN3StJZLj+/xu34r1OUZdBYySDCFFkPo1RVz/6IaWA+AA+WbuM3Mtw3q05/KcQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742289182; c=relaxed/simple; bh=Z4YTOTSA36iqz3MbQCDjz+JhOm+L6THDvTHVC6nFP5U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=QE1Eeh/G6hz7UHRqQ1XzAW3i8C2ClMub3cmeOZWa887/wK9E8qsWOr/Lpmfde+CtiYX+uA2n3rJKzqPJys3/8id73CeFszNtLN8vLs0gmjuTsN4U7Q4VuNz9VwdRb6OxQx3SuCW0DfNZcOS0kgoo83zFFooil88pm3JhdziEb/8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=DoihKZMy; arc=none smtp.client-ip=91.218.175.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="DoihKZMy" Message-ID: <0b152abf-f294-4707-9f3f-4b533eff15e7@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1742289164; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cgB9M7yoKw825VEzOEsUDhDnmsaFYXbAr/vYWMtcHDM=; b=DoihKZMyRn4ejD2fwl2+QXZfNNyZy2BV+/VHsJZ4DYCvhSOBxpSLZeyR5sf0DTkk4n5v3L j0CCVe1dgtBxvhrO3WbfAXmDiFt1Og3lJNjjG8HPaxcAiEoyzW2G7eCChh4IWd85p2cqel aTIo2L5LeYny/fhCpzOT/sp3lclvXQs= Date: Tue, 18 Mar 2025 17:12:36 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH] docs: networking: strparser: Fix a typo To: WangYuli , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, corbet@lwn.net Cc: netdev@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, tom@herbertland.com, zhanjun@uniontech.com, niecheng1@uniontech.com, guanwentao@uniontech.com, Sourcery AI References: Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Yanteng Si In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT 在 3/18/25 3:46 PM, WangYuli 写道: > The context indicates that 'than' is the correct word instead of 'then', > as a comparison is being performed. > > Given that 'then' is also a valid English word, checkpatch.pl wouldn't > have picked up on this spelling error. > > This typo was caught by AI during code review. > > Fixes: adcce4d5dd46 ("strparser: Documentation") > Reported-by: Sourcery AI > Suggested-by: Wentao Guan > Signed-off-by: WangYuli Reviewed-by: Yanteng Si Thanks, Yanteng > --- > Documentation/networking/strparser.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/networking/strparser.rst b/Documentation/networking/strparser.rst > index 7f623d1db72a..8dc6bb04c710 100644 > --- a/Documentation/networking/strparser.rst > +++ b/Documentation/networking/strparser.rst > @@ -180,7 +180,7 @@ There are seven callbacks: > struct contains two fields: offset and full_len. Offset is > where the message starts in the skb, and full_len is the > the length of the message. skb->len - offset may be greater > - then full_len since strparser does not trim the skb. > + than full_len since strparser does not trim the skb. > > :: >