Message ID | 2725be8415eb76313ed3b83a2b1971d3ae879aa3.1508390588.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="mn4NkUeY"; 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 3yHvPg6L6Gz9t4P for <incoming@patchwork.ozlabs.org>; Fri, 20 Oct 2017 03:23:51 +1100 (AEDT) Received: from localhost ([::1]:50075 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 1e5Dbq-0006jN-05 for incoming@patchwork.ozlabs.org; Thu, 19 Oct 2017 12:23:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alistai@xilinx.com>) id 1e5DYZ-0004T2-6Q for qemu-devel@nongnu.org; Thu, 19 Oct 2017 12:20:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alistai@xilinx.com>) id 1e5DYV-0001CH-Ut for qemu-devel@nongnu.org; Thu, 19 Oct 2017 12:20:27 -0400 Received: from mail-co1nam03on0052.outbound.protection.outlook.com ([104.47.40.52]:54656 helo=NAM03-CO1-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 1e5DYV-0001BY-HP for qemu-devel@nongnu.org; Thu, 19 Oct 2017 12:20:23 -0400 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=0k997gTeJRJB9FW+XCkDt33zfI3eSrWKxj/qyah8FNI=; b=mn4NkUeYfFjYNfB6BtYvkh5BsTyqZX72vx5yjo6i6VZ4uTVPh+oD2/ksHxSuuCRQ+aijdtHGmpywMdokliNNrFhZ7VgVcnrlrwRBzoHqWUnO/iD63+M5adqVLAXdl2mPj3b3CgHkiuK7KXLyVGaw0Ud7JLJh9FKHoWpysxY9AyI= Received: from SN4PR0201CA0017.namprd02.prod.outlook.com (2603:10b6:803:2b::27) by DM2PR02MB1339.namprd02.prod.outlook.com (2a01:111:e400:50c8::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Thu, 19 Oct 2017 16:20:20 +0000 Received: from CY1NAM02FT028.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::200) by SN4PR0201CA0017.outlook.office365.com (2603:10b6:803:2b::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.156.4 via Frontend Transport; Thu, 19 Oct 2017 16:20:20 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) 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.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by CY1NAM02FT028.mail.protection.outlook.com (10.152.75.132) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.77.10 via Frontend Transport; Thu, 19 Oct 2017 16:20:20 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from <alistair.francis@xilinx.com>) id 1e5DYR-0008V3-Cm; Thu, 19 Oct 2017 09:20:19 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from <alistair.francis@xilinx.com>) id 1e5DYR-0002va-93; Thu, 19 Oct 2017 09:20:19 -0700 Received: from xsj-pvapsmtp01 (mailhub.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id v9JGKHRC006572; Thu, 19 Oct 2017 09:20:17 -0700 Received: from [172.19.2.220] (helo=localhost.localdomain) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from <alistair.francis@xilinx.com>) id 1e5DYP-0002vD-Oj; Thu, 19 Oct 2017 09:20:17 -0700 From: Alistair Francis <alistair.francis@xilinx.com> To: <qemu-devel@nongnu.org> Date: Thu, 19 Oct 2017 09:16:24 -0700 Message-ID: <2725be8415eb76313ed3b83a2b1971d3ae879aa3.1508390588.git.alistair.francis@xilinx.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <cover.1508390588.git.alistair.francis@xilinx.com> References: <cover.1508390588.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-23404.005 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.83; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(346002)(39860400002)(376002)(2980300002)(438002)(189002)(199003)(4326008)(47776003)(8676002)(81156014)(8936002)(36386004)(81166006)(36756003)(63266004)(305945005)(76176999)(5820100001)(2351001)(50986999)(77096006)(356003)(316002)(54906003)(6666003)(33646002)(106466001)(189998001)(118296001)(50226002)(23676002)(39060400002)(2950100002)(9786002)(50466002)(6916009)(5660300001)(106002)(478600001)(2906002)(2870700001)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR02MB1339; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; PTR:unknown-60-83.xilinx.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT028; 1:FtzU36GPpN9UElftg1otOdLBRpzdcymbAt8PEpYsoX4kCIXgrAE8Y3WJtvAfbuOO2uR2izLPERsXCTZFK/qiLdKhfcdQp+15Vs+nkuvUK4WPN0JOnWU1n7bnAjpE02oM X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 23ccaabe-cf75-4a70-df07-08d5170d4b09 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254168)(8251501002)(4534016)(4602075)(4627075)(201703031133081)(201702281549075)(2017052603199)(201703131423091); SRVR:DM2PR02MB1339; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1339; 3:lIsQl55Aal1laAKG5dixjz1m8AIw6E7BvcPHWmubiEdx6Ua0uAY/LqflQyMor2PutFLSKtSWzRRC4d06sV7ciL/15LPz2XltasABMlQzJ3veECs9HDg7IVDazgKJrYBOcqx9Y+ZbB0wiAFjCTwBf8BmFnkcYcOmnh09rXhOCQyw70djPs9nf5vyCFWYmXxA8Ri2OvI/+YWu8oQXhQSY/6cs+eUqwKxxJm0O8BDMaBC6WvWRqAIJ/qGheTiUo4RQpcyDGQNMQ+24mWGHERr4+sTESbV3yowlTqkE35yjApC4ijOoOtLySaqmZrFAw7+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Tnrt4yTF81V/VJxZH32mWilFPA8X1N4NpJSYz/y+Dzfj3nA6Bsrj7xvRnp+0Ux1lJLipr0Mbp2TGpCzyrzdM9MOauXlF/yx4RpDhP9Qhi/1F8fKvfszcGoPxbiJjRpjxU6gnD2k3dWyegh X-Exchange-Antispam-Report-Test: UriScan:(788757137089)(192813158149592); X-Microsoft-Antispam-PRVS: <DM2PR02MB133929F1303A20F7F3124F2BDC420@DM2PR02MB1339.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(93006095)(93004095)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(20161123562025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM2PR02MB1339; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM2PR02MB1339; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1339; 4:EryWouHcGXxM87q53oqr8I8VrMAcJhh1DovMmqZqtXwmDgFn8W0dkF/JThdjeHERwwjz6KK+JSb+FyDtR0nzw/aBYCYD743anCKN64mz5c9vBpdlM/7IG4crUYWG1vRk7EqydlruxJDTJMJhxJK/zp+UKfXqj3wZyd8+8sN5GFKHnut6ZbFGqH1OsSqVoSKQrrEUwzugdogUlJOhnEj+8s4B70T/r+nx16+7+PlUid9wmQ/mOHte72/wBCtUpFfw+PrFW1KLpyF87XExqmma4iPsMzxedjxASfkDcQeulfITLrci6MnFPmy5yfwwB1YZysa4UhzQT/fdB2SobZWYWQ== X-Forefront-PRVS: 0465429B7F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR02MB1339; 23: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R02MB1339; 6:emk1TvJuU/+MmFdAG07HUl6glFIYI+2VIMlaD9Dxcz1iepr7Bu0BxAe6ez0sXFJSyrtdNCYosKwOdRzKWKr4TKNAlth8vmjKsiPGEXZVz+08B3aV9VgZNX3dEwbFAiOi2H9lP5GF16rDauB0h6SIe7UUh3FuXFZE/e3q3b6JQTskC3eh7mCqqF/4x0gg6kO0xYJnDh+RvkEFZNOCarV6q2PI8jeWRpxGBY/fMkfpXz1j2o5hYhGxDYWcDRGhvcLPcXwL4XppsbEUQFYUz4MxSgF8tc9fefVOxTMn3/nuPiLBCJmdRDV8myLWev2yjvk6JGQmHjMVXM0R4BCMgZuFKw==; 5:XvK157FXrjYVL4lqhDUW7/UgWNk0yeoQMi79bqYZQUiIE2IvZ7I85vqjlnLZmXTG4xi/dC39i1iq6EO16YV2TR6r6NVCL/yiVr2H33tkCMPuCK+83g6c8iYvan6YEDASp8QWwCt/5PzIofa0UUTJTA==; 24:Hn7rfIabsawNRkBkuae3e2Fvm78GEbDvdlOlcqIFUBpTnhRCnPTqCS7ZfuCABh68DKUTIQmHmUOYEcpqCg1Xi7illlghvC3BtaPLD1GbrWA=; 7:EJQLv5FBx2m4i6dnuXhIdh8MLYRLzuqi/DZNG/8Ofa8vnr10KpvmUsGEW2fYuNz5KXCWyfCwgHJuxQzlFVkco2/OcnDTxSx0qF8WcNal4gSUnAGE6faWjCaBC7mlVM+ZpkBCq80dgX9p4KTNQBzmhZzZoDHFobP9wKUrqrr8MsRLcyQfAUT85HS4aIGJWK1a45b4ZkHqj+i5EPt4Qu7enmJh56Utd4Aov8dLSGMs6Gg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2017 16:20:20.0776 (UTC) 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.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR02MB1339 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.40.52 Subject: [Qemu-devel] [PATCH v3 14/46] hw/i2c: 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/i2c/omap_i2c.c b/hw/i2c/omap_i2c.c index 26e3e5ebf6..e9da7f9f51 100644 --- a/hw/i2c/omap_i2c.c +++ b/hw/i2c/omap_i2c.c @@ -340,13 +340,13 @@ static void omap_i2c_write(void *opaque, hwaddr addr, break; } if ((value & (1 << 15)) && !(value & (1 << 10))) { /* MST */ - fprintf(stderr, "%s: I^2C slave mode not supported\n", - __func__); + error_report("%s: i2c slave mode not supported", + __func__); break; } if ((value & (1 << 15)) && value & (1 << 8)) { /* XA */ - fprintf(stderr, "%s: 10-bit addressing mode not supported\n", - __func__); + error_report("%s: 10-bit addressing mode not supported", + __func__); break; } if ((value & (1 << 15)) && value & (1 << 0)) { /* STT */ @@ -393,7 +393,7 @@ static void omap_i2c_write(void *opaque, hwaddr addr, omap_i2c_interrupts_update(s); } if (value & (1 << 15)) /* ST_EN */ - fprintf(stderr, "%s: System Test not supported\n", __func__); + error_report("%s: System Test not supported", __func__); break; default: