From patchwork Tue Nov 27 19:08:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Dewey X-Patchwork-Id: 10701323 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 3378F1869 for ; Tue, 27 Nov 2018 19:09:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 22AB12C288 for ; Tue, 27 Nov 2018 19:09:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 120032C31F; Tue, 27 Nov 2018 19:09:58 +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.9 required=2.0 tests=BAYES_00,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 898B22C288 for ; Tue, 27 Nov 2018 19:09:57 +0000 (UTC) Received: from localhost ([::1]:44099 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRik8-0007ow-NN for patchwork-qemu-devel@patchwork.kernel.org; Tue, 27 Nov 2018 14:09:56 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59369) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRijX-0007Tk-09 for qemu-devel@nongnu.org; Tue, 27 Nov 2018 14:09:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRijS-0008En-1n for qemu-devel@nongnu.org; Tue, 27 Nov 2018 14:09:18 -0500 Received: from inet-orm.provo.novell.com ([137.65.248.124]:37803 helo=mail.novell.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gRijR-0008D4-So for qemu-devel@nongnu.org; Tue, 27 Nov 2018 14:09:14 -0500 Received: from linux-df8n.provo.novell.com (linux-df8n.dnsdhcp.provo.novell.com [137.65.132.51]) by mail.novell.com with ESMTP (TLS encrypted); Tue, 27 Nov 2018 12:08:55 -0700 From: Larry Dewey To: qemu-devel@nongnu.org Date: Tue, 27 Nov 2018 12:08:49 -0700 Message-Id: <20181127190849.10558-1-ldewey@suse.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 137.65.248.124 Subject: [Qemu-devel] [PATCH] trace: simple style changes 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: Larry Dewey , stefanha@redhat.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP This changes two lines in simple.c that end with a comma, and replaces them with a semi-colon. Signed-off-by: Larry Dewey Reviewed-by: John Snow --- trace/simple.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trace/simple.c b/trace/simple.c index 701dec639c..ac904eca91 100644 --- a/trace/simple.c +++ b/trace/simple.c @@ -169,9 +169,9 @@ static gpointer writeout_thread(gpointer opaque) wait_for_trace_records_available(); if (g_atomic_int_get(&dropped_events)) { - dropped.rec.event = DROPPED_EVENT_ID, + dropped.rec.event = DROPPED_EVENT_ID; dropped.rec.timestamp_ns = get_clock(); - dropped.rec.length = sizeof(TraceRecord) + sizeof(uint64_t), + dropped.rec.length = sizeof(TraceRecord) + sizeof(uint64_t); dropped.rec.pid = trace_pid; do { dropped_count = g_atomic_int_get(&dropped_events);