From patchwork Wed Mar 6 11:07:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 1052280 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44Drd1664qz9s9N for ; Wed, 6 Mar 2019 22:09:41 +1100 (AEDT) Received: from localhost ([127.0.0.1]:59287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1UQd-0005PE-MD for incoming@patchwork.ozlabs.org; Wed, 06 Mar 2019 06:09:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1UPS-00054S-Fq for qemu-devel@nongnu.org; Wed, 06 Mar 2019 06:08:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1UPQ-0002HC-4V for qemu-devel@nongnu.org; Wed, 06 Mar 2019 06:08:26 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:44943) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1UP7-00025X-23; Wed, 06 Mar 2019 06:08:05 -0500 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N2E9Y-1h6Kgw3aIQ-013fhD; Wed, 06 Mar 2019 12:07:37 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Wed, 6 Mar 2019 12:07:08 +0100 Message-Id: <20190306110711.309-8-laurent@vivier.eu> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190306110711.309-1-laurent@vivier.eu> References: <20190306110711.309-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:iy9Fh4p9H/qBwx7KAA3FjBD/7mcP34RChIlch90zwVuNjpMHBiR VpyRCXmdKUUhW8/x4XWCFI5DVMeTKyM76C+5ut5aCOsSsQRXM2i2AH0BL3JTsVmlDp/976a iy85M1UuDtWYgmq8NwzYvUVYm/q8MKpEYuMey095OFgAikjulSvrk1ejgWp0dW3YuZn9VN+ ZDdZ9hHXKcvkGotEiXJGw== X-UI-Out-Filterresults: notjunk:1; V03:K0:zkhO5HToiJE=:htkmcj3pW7ulyvj2jdrrV6 FJW28DBRH2+ifVJKKz/wBolclcr0OSCbJ0BjAhY9N1ucSH0+grPm9VXAg4Wkzmz+IVmHnRsLF dFxXn4IsRHgnCqJC4GrAlLxWl7zPb2BTsw8iKID2bjwpIDlNSWJv04fujrus3NCcCKT6+zmyg A4jYNlsL7pBHkVOyW7siCsgFbewX19hOHM0ECyEKldUrLIEejhG7rnajGZDRc9dWuHdQNGWlf so4NiAd0niVpCAtqjxfrl2p+6uT+QDbp8kUJ7d8TEoRdtYYJkKLTWYrt7JqV+XbVJpYLEbKh0 G4DnAfX7wAg5keBJ5gg+erakooBV+83OP2aKYdYx7bPVNdubVKyHt1sPNIvzqjs2dPr6ZDscJ LzESynRko1Fv0Of/OIP65IKo9fChFfIGRGMMTvc8G+Ch87ySSnWlszQYboOzBHarLKQ4sxbwN wU8HOn19h9y4FhkHzs5u+NpQBFf0ampLz7imaUQtIIGn23U8QG12GZ/2S2d0adGdLioks2Q2n k36PFt41NBh/YLjKKBGNlQVZG0o+bRxhnfhv34+a/48bX9ongLuxE8Dyo7/yfRsI/5WtFWY2v V/ePs463vZKKwr+Ewfy3zmr+rTpn/oaxB12+s0ZXYExRMVIrYuutYs/llgZhwHfF2jXgbnwQ5 WKjXFDev+7QUQfwS8ci7Dt9NFlPRYXHSBRuqX3LUwgwf5ZoEKNcd+xmDHgV+UUBUGFJ/f1y1K 7zI38N0ElM5H75NtVYBpGyY+n+zmCvu7Rx/1XqNUHNyB9CySyuXS4Xt3snY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.10 Subject: [Qemu-devel] [PULL 07/10] bswap: Fix accessors syntax in comment X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Li Zhijian , "Michael S. Tsirkin" , Michael Tokarev , Paolo Bonzini , zhanghailiang , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Halil Pasic , Christian Borntraeger , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Laurent Vivier , Tony Krowiak , Thomas Huth , Eduardo Habkost , Corey Minyard , Riku Voipio , Richard Henderson , Greg Kurz , qemu-s390x@nongnu.org, Pavel Dovgalyuk , Zhang Chen , John Snow , Richard Henderson , Kevin Wolf , Pierre Morel , Cornelia Huck , Laurent Vivier , Max Reitz , Igor Mammedov Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Greg Kurz All accessors that have an endian infix DO have an underscore between {size} and {endian}. Signed-off-by: Greg Kurz Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <155119086741.1037569.12734854713022304642.stgit@bahia.lan> Signed-off-by: Laurent Vivier --- include/qemu/bswap.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h index a684c1a7a298..5a70f78c0ba4 100644 --- a/include/qemu/bswap.h +++ b/include/qemu/bswap.h @@ -255,9 +255,9 @@ typedef union { /* * the generic syntax is: * - * load: ld{type}{sign}{size}{endian}_p(ptr) + * load: ld{type}{sign}{size}_{endian}_p(ptr) * - * store: st{type}{size}{endian}_p(ptr, val) + * store: st{type}{size}_{endian}_p(ptr, val) * * Note there are small differences with the softmmu access API! * @@ -293,10 +293,10 @@ typedef union { * * For cases where the size to be used is not fixed at compile time, * there are - * stn{endian}_p(ptr, sz, val) + * stn_{endian}_p(ptr, sz, val) * which stores @val to @ptr as an @endian-order number @sz bytes in size * and - * ldn{endian}_p(ptr, sz) + * ldn_{endian}_p(ptr, sz) * which loads @sz bytes from @ptr as an unsigned @endian-order number * and returns it in a uint64_t. */