From patchwork Tue Oct 6 20:51:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonny Grant X-Patchwork-Id: 40675 X-Patchwork-Delegate: arjun.is@lostca.se Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6FEAD3959E5C; Tue, 6 Oct 2020 20:52:02 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id 7FC623858D35 for ; Tue, 6 Oct 2020 20:51:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7FC623858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=jguk.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jg@jguk.org Received: by mail-wr1-x431.google.com with SMTP id z1so14969985wrt.3 for ; Tue, 06 Oct 2020 13:51:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; h=to:from:subject:message-id:date:user-agent:mime-version :content-language; bh=bDKo9r+g1cjc7Ui+gP9MVLV8c2ba8qhIC+/XZR4uIZM=; b=gDrVkJ+sYTmzftC3nNKnE/QNoa1EtzeP+iYfbA6wTbwgjRen8KIvIsqryWe0t4wm49 bEzuO10201TS6QQaMGjnR0a39g87BYa/ZRMLjhndn6cNZKuKFexEk9XwDFE6su1B/+7y 57DrJ/WE2qldjFlCYZjWZUj26WvGzHRUy6Jqlx7foAF7rBVhkvl4KKi+kcZSlevvS4Qo DfjE7ZFoZXb0G2jQEmG72UBmnW0OW9OHItDXbbikQhsSzHWOsDWqbDuENT//F9yDtOFA dCCGubP4IDcn4V/yTkc5TJCxQ3qH6uXZ0NQvR4Ewr76PgLeqTeHD3cNwZ2blv1j5DO6t YNog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=bDKo9r+g1cjc7Ui+gP9MVLV8c2ba8qhIC+/XZR4uIZM=; b=CKh8tO8OrPmzxwTND59vC2T44JD26t4yWe5fucEFikj5ZZnrskH5CQ35YAdxWWzsEf i6R7ipxonmOX36mGf0ez5JsFDMtf8f65OpGYCvXIe6HLdRyAMj31BNzXk2fhGT0/xiC+ wPH6vL5bKKDMe0hK512Pav2xbNJKAZPdFQcKX4HLnWG53hHE55vfUQp6t7mLpCG9EvZT Ee+QtgiEafU3Nz9gA93wmSsyCFPZIIzT7zX5Ru+ClWfJIHufcADX6RHtrdL6WHg3g9n2 R4p9HuS521zmnExt+Lc5uhijOTjjBrXhOYJ6bt+zOtkqzwE8ZAQgGn2Wypk0FpAl5hcF f+/w== X-Gm-Message-State: AOAM530CGKB80uy2bwIu6qDoBPeaLl4EGVv/YH7tqz/v9Kstw2wMH97+ VB0pSz8Xg2YW6ki2JEqjH0mXJA== X-Google-Smtp-Source: ABdhPJyYfjEmdbl+1rx/kwo6zKJOdBAMJn5+Nu0SAxTJ6aB7y9rngdW98CgByWBaowMUKOHzeEkC5g== X-Received: by 2002:adf:f212:: with SMTP id p18mr7209521wro.386.1602017517637; Tue, 06 Oct 2020 13:51:57 -0700 (PDT) Received: from [192.168.0.12] (cpc87281-slou4-2-0-cust47.17-4.cable.virginm.net. [92.236.12.48]) by smtp.gmail.com with ESMTPSA id u8sm4009414wrn.62.2020.10.06.13.51.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Oct 2020 13:51:56 -0700 (PDT) To: libc-alpha@sourceware.org From: Jonny Grant Subject: rt: Fix typos in comments in Message-ID: <8a0cc3af-935f-f39b-e4d5-f335c7b8d0e1@jguk.org> Date: Tue, 6 Oct 2020 21:51:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Language: en-GB X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Hello This is my final patch for this file. ChangeLog: 2020-10-06 Jonny Grant * aio.h: Fix typos in comments. --- aio.h.orig 2020-10-05 21:46:23.354543383 +0100 +++ aio.h 2020-10-06 21:49:38.666161328 +0100 @@ -33,7 +33,7 @@ /* Asynchronous I/O control block. */ struct aiocb { - int aio_fildes; /* File desriptor. */ + int aio_fildes; /* File descriptor. */ int aio_lio_opcode; /* Operation to be performed. */ int aio_reqprio; /* Request priority offset. */ volatile void *aio_buf; /* Location of buffer. */ @@ -61,7 +61,7 @@ #ifdef __USE_LARGEFILE64 struct aiocb64 { - int aio_fildes; /* File desriptor. */ + int aio_fildes; /* File descriptor. */ int aio_lio_opcode; /* Operation to be performed. */ int aio_reqprio; /* Request priority offset. */ volatile void *aio_buf; /* Location of buffer. */ @@ -82,12 +82,11 @@ #ifdef __USE_GNU -/* To customize the implementation one can use the following struct. - This implementation follows the one in Irix. */ +/* To optimize the implementation one can use the following struct. */ struct aioinit { - int aio_threads; /* Maximal number of threads. */ - int aio_num; /* Number of expected simultanious requests. */ + int aio_threads; /* Maximum number of threads. */ + int aio_num; /* Number of expected simultaneous requests. */ int aio_locks; /* Not used. */ int aio_usedba; /* Not used. */ int aio_debug; /* Not used. */ @@ -99,7 +98,7 @@ #endif -/* Return values of cancelation function. */ +/* Return values of the aio_cancel function. */ enum { AIO_CANCELED,