From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv30h-0005Pd-GX for qemu-devel@nongnu.org; Thu, 12 Jun 2014 07:17:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wv30g-0006hb-OR for qemu-devel@nongnu.org; Thu, 12 Jun 2014 07:17:35 -0400 Received: from mail-qc0-x22b.google.com ([2607:f8b0:400d:c01::22b]:48021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wv30g-0006hN-JY for qemu-devel@nongnu.org; Thu, 12 Jun 2014 07:17:34 -0400 Received: by mail-qc0-f171.google.com with SMTP id w7so1632754qcr.16 for ; Thu, 12 Jun 2014 04:17:34 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1402569400-12242-3-git-send-email-sanidhya.iiith@gmail.com> References: <1402569400-12242-1-git-send-email-sanidhya.iiith@gmail.com> <1402569400-12242-3-git-send-email-sanidhya.iiith@gmail.com> From: Sanidhya Kashyap Date: Thu, 12 Jun 2014 16:47:14 +0530 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v3 2/7] RunState: added two new flags for bitmap dump and migration process List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu list Cc: Sanidhya Kashyap , "Dr. David Alan Gilbert" , Juan Quintela > int runstate_is_running(void) > { > - return runstate_check(RUN_STATE_RUNNING); > + return (runstate_check(RUN_STATE_RUNNING) || > + runstate_check(RUN_STATE_MIGRATE) || > + runstate_check(RUN_STATE_DUMP_BITMAP)); > } Forgot to apply the checkpatch script. The return should be without the braces. -- Sanidhya