Message ID | 4f468a15ddd6131d0045a0291dbd1b72ceab3bfa.1510181732.git.alistair.francis@xilinx.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=xilinx.onmicrosoft.com header.i=@xilinx.onmicrosoft.com header.b="2ua8mbHF"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yXMhN10LWz9s4q for <incoming@patchwork.ozlabs.org>; Thu, 9 Nov 2017 10:19:48 +1100 (AEDT) Received: from localhost ([::1]:34394 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1eCZdK-0005xt-1Y for incoming@patchwork.ozlabs.org; Wed, 08 Nov 2017 18:19:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alistai@xilinx.com>) id 1eCZN1-0000w2-V7 for qemu-devel@nongnu.org; Wed, 08 Nov 2017 18:02:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alistai@xilinx.com>) id 1eCZMy-0003mq-Sk for qemu-devel@nongnu.org; Wed, 08 Nov 2017 18:02:56 -0500 Received: from mail-sn1nam01on0052.outbound.protection.outlook.com ([104.47.32.52]:37755 helo=NAM01-SN1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <alistai@xilinx.com>) id 1eCZMy-0003mT-Lb for qemu-devel@nongnu.org; Wed, 08 Nov 2017 18:02:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=rl5KAzJZqZewgJ+HsEVNsvuWhgCBUIgxENXfZNIcuks=; b=2ua8mbHFfM5cBAluGeBmyGUPQxq7suDVaDfYLrpjwMSidHXgHsEJGThwW2f2Oj6s0RGThT1HFjQrwP3OKoYV3W1UKj+4lTK8lAgYckv2Qr918ZRKSAyheAmnLuILm4FmVzIlRYn3CuCmEJg8DZ/JuDTiCaVZ31TR5GEHuNMclHU= Received: from BN6PR02CA0090.namprd02.prod.outlook.com (10.161.158.31) by DM5PR02MB3387.namprd02.prod.outlook.com (10.164.153.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.197.13; Wed, 8 Nov 2017 23:02:50 +0000 Received: from CY1NAM02FT024.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::209) by BN6PR02CA0090.outlook.office365.com (2603:10b6:405:60::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.218.12 via Frontend Transport; Wed, 8 Nov 2017 23:02:50 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by CY1NAM02FT024.mail.protection.outlook.com (10.152.74.210) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.197.9 via Frontend Transport; Wed, 8 Nov 2017 23:02:50 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:36525 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from <alistair.francis@xilinx.com>) id 1eCZMv-0003zI-5e; Wed, 08 Nov 2017 15:02:49 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from <alistair.francis@xilinx.com>) id 1eCZMv-00039K-28; Wed, 08 Nov 2017 15:02:49 -0800 Received: from xsj-pvapsmtp01 (smtp3.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id vA8N2e34010441; Wed, 8 Nov 2017 15:02:40 -0800 Received: from [172.19.2.220] (helo=xsjalistai50.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from <alistair.francis@xilinx.com>) id 1eCZMm-00037o-4U; Wed, 08 Nov 2017 15:02:40 -0800 From: Alistair Francis <alistair.francis@xilinx.com> To: <qemu-devel@nongnu.org> Date: Wed, 8 Nov 2017 14:58:40 -0800 Message-ID: <4f468a15ddd6131d0045a0291dbd1b72ceab3bfa.1510181732.git.alistair.francis@xilinx.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <cover.1510181732.git.alistair.francis@xilinx.com> References: <cover.1510181732.git.alistair.francis@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.1.0.1062-23450.000 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(39860400002)(2980300002)(438002)(199003)(189002)(77096006)(54906003)(2870700001)(8936002)(106002)(6916009)(118296001)(106466001)(2950100002)(50986999)(5820100001)(50226002)(478600001)(316002)(76176999)(50466002)(47776003)(2906002)(5660300001)(81166006)(305945005)(81156014)(189998001)(23676003)(33646002)(36756003)(63266004)(9786002)(2351001)(8676002)(356003)(39060400002)(4326008)(36386004)(107986001)(5001870100001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR02MB3387; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; PTR:unknown-60-100.xilinx.com,xapps1.xilinx.com; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT024; 1:6UrwM/TMRXCfDAZ1l5xm6NwrR/wnHDsP0EswZAFKmBac4HFa8mgEHoMku1ED10X9Dn/qAogmh7aZTmkRsVT9I4ha09hTjTITdYgzwEWcInCKHRolRpi3juhqtxrlL2Y1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8753aebe-e007-4308-0fe0-08d526fcd5d0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603199); SRVR:DM5PR02MB3387; X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB3387; 3:ah/BgBaSrfYsCsRgGRf3qH7NoH8RDzfBjLkzt6h0s+o9hck9qVcZRA3XPCKA1vJXQpUqmG+UJpIPfS4yT/mIsVxaC5UBF0uVJJRtO7Cv0ntjHDCY0HAHKhed2++u+AtYX+sxgQoMfQzMNmgGvCx1rWwK0wmnbPM/0tuGDu2JMSmiXFtRFxmSgIpw4jc2/soh+S/UCfa7vnm4Q637oWLxZ4Egv9/gtzFvRgeigDwstrgpKa8T6YECSMz+IN2CnVz0oRd6+sufm+01bzlhk+JmirYZjQyP6ZkIfFZkZpi6QbgCwX1BVw9T2ATf5zvSR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3AJ0C8T/iORaiRrtuGTZ0IhzMsbE4sERrsER8dn648wQZejIpCpVdNPIuidWBg4U/tz3G4kDPGY0AFgZFLkefQlGEQeS65XK3ORX/1tFK4W5mBaAbtoTPD8UwKAESoSs+8B2NBlyt+XrzcKQNqnFRqS0B X-Exchange-Antispam-Report-Test: UriScan:(788757137089)(192813158149592); X-Microsoft-Antispam-PRVS: <DM5PR02MB33874769A68D4CE4CEABC9D0DC560@DM5PR02MB3387.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(3002001)(3231021)(93006095)(93004095)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(20161123564025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR02MB3387; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR02MB3387; X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB3387; 4:yJcWoTh8GRfrOulmhhBI1CfXesxDOTBmZ0vNMW2mLewVSaO6m5GwO4y1D7xgFQs9Cgi5Fosyt4zPmPNFITVHgatdL0ep6iIWlyCFu3ELkyqqw2gqBaPjQ6f0sSR9otK6b48uR2VwWLMnxbq92nARfE5aF9zhG4nGTBWkVRIypOw0ckDAOwFGu/He6dyWCt0DfNA3f8piunLOmzCrhxRrFBkn9n5ZZd/dOIPjQXfaRfBvcnBSecxknJA7n0lLoJWprJZoBRh0NWlWUZaV7PcHDkmWYgPB8RjDh6V7uFW96XLMeJ6nJVLw5yQY7UB4OTE7hTo5hxKKfv7YxvYEyzfEzw== X-Forefront-PRVS: 0485417665 X-Microsoft-Exchange-Diagnostics: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iC8P32to= X-Microsoft-Exchange-Diagnostics: 1; DM5PR02MB3387; 6:VjiOTYiVL76+B61+YD3E5eZWzRQ+Fnbs3h1xT/17xmB20KVnGhapH5F2S3+7P+nmNkA09K7/ewj/bcRD7BsyXYQji3vQw+OZgt1PFuvPNNmdLEscPvdbUEvqWSlskUyluqzf0LnHvZ6XCZ3hilPz3HJr2KyPio9DDSdTUIW9Ydu0B117c1m97AAQ/7Y6NL9/9AFYiIm7u105EtHF2HuAAuBb4fwCgd3Jp0B2hLxlf3VubuOcrF7sKNMH9YrA4b2QIsIb9D7N2iAexXAxwOnVC0rpLOobO5fP4F3O+6DwroY/KX5dx/qAjTzOyeiKgLG7Wh9WKXyjGNfn8z1j9h30RU+mbEvkwLgf632tZhMVXKA=; 5:V01tyFFf+4lG2/yk1qUedPISxbUTYnEgRgOYvD9OubGtjBibu0FTTlVDO6K7WW08WVLKL4XcxIzM9MuREizskf0p6r3WdabjSz7wYePFdIxwmVyXAKBNSAowbpKFjC3hbcw0Sb4ZFU72j8KASlD+FG9M4AqZ5Hie4XbEimLrSLY=; 24:J6F/MV+3E27sM8iwxLnB5KE2ZjJp/TCd5YZISuA/Zjr5udTWSYOOdRhQVPrPs38NooFUOgk8fBfeSw3+3+dHR+n3bCur6xSG3URs9YM/rdo=; 7:leKMu0a14ekeYT5z2Wn8p0n5q1G2fG4X2VgG3kkBoCt3IgCZIDEnfttg0Aq+S7y+EkWh9R5HMEweRs0OtrWEg4vc/lwWvVHcltSaFw2LOn5oMLYrUTWI7Ho1K5i7nF2zfNxEx83+fhLfKJT5lfQpvGKcQMaSQAkmGn8ihQ7Pa1SxVFdDDWi+nE7ACdh7A+MQ6cfOkjPd3AAh4O2Q5ttcRHSp18AMczoWe7loMEsH6szicOG3hsNDkMmZbn8zKU6x SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2017 23:02:50.0621 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8753aebe-e007-4308-0fe0-08d526fcd5d0 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.100]; Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR02MB3387 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.32.52 Subject: [Qemu-devel] [PATCH v4 37/45] hw/ssi: Replace fprintf(stderr, "*\n" with error_report() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: alistair23@gmail.com, armbru@redhat.com, alistair.francis@xilinx.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
Remove some of the fprintf(stderr, "*
|
expand
|
diff --git a/hw/ssi/omap_spi.c b/hw/ssi/omap_spi.c index 34163e5646..98242d1e8b 100644 --- a/hw/ssi/omap_spi.c +++ b/hw/ssi/omap_spi.c @@ -20,6 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "qemu/osdep.h" +#include "qemu/error-report.h" #include "hw/hw.h" #include "hw/arm/omap.h" @@ -295,9 +296,9 @@ static void omap_mcspi_write(void *opaque, hwaddr addr, if ((value ^ s->ch[ch].config) & (3 << 14)) /* DMAR | DMAW */ omap_mcspi_dmarequest_update(s->ch + ch); if (((value >> 12) & 3) == 3) /* TRM */ - fprintf(stderr, "%s: invalid TRM value (3)\n", __func__); + error_report("%s: invalid TRM value (3)", __func__); if (((value >> 7) & 0x1f) < 3) /* WL */ - fprintf(stderr, "%s: invalid WL value (%" PRIx64 ")\n", + error_report("%s: invalid WL value (%" PRIx64 ")", __func__, (value >> 7) & 0x1f); s->ch[ch].config = value & 0x7fffff; break;