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: 105958 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1580191vqr; Sat, 10 Jun 2023 07:41:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4a+ye+iJicJjXnQUdFXAm9HR9/zxp/gasWNp/Pnt3dM8Xmq33OTaiQszU9kDhAwKtYE60Z X-Received: by 2002:a17:906:ee85:b0:966:5a6c:752d with SMTP id wt5-20020a170906ee8500b009665a6c752dmr4623451ejb.20.1686408087693; Sat, 10 Jun 2023 07:41:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686408087; cv=none; d=google.com; s=arc-20160816; b=xSlFkvOYrWUk0Nqy6htZMUFP90o54q9sPnPw/Uqv344LTqpBnzPR2CziwQyIvpZljO Bg/Y3+QNsYFUHtcHu3I0GnqDkBNLnjNfYhwsSjEuRTcx/qnG/fvWJqmdZW2wmYEuOoef DfO8ZOifo1HNsSJ6PKS7YbcHqpuU06GskclBeErkV3EvNgCvZn7dlUFeLUb2sP/yJs62 Nji+NhlBh7be3BVauKWo+NWc1R9++R4oZI3/v+SbNcKFpYPJePGTlAbWdreMcUcUwgMG tjUiu0PShNT9UqLYGZCQuAqIVzlroncufDcS9NX/hELPqW/3nPsn8Qn/nEaiPVIj5/EK d77Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=sPMzKdWTCeIaXKkyZnkASaVYeO7GZgv565HWu+Ri3g8=; b=g6+jM6s1uu/94zlJewhuVY9Dm8iBv4JJ8Ixnwl96gEafOWkmu9oVJtVrzDPwmrjaEN PZnenXdSN79GnIHuPIH9C5H1Sv29nFNd0eWCzK/7TBkXzSO9ocyXwW0m/Sd9HZVIPAAh P8JfRJDFMqOSw/Jyex/HnnnO1yZiQYzKcBX02AOfQeAusSzv8nrwH1AfMW1ZVTeY1hbz 3YVg/SmqZ6KJTFjahaoKDLOG730+/zPESjSiPd8GaGmVW6jDtLvevx5dR6BXnRTtomAe smuc/7Z1CoO3noyQYIRmjUIZUwiYiaoNTQqJmBelPM9d6DD2GPHD8pz0ZEgomWANRuvP K/ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=mg2ARX+1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dk16-20020a170906f0d000b0096a2eba9b0fsi2862631ejb.174.2023.06.10.07.40.32; Sat, 10 Jun 2023 07:41:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=mg2ARX+1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232366AbjFJOaB (ORCPT + 99 others); Sat, 10 Jun 2023 10:30:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbjFJO37 (ORCPT ); Sat, 10 Jun 2023 10:29:59 -0400 Received: from smtp.smtpout.orange.fr (smtp-22.smtpout.orange.fr [80.12.242.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A86CC0 for ; Sat, 10 Jun 2023 07:29:58 -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_H2,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: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768327047304599173?= X-GMAIL-MSGID: =?utf-8?q?1768327047304599173?= 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);