Message ID | 1401717408-4607-16-git-send-email-kwolf@redhat.com |
---|---|
State | Accepted |
Commit | 675036e4dadd2426c93c54d7f7155f519eda53e6 |
Headers | show
Return-Path: <patchwork-forward+bncBDK4ZIUBSADBBAEJWKOAKGQEGU7JX4A@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4CA8B20AE6 for <linaro@patches.linaro.org>; Mon, 2 Jun 2014 14:04:49 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id tp5sf27504380ieb.5 for <linaro@patches.linaro.org>; Mon, 02 Jun 2014 07:04:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=8jlathKuYh3e0ANU6RFRrKjPnXCKTyKtP0m78oKCzxo=; b=ZAPqf7ai1JQqncR+yntF43fQvN2Srb5z6r+bdg7wJ/zW4QHSmYtXLmIhgAoJfHfrXS OVZ7rra/el/kiNLcKWN7cxsjxaCSWTqUTHMj1Vd/TRQTlI6fwdo88kRW8gJJq5DuvycY m4xXesp4ObaKLFxMAVm+u6qm1kxb2NosjAucZ33KVcA6YGdC03pqnwTcht3WxYI2h4Cu tq+3PcfZcLCM9SfwzPi2GjYvyy0k+qR7G1OI8jGlyRfzmjx4V9q0qSAm7daTZp+CIxMb pvbBaGxzAyR4KWXT9oYqb4zj11QOp+j/pX/2NK1kQwLgs/144YBqGeEQfjYCHFGVh5+I 0K7Q== X-Gm-Message-State: ALoCoQlvdqM1Pz+3WZ4E8dcsfM97fQrXqyWe1UVPiyiQC6TIUdnjUT/AboLFu59trPgrK8YNFIJ8 X-Received: by 10.51.17.10 with SMTP id ga10mr6446736igd.4.1401717888768; Mon, 02 Jun 2014 07:04:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.23.7 with SMTP id 7ls2080531qgo.60.gmail; Mon, 02 Jun 2014 07:04:48 -0700 (PDT) X-Received: by 10.52.74.196 with SMTP id w4mr25386377vdv.19.1401717888617; Mon, 02 Jun 2014 07:04:48 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id x19si7908212vct.69.2014.06.02.07.04.48 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Jun 2014 07:04:48 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.174 as permitted sender) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id jw12so5217538veb.19 for <patchwork-forward@linaro.org>; Mon, 02 Jun 2014 07:04:48 -0700 (PDT) X-Received: by 10.58.185.165 with SMTP id fd5mr1063714vec.41.1401717888558; Mon, 02 Jun 2014 07:04:48 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp100255vcb; Mon, 2 Jun 2014 07:04:48 -0700 (PDT) X-Received: by 10.224.166.201 with SMTP id n9mr49539737qay.95.1401717887982; Mon, 02 Jun 2014 07:04:47 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id p76si17524705qgd.71.2014.06.02.07.04.47 for <patch@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 02 Jun 2014 07:04:47 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:45407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1WrSr1-0003nc-Jo for patch@linaro.org; Mon, 02 Jun 2014 10:04:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <kwolf@redhat.com>) id 1WrSji-0002RE-Cf for qemu-devel@nongnu.org; Mon, 02 Jun 2014 09:57:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <kwolf@redhat.com>) id 1WrSjd-0003Vi-6A for qemu-devel@nongnu.org; Mon, 02 Jun 2014 09:57:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <kwolf@redhat.com>) id 1WrSjc-0003Uu-R6 for qemu-devel@nongnu.org; Mon, 02 Jun 2014 09:57:09 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s52Dv518011723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <qemu-devel@nongnu.org>; Mon, 2 Jun 2014 09:57:07 -0400 Received: from noname.str.redhat.com (dhcp-192-197.str.redhat.com [10.33.192.197]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s52DunJY000974; Mon, 2 Jun 2014 09:57:04 -0400 From: Kevin Wolf <kwolf@redhat.com> To: qemu-devel@nongnu.org Date: Mon, 2 Jun 2014 15:56:46 +0200 Message-Id: <1401717408-4607-16-git-send-email-kwolf@redhat.com> In-Reply-To: <1401717408-4607-1-git-send-email-kwolf@redhat.com> References: <1401717408-4607-1-git-send-email-kwolf@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: kwolf@redhat.com Subject: [Qemu-devel] [PULL 15/17] block/raw-posix.c: Avoid nonstandard LONG_LONG_MAX X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: kwolf@redhat.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/block/raw-posix.c b/block/raw-posix.c index 6586a0c..b7f0f26 100644 --- a/block/raw-posix.c +++ b/block/raw-posix.c @@ -1192,7 +1192,7 @@ again: if (size == 0) #endif #if defined(__APPLE__) && defined(__MACH__) - size = LONG_LONG_MAX; + size = LLONG_MAX; #else size = lseek(fd, 0LL, SEEK_END); #endif