From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxGPe-0002qr-KK for qemu-devel@nongnu.org; Fri, 13 Nov 2015 10:37:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxGPZ-0001Bs-IL for qemu-devel@nongnu.org; Fri, 13 Nov 2015 10:37:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxGPZ-0001Ba-Cd for qemu-devel@nongnu.org; Fri, 13 Nov 2015 10:37:13 -0500 Date: Fri, 13 Nov 2015 13:37:09 -0200 From: Eduardo Habkost Message-ID: <20151113153709.GT4180@thinpad.lan.raisama.net> References: <1447171055-29567-1-git-send-email-stefanha@redhat.com> <1447171055-29567-2-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1447171055-29567-2-git-send-email-stefanha@redhat.com> Subject: Re: [Qemu-devel] [PATCH 1/3] monitor: avoid clang shifting negative signed warning List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Peter Maydell , qemu-devel@nongnu.org On Tue, Nov 10, 2015 at 03:57:33PM +0000, Stefan Hajnoczi wrote: > clang 3.7.0 on x86_64 warns about the following: > > target-i386/monitor.c:38:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] > addr |= -1LL << 48; > ~~~~ ^ > > Signed-off-by: Stefan Hajnoczi Reviewed-by: Eduardo Habkost Applied to x86 tree. Thanks! -- Eduardo