Message ID | 20160614200745.GA7548@char.us.oracle.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xen.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 991026021C for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 14 Jun 2016 20:09:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B5F42793B for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 14 Jun 2016 20:09:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7FBBE28236; Tue, 14 Jun 2016 20:09:53 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 20F582793B for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 14 Jun 2016 20:09:53 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1bCud2-00074D-EE; Tue, 14 Jun 2016 20:08:04 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <konrad.wilk@oracle.com>) id 1bCud0-00073k-PI for xen-devel@lists.xen.org; Tue, 14 Jun 2016 20:08:02 +0000 Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id 41/82-20705-22460675; Tue, 14 Jun 2016 20:08:02 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOIsWRWlGSWpSXmKPExsXSO6nOVVcxJSH c4OA2ZYslHxezODB6HN39mymAMYo1My8pvyKBNaP9yn/Ggm9sFX8Wb2RpYDzC2sXIxSEk0MYk ceXYdyYI5wujxLJ969ghnI2MEuf2HmDrYuQEcroZJbZdleti5ACyiySu3EoFCbMIqEq8uLqGE STMJmAi8WaVI0hYREBB4vmZBSwgY5gF5jFKPN37hB0kISyQKzFrYhMLiM0rYCaxtv8NK8T4LI kTT7dBxQUlTs58AmYzC2hJ3Pj3kglkPrOAtMTyfxwgYU4BPYllS7vA1ooKqEi8OlgPEpYQMJQ 4/XAb4wRGoVlIBs1CMmgWwqAFjMyrGNWLU4vKUot0DfWSijLTM0pyEzNzdA0NjPVyU4uLE9NT cxKTivWS83M3MQIDmQEIdjAu/+h0iFGSg0lJlPeyTkK4EF9SfkplRmJxRnxRaU5q8SFGGQ4OJ Qle9mSgnGBRanpqRVpmDjCmYNISHDxKIryKIGne4oLE3OLMdIjUKUZdjgU/bq9lEmLJy89LlR LnvZcEVCQAUpRRmgc3AhbflxhlpYR5GYGOEuIpSC3KzSxBlX/FKM7BqCTM+xNkCk9mXgncpld ARzABHWEzPR7kiJJEhJRUAyMr81Gnp+uOPH8RfsPNzf9jUr/5lrRF0t4bxFfObVXP/C+WJe8b yPZX8/ETlkBZuaBXn10szndujn8cWiMVk96UfMpwqrW9Y4BAVMqDVjdfwzhtZ9u5YWUKh7dcz Xj2TmBl0iU1Izd9j/8Lv6p6OZ+YcamkVHf3TtFyTrZPU/xW5MTxt1+YoMRSnJFoqMVcVJwIAI wvLczqAgAA X-Env-Sender: konrad.wilk@oracle.com X-Msg-Ref: server-9.tower-31.messagelabs.com!1465934879!8726055!1 X-Originating-IP: [141.146.126.69] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMTQxLjE0Ni4xMjYuNjkgPT4gMjc3MjE4\n X-StarScan-Received: X-StarScan-Version: 8.46; banners=-,-,- X-VirusChecked: Checked Received: (qmail 50517 invoked from network); 14 Jun 2016 20:08:01 -0000 Received: from aserp1040.oracle.com (HELO aserp1040.oracle.com) (141.146.126.69) by server-9.tower-31.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 14 Jun 2016 20:08:01 -0000 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u5EK7o9G016831 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 14 Jun 2016 20:07:51 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u5EK7m8K005014 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 14 Jun 2016 20:07:48 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u5EK7ltT030286; Tue, 14 Jun 2016 20:07:47 GMT Received: from char.us.oracle.com (/10.137.176.158) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 14 Jun 2016 13:07:47 -0700 Received: by char.us.oracle.com (Postfix, from userid 1000) id 0DFEA6A011C; Tue, 14 Jun 2016 16:07:46 -0400 (EDT) Date: Tue, 14 Jun 2016 16:07:45 -0400 From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> To: Olaf Hering <olaf@aepfle.de> Message-ID: <20160614200745.GA7548@char.us.oracle.com> References: <1465488172-29775-1-git-send-email-dongli.zhang@oracle.com> <20160614192245.GA5937@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20160614192245.GA5937@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Source-IP: userv0021.oracle.com [156.151.31.71] Cc: Dongli Zhang <dongli.zhang@oracle.com>, ross.lagerwall@citrix.com, ian.jackson@eu.citrix.com, wei.liu2@citrix.com, xen-devel@lists.xen.org Subject: Re: [Xen-devel] [PATCH 1/1] tools/livepatch: cleanup unnecessary "j = ARRAY_SIZE(action_options); " X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xen.org> List-Unsubscribe: <http://lists.xen.org/cgi-bin/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xen.org> List-Help: <mailto:xen-devel-request@lists.xen.org?subject=help> List-Subscribe: <http://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" <xen-devel-bounces@lists.xen.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/tools/misc/xen-livepatch.c b/tools/misc/xen-livepatch.c index 3162489..62c072e 100644 --- a/tools/misc/xen-livepatch.c +++ b/tools/misc/xen-livepatch.c @@ -412,7 +412,7 @@ struct { int main(int argc, char *argv[]) { - int i, j, ret; + int i, j = 0, ret; if ( argc <= 1 ) {