From patchwork Tue Oct 9 10:21:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Qiang X-Patchwork-Id: 10632209 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C1E80112B for ; Tue, 9 Oct 2018 10:22:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A7E7A2892B for ; Tue, 9 Oct 2018 10:22:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9BBAA2897B; Tue, 9 Oct 2018 10:22:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AAC4F28D13 for ; Tue, 9 Oct 2018 10:22:07 +0000 (UTC) Received: from localhost ([::1]:50535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9p9S-0002sL-KO for patchwork-qemu-devel@patchwork.kernel.org; Tue, 09 Oct 2018 06:22:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9p8o-0002ZB-6n for qemu-devel@nongnu.org; Tue, 09 Oct 2018 06:21:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9p8j-0004Tb-3W for qemu-devel@nongnu.org; Tue, 09 Oct 2018 06:21:24 -0400 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:46005) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g9p8h-0004NL-0Z for qemu-devel@nongnu.org; Tue, 09 Oct 2018 06:21:20 -0400 Received: by mail-pl1-x644.google.com with SMTP id y15-v6so593759plr.12 for ; Tue, 09 Oct 2018 03:21:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=nDfmXmEqP60bQJoLqE0sjvNlp7nbKifIoCSisDZDtQo=; b=B2CfiMKyOYlR6ykQW6C3jmcEKAyOSRg3Vd+JJWOLxkQ4Lm4ddP7AWA6vWw2gNs/NeE QtfreBF3MmoSMRQkIL0iJgvSnTBMpFgzNqORxK3BpQbyqJBNRzVL1tT2HeK6d1kizXnQ xbPD9E0LCh8J4QGrJTWFH2V6Wif1DCrSdIN/MYAGtXPhgD+R3OpcFZVb1YSS3FEpoNQe P5hp8IhQl40pBKW8EO0zr+Srj+idvWh3tWq3ekhuHC5/JLOO+TE3lmOrXl/1BF4WYzRv Da/MlttLqOOGZRnzci+Ydf6y+4aZ7d7CcFJ1Z15NpELTGG5OHXxKOugs/zk3iag4Yfix bTzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nDfmXmEqP60bQJoLqE0sjvNlp7nbKifIoCSisDZDtQo=; b=fE8Z3DrGt4+TBTlbyx7usW8hgUFyOwMl38J+QvEoIa6Sn22dj/9o2C3VHZulRt3vUD /WMk2otSaN2xDXOcsZdWqoxy8Q+xfZcUbTZ0huGSq+CHnRmDDGBefCxgA15GakrDBNma VI/rHTFS6Eej6NXCKzSoZP/QLde6zUhy0kpUBDXSfQAqDhWCgFcMh34aqu85V/b0IG8a FGcDl8Pi6rQ1XJj9EtfrxR2ZKWbdCAR/5nMznxwc0ZpCLVBCv7n7tLwLruZN1+GJpNOS +HUGVEumKA/RZDIragBS/rlQ958jHXGDlHZ6Az3jOdHSxMAfq9aH+GI5KW8BLeNFoKOv Vgvg== X-Gm-Message-State: ABuFfoj1SOGFwuzoRBLYxpp72wA+19dFFNn9yRVFbNrmie3u0xYSEfb3 DPWrQs/4VtyaoPPDILGEqEA= X-Google-Smtp-Source: ACcGV60LyxLt5+2cHWy1hOrW7DeearmY39e+YDJv1eF4UMMzw99qxTQ+a4fagB54OWFMlAnxmyWXMA== X-Received: by 2002:a17:902:a509:: with SMTP id s9-v6mr8549341plq.209.1539080474815; Tue, 09 Oct 2018 03:21:14 -0700 (PDT) Received: from localhost.localdomain.localdomain ([103.65.40.101]) by smtp.gmail.com with ESMTPSA id 84-v6sm38297056pfs.108.2018.10.09.03.21.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Oct 2018 03:21:14 -0700 (PDT) From: Li Qiang To: pbonzini@redhat.com Date: Tue, 9 Oct 2018 03:21:07 -0700 Message-Id: <1539080467-2976-1-git-send-email-liq3ea@gmail.com> X-Mailer: git-send-email 1.8.3.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::644 Subject: [Qemu-devel] [PATCH] memory.h: fix types in comments 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 Qiang , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Li Qiang Reviewed-by: Peter Maydell --- include/exec/memory.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/exec/memory.h b/include/exec/memory.h index 3a427aa..1fbbdaf 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -935,7 +935,7 @@ uint64_t memory_region_size(MemoryRegion *mr); /** * memory_region_is_ram: check whether a memory region is random access * - * Returns %true is a memory region is random access. + * Returns %true if a memory region is random access. * * @mr: the memory region being queried */ @@ -947,7 +947,7 @@ static inline bool memory_region_is_ram(MemoryRegion *mr) /** * memory_region_is_ram_device: check whether a memory region is a ram device * - * Returns %true is a memory region is a device backed ram region + * Returns %true if a memory region is a device backed ram region * * @mr: the memory region being queried */ @@ -1161,7 +1161,7 @@ uint8_t memory_region_get_dirty_log_mask(MemoryRegion *mr); /** * memory_region_is_rom: check whether a memory region is ROM * - * Returns %true is a memory region is read-only memory. + * Returns %true if a memory region is read-only memory. * * @mr: the memory region being queried */