Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3685651pxb; Mon, 24 Jan 2022 15:19:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJyASHV7AeZCxBvHbBiJffIMf+IvUqxeHgd+5B1wM9xoZQB8SWhBkx3Oa4WPB9VD9ROxl3Q6 X-Received: by 2002:a17:90b:68c:: with SMTP id m12mr534612pjz.137.1643066371257; Mon, 24 Jan 2022 15:19:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643066371; cv=none; d=google.com; s=arc-20160816; b=vhFRsJxCOQISBabpHPV40yWYOp9TPXjodW0nm5tX2kFA5ON0m/ORzpBqYLvn1zrCYA 89aJ4H4PGqBCtAK5qQsKac/ASfKPt+JwRCDM3BmvdeyoLNYh2OR/1NbbRJ2H5caISuWQ ob7bNrHb3ipcsncjnZbdcabpRah9DtexT+qQyUDJiHe/Pv2CFSzAlglIJTy2cDIlb2UL VNlJhjjP5I2JJyEN1U9rnz/kgTuJZgDFMKCMArz+NHHUidrD2donJNlPJuj1XX6bHxC8 r3bPl+/WyEyT7rzIgxFiRYlhP0c+RBVigKvw82dsxfJ2FgitHCB0wQAKv3DZAwgNW8pJ A5dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=D4r2u99Yi6hoxFr8aj0TiV1X8zrkS7rAbvOMaICgCL8=; b=nkQa47jfCQzN0Tz86xTilghj9SArGmC2MgrElPYgxx/8OBv9VlI3CorgHqjHiiA0er +PPa22OngPhTXpTqHHWW1exrPmqroXlnJvFX6jBNGWB2vougQnHx/+l0LafSXB5XXGWI yUB1rACjRaTOgXB7FPIKqsjFcWv0UnCX2PpecHrz66GrH3buJ2peZlITD9h7q68yT3nj XqyBCgv8twfHGZSpOW+iF0yJHEFUyEtG35u7FhecS4TkzKAOw7gG7iT2Hztr/cB8OUUa uelgq03jHQFxX7ImzTMZhrYu9nm7se9J0Y9W4ckPwcoyESKzy/QYyiVtddz5gRYpKrrh EruQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fyygUE7b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si14904007pgj.552.2022.01.24.15.19.19; Mon, 24 Jan 2022 15:19:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fyygUE7b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1846795AbiAXXRE (ORCPT + 99 others); Mon, 24 Jan 2022 18:17:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381393AbiAXWRY (ORCPT ); Mon, 24 Jan 2022 17:17:24 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B04CC04A2EA; Mon, 24 Jan 2022 12:46:34 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 33EE8B80CCF; Mon, 24 Jan 2022 20:46:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E87CDC340E7; Mon, 24 Jan 2022 20:46:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643057192; bh=60JLLZy+JtWGkK8II3PXJSB9hxxKXb/hbCzkUXWJsIY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fyygUE7b+XhenzhMK0EsIEdK+yUOTYP1X3e3HiHXZkS8KF1xnB8dOekK6Y8PYW1Hf q2d8ujRqmW54MrTMKKIU7St0Qlcjaa8aE8b41ealE2/gUtc5wFi659XlOoeo5Rwc2z KY4lGdUzMaaM5nw3iDgQlmbj7DnkyLZaS8162kSI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marc Kleine-Budde Subject: [PATCH 5.15 732/846] can: mcp251xfd: mcp251xfd_tef_obj_read(): fix typo in error message Date: Mon, 24 Jan 2022 19:44:09 +0100 Message-Id: <20220124184126.252521332@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184100.867127425@linuxfoundation.org> References: <20220124184100.867127425@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marc Kleine-Budde commit 99e7cc3b3f85d9a583ab83f386315c59443509ae upstream. This patch fixes a typo in the error message in mcp251xfd_tef_obj_read(), if trying to read too many objects. Link: https://lore.kernel.org/all/20220105154300.1258636-3-mkl@pengutronix.de Fixes: 55e5b97f003e ("can: mcp25xxfd: add driver for Microchip MCP25xxFD SPI CAN") Signed-off-by: Marc Kleine-Budde Signed-off-by: Greg Kroah-Hartman --- drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c +++ b/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c @@ -1336,7 +1336,7 @@ mcp251xfd_tef_obj_read(const struct mcp2 len > tx_ring->obj_num || offset + len > tx_ring->obj_num)) { netdev_err(priv->ndev, - "Trying to read to many TEF objects (max=%d, offset=%d, len=%d).\n", + "Trying to read too many TEF objects (max=%d, offset=%d, len=%d).\n", tx_ring->obj_num, offset, len); return -ERANGE; }