From patchwork Tue Apr 12 18:17:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nutan Shinde X-Patchwork-Id: 8813851 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D2E4BC0553 for ; Tue, 12 Apr 2016 18:17:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3299D20361 for ; Tue, 12 Apr 2016 18:17:38 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 75AFC20145 for ; Tue, 12 Apr 2016 18:17:37 +0000 (UTC) Received: from localhost ([::1]:54855 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq2sa-0000TT-GS for patchwork-qemu-devel@patchwork.kernel.org; Tue, 12 Apr 2016 14:17:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq2sR-0000QI-I6 for qemu-devel@nongnu.org; Tue, 12 Apr 2016 14:17:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aq2sQ-0004dr-K8 for qemu-devel@nongnu.org; Tue, 12 Apr 2016 14:17:27 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:35337) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aq2sQ-0004cq-Ds for qemu-devel@nongnu.org; Tue, 12 Apr 2016 14:17:26 -0400 Received: by mail-wm0-x244.google.com with SMTP id a140so7593800wma.2 for ; Tue, 12 Apr 2016 11:17:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=ZjgEQlvQm7yXX3ykVuU0KGl5ngVC6yHXMSTDtqtsE9U=; b=SGfWD1gvn9jSi8Vj0JSARaAeRcizGu+Z1f4h3RPyeWyrIocuyjAGXP13Qz0DNbALZV 9uo3l5u2su7GNkDxpRWH/OT4g9bjkXSmeocGa9s9QyAFwdt9qyY1gy83XS6PJoN2zS55 9iVYgCGQWLo49nxKhq/LXonPnG9HZ+IoPSKWfg73i3YToJZS0sO9+v+52Ul/z9irtUZP UlbcGtRcA+ix+yKJM40hVmSdKbxHa/vjRHBFx3eCESxm5wdV1DMiYZ/+iKWi5Edh4Wis h61Lx/lnhFioHWQWJjWy9pRGn1BpnOKJ+hE6UdyBcMUdx5XvILuDaqY90n36D9NTbNYp 3kqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=ZjgEQlvQm7yXX3ykVuU0KGl5ngVC6yHXMSTDtqtsE9U=; b=DOcEbBSsFFk8EzkW5ymHq8AXqp26budwPeZI6H2f35mpXNqIzjO9bG2jUXrtQkayX8 LVWc7ARZjnBQfgsmZ733f1sNroaztjEqVfkGbhKJl8NJSOWi0++y0l68bzbs+M7zNeCt gIt5rXiLTPBL/e1P5e9NDLXw45MrFx5X5v8YGP5MyMekF9wkSBXGYLvI3Kynd6s9dNxN fuzLVCkgbzbiAZOzcPxnGEWuUXcT49yxBPF8Vj3yy6WEcs5+klyYDfpL80j4Ki7LwRSQ 4Z+kw8r61pdz1rHuH2aJ0ad7XC4FuUQNv1WqlOpDwmXYwEhwdz8NVN5Q5y9xP6J1ZUug IhQw== X-Gm-Message-State: AD7BkJLmT8/Fkpn6a4L0tQr/7qGydIbvzMrJx3AtBscVl8/wnMsha2shaB4AJgD60bZ+uYZx9JmqSW/zmaONxQ== MIME-Version: 1.0 X-Received: by 10.28.47.210 with SMTP id v201mr26913477wmv.56.1460485045769; Tue, 12 Apr 2016 11:17:25 -0700 (PDT) Received: by 10.194.38.101 with HTTP; Tue, 12 Apr 2016 11:17:25 -0700 (PDT) In-Reply-To: <1460484949-5798-1-git-send-email-nutanshinde1992@gmail.com> References: <1460484949-5798-1-git-send-email-nutanshinde1992@gmail.com> Date: Tue, 12 Apr 2016 23:47:25 +0530 Message-ID: From: Nutan Shinde To: pbonzini@redhat.com, QEMU Developers X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::244 Subject: [Qemu-devel] Fwd: [PATCH v2 2/5] Change return type of functions that are named *_exit or *_exitfn in hw/char from int to void 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: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This change is required because the return type of exit(error) function is not used. This patch only has changes for files in hw/char package. Signed-off-by: Nutan Shinde --- hw/char/sclpconsole-lm.c | 3 +-- hw/char/sclpconsole.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) -- 1.9.1 diff --git a/hw/char/sclpconsole-lm.c b/hw/char/sclpconsole-lm.c index 7d4ff81..a9a9703 100644 --- a/hw/char/sclpconsole-lm.c +++ b/hw/char/sclpconsole-lm.c @@ -328,9 +328,8 @@ static int console_init(SCLPEvent *event) return 0; } -static int console_exit(SCLPEvent *event) +static console_exit(SCLPEvent *event) { - return 0; } static void console_reset(DeviceState *dev) diff --git a/hw/char/sclpconsole.c b/hw/char/sclpconsole.c index 45997ff..d179404 100644 --- a/hw/char/sclpconsole.c +++ b/hw/char/sclpconsole.c @@ -242,9 +242,8 @@ static void console_reset(DeviceState *dev) scon->notify = false; } -static int console_exit(SCLPEvent *event) +static console_exit(SCLPEvent *event) { - return 0; } static Property console_properties[] = {