From patchwork Sat Aug 23 10:19:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laszlo Ersek X-Patchwork-Id: 35866 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8AF1720293 for ; Sat, 23 Aug 2014 10:20:18 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id f73sf38700915yha.7 for ; Sat, 23 Aug 2014 03:20:18 -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: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=srNvLAxag88tLQ5t0Lw8Hqa7qhIfvGjQvmrZcqmykS4=; b=Ss1hI3YRrdEnYDGZj+if+U77R8KOP34zGPynATp0vcx2UFF4WAO1YOZQFLXW5SyRRU VqAZcV/dyIzU5lnrbNuRmgEj+nAxhYFKgKI5kxOv1a1sCmsD94rO6yp90t3vQTYP0eGE ovvM/Q779Zi0s73PyWcGcx3jRKz8Bg99LPGw6tQ5zYYIcXvCth6bZNqrhSrPR0vfQ1KP JyrdMyKq/PgJgXTYb9Bkbk9epLNGeIz1tZURmQfhsobyNAmtqS/nvB1opwzk2yFxrZaN iEjM7j0f3Zbczz8IEgPTW1YGESnlTInWoO1byiDxtiG/jK1H1t94I57c+sK06QokcRK6 a1Gg== X-Gm-Message-State: ALoCoQmnVAIemG2u1nvgvEIX0Ve0ZBWdhjmJn3H0jf2F3tnolJHAesfn4Yznio+Ym/QNcSIDB5Hy X-Received: by 10.52.174.178 with SMTP id bt18mr6864504vdc.1.1408789218364; Sat, 23 Aug 2014 03:20:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.86.176 with SMTP id p45ls485993qgd.57.gmail; Sat, 23 Aug 2014 03:20:18 -0700 (PDT) X-Received: by 10.52.38.67 with SMTP id e3mr5202vdk.56.1408789218225; Sat, 23 Aug 2014 03:20:18 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id tb1si14810482vdc.96.2014.08.23.03.20.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 23 Aug 2014 03:20:18 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id lf12so13245871vcb.40 for ; Sat, 23 Aug 2014 03:20:18 -0700 (PDT) X-Received: by 10.221.49.133 with SMTP id va5mr45465vcb.37.1408789218045; Sat, 23 Aug 2014 03:20:18 -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 uj3csp78899vcb; Sat, 23 Aug 2014 03:20:17 -0700 (PDT) X-Received: by 10.224.75.130 with SMTP id y2mr16205511qaj.72.1408789217496; Sat, 23 Aug 2014 03:20:17 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id t73si45228362qge.118.2014.08.23.03.20.17 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 23 Aug 2014 03:20:17 -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]:40575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XL8Qj-0008So-04 for patch@linaro.org; Sat, 23 Aug 2014 06:20:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XL8Pt-0007cV-DJ for qemu-devel@nongnu.org; Sat, 23 Aug 2014 06:19:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XL8Pl-0001G2-OF for qemu-devel@nongnu.org; Sat, 23 Aug 2014 06:19:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XL8Pl-0001Fv-H4 for qemu-devel@nongnu.org; Sat, 23 Aug 2014 06:19:17 -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 s7NAJGT2023896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sat, 23 Aug 2014 06:19:17 -0400 Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-22.ams2.redhat.com [10.36.116.22]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s7NAJ9Sv030085; Sat, 23 Aug 2014 06:19:14 -0400 From: Laszlo Ersek To: Michal Privoznik , Eric Blake , "Daniel P. Berrange" , Paolo Bonzini , Kevin Wolf , Stefan Hajnoczi , Juan Quintela , David Gilbert , Laszlo Ersek , qemu devel list Date: Sat, 23 Aug 2014 12:19:06 +0200 Message-Id: <1408789147-18675-2-git-send-email-lersek@redhat.com> In-Reply-To: <1408789147-18675-1-git-send-email-lersek@redhat.com> References: <1408789147-18675-1-git-send-email-lersek@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 Subject: [Qemu-devel] [PATCH 1/2] 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: lersek@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.220.181 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 Signed-off-by: Laszlo Ersek --- 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__,