From patchwork Sat Jun 10 14:29:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 1793410 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=2404:9400:2221:ea00::3; helo=gandalf.ozlabs.org; envelope-from=srs0=fe1z=b6=vger.kernel.org=sparclinux-owner@ozlabs.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wanadoo.fr header.i=@wanadoo.fr header.a=rsa-sha256 header.s=t20230301 header.b=mg2ARX+1; dkim-atps=neutral Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QdgXF5XrWz20Ws for ; Sun, 11 Jun 2023 00:37:33 +1000 (AEST) Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4QdgXF4cJHz4wgq for ; Sun, 11 Jun 2023 00:37:33 +1000 (AEST) Received: by gandalf.ozlabs.org (Postfix) id 4QdgXF4YLtz4x4H; Sun, 11 Jun 2023 00:37:33 +1000 (AEST) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; dmarc=none (p=none dis=none) header.from=wanadoo.fr Authentication-Results: gandalf.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=sparclinux-owner@vger.kernel.org; receiver=) Authentication-Results: gandalf.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=wanadoo.fr header.i=@wanadoo.fr header.a=rsa-sha256 header.s=t20230301 header.b=mg2ARX+1; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4QdgXD14dRz4wgq for ; Sun, 11 Jun 2023 00:37:32 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233265AbjFJOhb (ORCPT ); Sat, 10 Jun 2023 10:37:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbjFJOha (ORCPT ); Sat, 10 Jun 2023 10:37:30 -0400 X-Greylist: delayed 450 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 10 Jun 2023 07:37:28 PDT Received: from smtp.smtpout.orange.fr (smtp-21.smtpout.orange.fr [80.12.242.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E722B30E8 for ; Sat, 10 Jun 2023 07:37:28 -0700 (PDT) Received: from pop-os.home ([86.243.2.178]) by smtp.orange.fr with ESMTPA id 7zbHqY0SlW2Gf7zbIq8AYt; Sat, 10 Jun 2023 16:29:56 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1686407397; bh=sPMzKdWTCeIaXKkyZnkASaVYeO7GZgv565HWu+Ri3g8=; h=From:To:Cc:Subject:Date; b=mg2ARX+1cRnl9jXvWy0xNoLwFoVhimZ3et4FnzrLwNNMqA958LOllMayjxbSy3ETK ymfaSdu2lru5rr25e8G/2evp+mKorWKFA3Chn+Jjf8NENJxIp2o+B0DOShv0gyJtRQ RNB78dXhvlau8XeaHVGRJbAxbwTplm9jbahrv6+ZTMVEnQGFnVNubamGZyEhnK6Q90 VnOR7ehDqTXljiK8IygqUQtmGb2J9BAsPwhBWzwjHnsVMZwx3A3TPfuHn3kAgjq6DH vGySYoW6M+aaEafihRVVcUoJspMEvj76B+ag77SSjy77YUK7gMXjQlF/Ct8dMTr1yB vGdeg9kUMz3bA== X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sat, 10 Jun 2023 16:29:56 +0200 X-ME-IP: 86.243.2.178 From: Christophe JAILLET To: "David S. Miller" Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , sparclinux@vger.kernel.org Subject: [PATCH] envctrl.h: Fix a typo in an example Date: Sat, 10 Jun 2023 16:29:48 +0200 Message-Id: <96e2fc8a1bcee8003a66eb5f20853dc36f203f30.1686407377.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: sparclinux@vger.kernel.org s/envtrl/envctrl/ (c missing) This way, it matches the device name given a few lines above and the name of the .h file Signed-off-by: Christophe JAILLET --- arch/sparc/include/uapi/asm/envctrl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sparc/include/uapi/asm/envctrl.h b/arch/sparc/include/uapi/asm/envctrl.h index cf8aa0a14f40..ee5a712fcd0d 100644 --- a/arch/sparc/include/uapi/asm/envctrl.h +++ b/arch/sparc/include/uapi/asm/envctrl.h @@ -20,7 +20,7 @@ * The device name is /dev/envctrl. * Below is sample usage: * - * fd = open("/dev/envtrl", O_RDONLY); + * fd = open("/dev/envctrl", O_RDONLY); * if (ioctl(fd, ENVCTRL_READ_SHUTDOWN_TEMPERATURE, 0) < 0) * printf("error\n"); * ret = read(fd, buf, 10);