From patchwork Mon Sep 8 10:51:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 36959 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f200.google.com (mail-pd0-f200.google.com [209.85.192.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A31822054D for ; Mon, 8 Sep 2014 10:53:15 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id ft15sf15265676pdb.11 for ; Mon, 08 Sep 2014 03:53:14 -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=AD1zcQgWZrNjteyRgb9Tq4OVBR7pj1mvNiy3Fe3z04g=; b=GJGY8tXyuihP8zJKNdXovDsbPn+6nZUdimNlQ4QPagCgqjDXuMYGhf1aFstmxW5Zqs gJxVkDWIOaOTgOfzXAaADWAt6lq4MYz3gwLbpThNe+MbwCponEPBe6qShRqE9qFzzZrJ U/myasE9qnQ4wepiZC6pZukNFzuZ2HLJdmeAz0XICqS5Fh+LPg+YFgcPB4m4XroAoXZb MI521rcYxQQGGKqptWGMjgzvskwZsqjeZL9dpLPsvMKLy7Jw+5usDFpYV+r+LKY0KvCX 1Q9nkpK3GbSVulQ72iFBVyEQ2xBrRP6PFM2yLx9H0CtkLhIMz5EOrNf1NNUXjRD4DEhh Xnxg== X-Gm-Message-State: ALoCoQkG4VeG9YNudZv4EhHIJm1fNhhMXguFn1ql0L6S8yF+FJFiADy6v05J4jX28XF0OGHrXZ2m X-Received: by 10.66.255.70 with SMTP id ao6mr17132565pad.5.1410173594644; Mon, 08 Sep 2014 03:53:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.51.206 with SMTP id u72ls494489qga.21.gmail; Mon, 08 Sep 2014 03:53:14 -0700 (PDT) X-Received: by 10.52.185.193 with SMTP id fe1mr8434543vdc.31.1410173594522; Mon, 08 Sep 2014 03:53:14 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id ee2si4361006vdb.40.2014.09.08.03.53.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 03:53:14 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id hy10so1542752vcb.3 for ; Mon, 08 Sep 2014 03:53:14 -0700 (PDT) X-Received: by 10.221.49.133 with SMTP id va5mr5326835vcb.37.1410173594449; Mon, 08 Sep 2014 03:53:14 -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.221.45.67 with SMTP id uj3csp114049vcb; Mon, 8 Sep 2014 03:53:14 -0700 (PDT) X-Received: by 10.224.15.81 with SMTP id j17mr21304298qaa.20.1410173593816; Mon, 08 Sep 2014 03:53:13 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id o111si10553099qge.85.2014.09.08.03.53.13 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 08 Sep 2014 03:53:13 -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]:42240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQwZN-00046Y-9O for patch@linaro.org; Mon, 08 Sep 2014 06:53:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQwYK-000362-74 for qemu-devel@nongnu.org; Mon, 08 Sep 2014 06:52:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQwYD-0007fv-DG for qemu-devel@nongnu.org; Mon, 08 Sep 2014 06:52:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQwYD-0007fq-6G for qemu-devel@nongnu.org; Mon, 08 Sep 2014 06:52:01 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s88ApxTR006110 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 8 Sep 2014 06:51:59 -0400 Received: from localhost (ovpn-112-62.ams2.redhat.com [10.36.112.62]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s88ApwFZ019757; Mon, 8 Sep 2014 06:51:58 -0400 From: Stefan Hajnoczi To: Date: Mon, 8 Sep 2014 11:51:27 +0100 Message-Id: <1410173509-26667-3-git-send-email-stefanha@redhat.com> In-Reply-To: <1410173509-26667-1-git-send-email-stefanha@redhat.com> References: <1410173509-26667-1-git-send-email-stefanha@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Peter Maydell , Laszlo Ersek , Stefan Hajnoczi Subject: [Qemu-devel] [PULL 02/24] pflash_cfi01: fixup stale DPRINTF() calls X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-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: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 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 From: Laszlo Ersek Signed-off-by: Laszlo Ersek Signed-off-by: Stefan Hajnoczi --- hw/block/pflash_cfi01.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/block/pflash_cfi01.c b/hw/block/pflash_cfi01.c index 2238f39..fddef39 100644 --- a/hw/block/pflash_cfi01.c +++ b/hw/block/pflash_cfi01.c @@ -209,11 +209,11 @@ static uint32_t pflash_devid_query(pflash_t *pfl, hwaddr offset) switch (boff & 0xFF) { case 0: resp = pfl->ident0; - DPRINTF("%s: Manufacturer Code %04x\n", __func__, ret); + DPRINTF("%s: Manufacturer Code %04x\n", __func__, resp); break; case 1: resp = pfl->ident1; - DPRINTF("%s: Device ID Code %04x\n", __func__, ret); + DPRINTF("%s: Device ID Code %04x\n", __func__, resp); break; default: DPRINTF("%s: Read Device Information offset=%x\n", __func__,