From patchwork Mon Oct 26 14:57:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonny Grant X-Patchwork-Id: 40873 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 96DD2393C84B; Mon, 26 Oct 2020 14:57:39 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id 241FE385782D for ; Mon, 26 Oct 2020 14:57:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 241FE385782D 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-x434.google.com with SMTP id h5so12944056wrv.7 for ; Mon, 26 Oct 2020 07:57: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=PunNHajQS1DhRhfkV3S4auAtkbp5WpId0BQ9ETxylZg=; b=MZPEeTlzExeFwYottizJjF+9FxQ4XTR4SaMPnMp6ovsMun3gNaf7WEscyMObMTIyuB o4+Uf5sIti5MhU1GKKOImXOMw+32Bh4X0vz7xmyrLzxkFUBP3xZIavUXVFFg92CQppGr +1H8BncQraQPxCvWlXrBFeC0ddpTAHvkBprlXsz3pqpDBPWpDJ4ugH82heU2iaSv6jw3 noF+0SxYp5F8O9jTuZNEbtL7Vnko6QgP6VJXEpYgLj4NV8AtjfTgYE3ljpvfoXaHhE99 M9fu9GwCbz27ZuKktCfllA/z55EKMBrzkPwun9TDWy5KXcyqtKIfCL/KCOou/CJf2CnT QpFA== 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=PunNHajQS1DhRhfkV3S4auAtkbp5WpId0BQ9ETxylZg=; b=dPDjPpGWjWobKBfXMXZVTwelzDkzwcuoyJqlSv9eA4DUmhBMy6CL62j144fPD+iUjD qSI0ICrqX16gBZlIV3nn8zPvMnqmfY6c/tF1gIdGSU3Y7cL4h5rSqA008Vmb9iPru7cQ kzRcxiWRNVYb+tozWYxBa/TmpndNZsvPke4L0f3xDk6kZvomRXIhO/nrTFSICJyaDcoP EyOy9nhhRqmRbb/W6Gr0xlcspmOwZasjUvcdVTkzUCJNO9TbiHdiHeQIjJx9e7/63YSa vqV2T0QWGq6I41ge8e+pg+PvCxEyPm0ZimKtdWln8Civozl4WpELVd4pN9Q8oesM6Do8 +VRg== X-Gm-Message-State: AOAM531NK2q7mOZUYMSW4F4WHHnSQN9UohjqYzU8KA+MJEQZYbcagWJs INjJzjuOKgvTjvAcVQ23wfZiEyB8MN1H4w== X-Google-Smtp-Source: ABdhPJw4TgFK23OknXzM1HnYtE2mzvpFE9kitV5Ru4X4+q9NY3I7i+zcgYw2N9fmfH2jQEALzLIb9Q== X-Received: by 2002:adf:c3cd:: with SMTP id d13mr18261182wrg.15.1603724256281; Mon, 26 Oct 2020 07:57:36 -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 i33sm24333370wri.79.2020.10.26.07.57.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Oct 2020 07:57:35 -0700 (PDT) From: Jonny Grant Subject: string: Amend grammar and add description To: GNU C Library Message-ID: <0ec75b22-6921-f79b-facd-61288aac9dd2@jguk.org> Date: Mon, 26 Oct 2020 14:57:34 +0000 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=-9.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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" Please find attached patch created against latest git. Regards, Jonny Reviewed-by: Carlos O'Donell From db2140094c0948b2dca801aa1253af0aeb8241e7 Mon Sep 17 00:00:00 2001 From: Jonny Grant Date: Mon, 26 Oct 2020 14:55:14 +0000 Subject: [PATCH] Amend grammar and add a description Signed-off-by: Jonny Grant --- string/byteswap.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/string/byteswap.h b/string/byteswap.h index ca600d863d..8f6939717c 100644 --- a/string/byteswap.h +++ b/string/byteswap.h @@ -1,4 +1,5 @@ -/* Copyright (C) 1997-2020 Free Software Foundation, Inc. +/* Swap byte order for 16, 32 and 64 bit values + Copyright (C) 1997-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -24,10 +25,10 @@ #include -/* The following definitions must all be macros since otherwise some +/* The following definitions must all be macros, otherwise some of the possible optimizations are not possible. */ -/* Return a value with all bytes in the 16 bit argument swapped. */ +/* Return a value with both bytes in the 16 bit argument swapped. */ #define bswap_16(x) __bswap_16 (x) /* Return a value with all bytes in the 32 bit argument swapped. */ -- 2.25.1