From patchwork Mon Oct 5 21:15:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonny Grant X-Patchwork-Id: 40665 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 0611A386180C; Mon, 5 Oct 2020 21:15:40 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by sourceware.org (Postfix) with ESMTPS id E07D33857C4E for ; Mon, 5 Oct 2020 21:15:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E07D33857C4E 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-wm1-x329.google.com with SMTP id 13so900150wmf.0 for ; Mon, 05 Oct 2020 14:15:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jguk.org; s=google; h=from:subject:to:message-id:date:user-agent:mime-version :content-language; bh=GAEVkOXwABK3tZpPNaAJh1nXK/ky8PPb9+piZhPji2g=; b=d8hmip1fPOuTxFn1aRPEpk1u4bruSl2Xrjnrw5HVQMxFX8SZXzmrdou2z/VgaO5t+Y Hk6Ah0UvS2nt08WYZs78L0PHDzVVDHOQcYKWMJMICVBOvXU/Y4Dl4x6RKVT0Ubq3qXjH sTB80oNx72SPCFeZjqp9aVxR+TRzaaz1zUxSYFs2S3rBuEGNRCyBuSF5Zuf91Pi7KYOL CNuDpfoCXkv/unn7sLy/5jAvE9I3vJaAOS0oquzsHnwL8hpaTyl5lbvqSOq1syVyS8Iq bZZ5WI6ZW16hYZWNxTPLAAppVaYn94mvMtziuL8E6m+VLsUlQedB9Xf+JSTm4gIr96LR Hzdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-language; bh=GAEVkOXwABK3tZpPNaAJh1nXK/ky8PPb9+piZhPji2g=; b=aYkRhMY2WlcVCG0wKckC7VvVfL+lFyHwwGryQMixssWwajWyRvFEiZU7jfy3s3YmV7 eQk1n2mzei/8NIDmiJQM7gAbzhoJbbF/KN0W2mGFvk2fD0qF/ppE7vWYYqOfOAWKOkW0 pPibhQrEbl8SbNjB8Y5pmLaWna5tC6oCN/ZHLV+yMuRjGBzR0Dcj5Pe5svcTlVqyVAz2 /vlQUanyo0BJRGFFk6pwSGAaaGIUlwnNp+tpkLEznjSgHYFBU8TDGpEL6knteRWPtwp+ x2cHnETinKdz5cBcpOIVXqFobqaeMYKS6J0XGkrUGUsDf+8f/sQ8yiDe2L7XB3hUgvVh GSIQ== X-Gm-Message-State: AOAM5331w2Tm72S8xKLsY8g+z03wQctYOxfw6ilR9ke9HmH0ylPiwKYF 14EprsALr3I77PQnjLFzmhKabQ== X-Google-Smtp-Source: ABdhPJwUSjUyHlhp5w7lS8Cd0mW+A+q/ob3ASPpulX/z3QGCMUkn3HUTOC+FsM/tJfFopYicIiArLg== X-Received: by 2002:a7b:c925:: with SMTP id h5mr1251103wml.28.1601932537053; Mon, 05 Oct 2020 14:15:37 -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 d18sm1419289wrm.10.2020.10.05.14.15.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Oct 2020 14:15:36 -0700 (PDT) From: Jonny Grant Subject: aio.h fix typos in comments To: libc-alpha@sourceware.org Message-ID: <091db9ff-32bc-60a0-d8d5-06b7c0713943@jguk.org> Date: Mon, 5 Oct 2020 22:15:35 +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=-3.0 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 Would a patch be supported to fix these comments? I can go through the formal patch process if you would like me to. Also fix the spelling mistake "desriptor" twice , and "simultanious" Also I removed "This implementation follows the one in Irix. " Don't think it is relevant, at least now it isn't. Thanks Jonny --- aio.h.orig 2020-10-05 21:46:23.354543383 +0100 +++ aio.h_fix_typos 2020-10-05 22:11:30.415180225 +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 customize 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_num; /* Number of expected simultaneous requests. */ int aio_locks; /* Not used. */ int aio_usedba; /* Not used. */ int aio_debug; /* Not used. */