From patchwork Fri Sep 5 16:13:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 36869 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f70.google.com (mail-oa0-f70.google.com [209.85.219.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7AAAD202A1 for ; Fri, 5 Sep 2014 16:15:31 +0000 (UTC) Received: by mail-oa0-f70.google.com with SMTP id eb12sf60234184oac.9 for ; Fri, 05 Sep 2014 09:15:31 -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=KEKkLBAV6aF3DDCS5uD5RtJ61P7QsS8dqo6rA9WmCxeHH1dZcA6hDrJlbetjydrUk4 Acf1Wl3peVeDUxfCrNEZGln8lt3yIyNRoDgzUIrX4zxxhOSrPKJlXDP2JPC6cOj4G0Rc 4I0i5MzGzpfffDajwbKu1Vwpj/SSJxle9flEhot1Gz4OGNftZzuvTBbXsELXaYbzbNcl xrIcHFOS7+LfsD7hnqhiMi4lbAYAyPP+r3iV1BKhfAhjnDEmLpamAwdSQd5P7didW8/z sY0fdYwvxVvYAvix+pz97sSTsyxkLVFXGMsNRDwePDvonEdI7zy8IQZaY2uW61AcQczo ZF6A== X-Gm-Message-State: ALoCoQkIUQAusrkDCYy7Rp4b+qNNc0l0IkToe92xNTIFX9UZbI+2hOt4xDarvVVsD5noxoCEtVQm X-Received: by 10.42.225.77 with SMTP id ir13mr7616854icb.3.1409933731095; Fri, 05 Sep 2014 09:15:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.37.35 with SMTP id q32ls811587qgq.50.gmail; Fri, 05 Sep 2014 09:15:30 -0700 (PDT) X-Received: by 10.52.165.116 with SMTP id yx20mr9720165vdb.13.1409933730922; Fri, 05 Sep 2014 09:15:30 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id zx7si1675289vdb.66.2014.09.05.09.15.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Sep 2014 09:15:30 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id hq11so12791605vcb.0 for ; Fri, 05 Sep 2014 09:15:30 -0700 (PDT) X-Received: by 10.52.129.200 with SMTP id ny8mr9742976vdb.27.1409933730692; Fri, 05 Sep 2014 09:15:30 -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 uj3csp106116vcb; Fri, 5 Sep 2014 09:15:30 -0700 (PDT) X-Received: by 10.229.57.138 with SMTP id c10mr20116099qch.30.1409933729758; Fri, 05 Sep 2014 09:15:29 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id v2si2028398qat.116.2014.09.05.09.15.29 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 05 Sep 2014 09:15:29 -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]:58847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPwAb-0004wQ-7Y for patch@linaro.org; Fri, 05 Sep 2014 12:15:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPw9P-0003fC-14 for qemu-devel@nongnu.org; Fri, 05 Sep 2014 12:14:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPw9G-0005mu-Gw for qemu-devel@nongnu.org; Fri, 05 Sep 2014 12:14:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:28985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPw9G-0005me-9X for qemu-devel@nongnu.org; Fri, 05 Sep 2014 12:14:06 -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 s85GE3RN006889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 5 Sep 2014 12:14:03 -0400 Received: from localhost (ovpn-112-65.ams2.redhat.com [10.36.112.65]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s85GE2RR023018; Fri, 5 Sep 2014 12:14:02 -0400 From: Stefan Hajnoczi To: Date: Fri, 5 Sep 2014 17:13:30 +0100 Message-Id: <1409933634-11331-3-git-send-email-stefanha@redhat.com> In-Reply-To: <1409933634-11331-1-git-send-email-stefanha@redhat.com> References: <1409933634-11331-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/26] 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.169 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__,