From patchwork Tue Apr 11 02:22:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying Liu X-Patchwork-Id: 9674619 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BE2B260381 for ; Tue, 11 Apr 2017 06:56:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA9CE28066 for ; Tue, 11 Apr 2017 06:56:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9DD28284D9; Tue, 11 Apr 2017 06:56:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 393E828066 for ; Tue, 11 Apr 2017 06:56:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8630D89E9E; Tue, 11 Apr 2017 06:56:16 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 10888 seconds by postgrey-1.35 at gabe; Tue, 11 Apr 2017 06:56:15 UTC Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0061.outbound.protection.outlook.com [104.47.40.61]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0D90389E9E for ; Tue, 11 Apr 2017 06:56:15 +0000 (UTC) Received: from DM5PR03CA0021.namprd03.prod.outlook.com (10.175.104.31) by DM2PR0301MB1295.namprd03.prod.outlook.com (10.160.222.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17; Tue, 11 Apr 2017 02:22:38 +0000 Received: from BN1BFFO11FD040.protection.gbl (2a01:111:f400:7c10::1:118) by DM5PR03CA0021.outlook.office365.com (2603:10b6:3:118::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17 via Frontend Transport; Tue, 11 Apr 2017 02:22:38 +0000 Authentication-Results: spf=softfail (sender IP is 192.88.168.50) smtp.mailfrom=gmail.com; linux.ie; dkim=none (message not signed) header.d=none; linux.ie; dmarc=fail action=none header.from=gmail.com; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning gmail.com discourages use of 192.88.168.50 as permitted sender) Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD040.mail.protection.outlook.com (10.58.144.103) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1019.14 via Frontend Transport; Tue, 11 Apr 2017 02:22:38 +0000 Received: from victor.ap.freescale.net (victor.ap.freescale.net [10.192.241.62]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v3B2MZ0F016717; Mon, 10 Apr 2017 19:22:35 -0700 From: Liu Ying To: Subject: [PATCH] drm/bridge: sii902x: Add missing \n to the end of some dev_err messages Date: Tue, 11 Apr 2017 10:22:19 +0800 Message-ID: <1491877339-19913-1-git-send-email-gnuiyl@gmail.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131363509587638046; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39450400003)(39840400002)(39860400002)(39400400002)(39410400002)(39850400002)(39380400002)(2980300002)(199003)(189002)(9170700003)(356003)(61266001)(47776003)(305945005)(104016004)(6260500002)(5660300001)(77096006)(6666003)(2906002)(5890100001)(5003940100001)(54906002)(83322999)(53936002)(189998001)(110136004)(4326008)(38730400002)(76482006)(6916009)(105596002)(106466001)(33646002)(2351001)(50226002)(81166006)(86362001)(8936002)(15650500001)(8676002)(82202002)(81442002)(73392002)(48376002)(73972006)(50986999)(55446002)(87572001)(36756003)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0301MB1295; H:tx30smr01.am.freescale.net; FPR:; SPF:SoftFail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD040; 1:wjYwsj1Sa3/Zj0Trv8Jxm53myELBE/7xMGf1CtRiu0xCYArImAZTHSB+1XkQUbcfgNkyFZCK2sQIRUN4CgR6vHhL27vFayMaxa2TV35kwpIfZHfmCU/3yo4zUN1VbhpvpHF/NXvR6mPj6RHwnmTyTgGLrduQhgAqU6x34ct5TA77JLxpAzg1Eqyig8qxp8mFCAOj/+WjNsHl07ZxUvQFlmJSelbMQ2X+Ry58hzjeKepliN4b99vYQsE3zrSLQkneAycBaQlDvai1XoWYvB721Ly4NK2r+SYHL4x5nIT7q9yvRxo17YKG5Bz9Ih9MjSrd4EDaIeW7Gi2PXBQ6ZiyF+sZPXKOEOUS9F7+Mn5Mw4Dra9Ce8s1sOZPq1zih3jsaO5gZ2TtpUs1j1ibPvsdMhoO4++VKK639els5JeH4X+3Q2Dh6/aN4rPtOgK7PXl2yZ7U9kwXgd806LpWx2MZXXEk0BbKTdMJqtkaZK1dXm5IXd1Z+qGqPZhENzD6bBL+PNdfiXGSWbxWfY/rqspb1biXM/QDvLc0S6gdeAT1Z6f7zXodAoo0W45i71H7Or2SJmV0jS6gO0yMdB35Z2JTC2vYEfyEtJcadM+7TNsCREWac= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: e116b159-04c1-40d8-15c0-08d480819fe0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:DM2PR0301MB1295; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1295; 3:lcJlK/M/8ttIITjEqYfPMgM7Vv5ZBtM0uF1mVHpvSgnspo2aZVlTuQ3P0zHANGMDmnOY3YNTFwttPRkSYbiP1Vp+LMDvHhVCWbA2pbRjaOJEZaeCVoo/8U04SjQY6j1nspAK+TgrLFTGIfQu1M9sajKAgzcgGS7y49x3ZgA6jIZaNAAMbCEI+cBMYIQofadbJQcPE145HqrmTjIf5QFUGxr/FsSKPAKbBlaR0QmlUuMZpwBfyWCFBsG1hJ6XPZ9inQ2yvBne2XFPBzFVoSP2ysrc60xIFhBl/uPRTuc3prp14+quYhXZf/qxkyI+/wa8O/SorS5ggowotF9Y0sypSyxS1vKDZ1rxCJ4R0xo+u3CV8+1POp6/4bZgFxDpKGUaEhiaq+I8vK/L4me3aXXPE5VwICmZj/OPKBDxnO+QeVPPDI8tQ1yCoI+C6fWZ3Pny; 25:dDwK9Ct6qH6SnXCKhP6Nivxazhl14e+3jaObAd1/LhGs6JHBKdHVUN6GAmkL2lVCiz4Su0a5Ua3AGoq2y4g7U4W5mIibL/fNrPlaBIB9KsKC+6+F0q0k1R0xgUh/RJtRx9BwnCPQOpxzoajUVghgG3UgTSCiEdGRxhd3oMd8TG5T2qsFSCdXnFKyZwnObjU3mIMlKtSWaSFoegMJsEjwEmut9cer7Z5ljG68Ex8zJGyp8pUzGI67HCuDHNXnDPKyBKNkBO84gkVvrvRIajM9J/jWKN5DaW58UHIUAk0GRAYYsIT0PgCHjp38CVmgg4+L/bjwApQ+ktz5geiKa4VIT2xvcfoiXrwZ751CLSQ3sVfohxOpPg6KJhxPy1aBkBqIJtPxF667pDYX9hV7b0GWq+dUA8MVCwSEMZTJKzul5J2vS3uj12L1wmZtpcwHP3yVapW3Gng9c8Y34ZzYmXnr4Q== X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1295; 31:TisY/rnxl+TeB5HQ5elJWcmWoT7SgUTVJhDTvIaxcSbKc7kTwWwCI+cG73S+4C2Ucm2B5LL3i7ZajCdZ93PHe8VkMnkwZNluOPEMaA/CiW4sgAdE3NZTXFsRRT4tffYikSN8tgl5NYwBsDpVaqsMUyHbMe4uTdj6IWenp5s6ES16MNSOXGAa4mQ6AhXsrz0N//lYfyL3U7hEhHVR2mVgWJNq49cJA/YEDo3Pq49kLzYDwohVDAoBZxyuX96vTKu9PdUHfK0RGwmwi4MQTsi0Dg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(601004)(2401047)(13015025)(8121501046)(5005006)(13017025)(13018025)(13024025)(13023025)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(201703131430075)(201703131448075)(201703131433075)(201703161259075)(20161123563025)(20161123561025)(20161123565025)(20161123556025); SRVR:DM2PR0301MB1295; BCL:0; PCL:0; RULEID:(400006); SRVR:DM2PR0301MB1295; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1295; 4:wgk4y0tqi5uL4E45bzJ0J+NiTaRuEvwjHpQf9nst5vcL7FolmDgDnbXoPCMGj55WnHX+SDn0rlGud52poGx/cR9Y9nRj14Os4OdxkQD+Hlw9jVYixkodRmlw5ys0mRXCksyjclBfPX7KkSz7AYUC4A2kpiaLWqgd+KMN404WyRamGQGYurXF+cCUWWtzkeSns/2akeIARqmOP/WNI1OVHYIJp78rOtOHW1p8bXvUHMM7xKLjrqcUndfIROm7LSY8Z8C2VnSQu3OKk2CB7Rn3oUcXNnKfioG8+yWCg1ZAca1eFMceVxCZ3OyV3Vjs8tBfCmlaed8GotfDyRKYi6kdy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8RtS/RaPcdG1VrA2XIa5yVKz1Zvam9oIutaaTopY?= =?us-ascii?Q?qhrvIVFTq8N1yo1TizS3piDYn1CPmdz3hPmXDteMf05fa?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1295; 6:Wn8rqYBzapK8VQv2CQZGXuwoMzlw1lhQr8wdM9owjoUvbKHN03tigoTCYCUKSdjjvaQlor3Av/O/53OBXe0yRi3VA1kRDkXYHedfBM0hBA9bbFfQ47Ci/hBGdv8ciqELayogCgGO6HDdDtOAKUlAO20O8OhIu94bdIBnMIfczMtMaNrQfaRftXqOGc/tcqWGTUXEnB4mlAI4ROfUgTCdoPaufXcotfunTYIVXn4vSAMM/DoxTzWb7CE+7pyYInQdl+rFXwh01zASz39+k+xyCNDjjQDenMO8UsQad7Tg8CsKh2UExDfxmWbkrArxqC/AiERaa8X0LpKa6Lf5WlIOtCPob304hFh28UheoRsR9cObAcDt2NrCtCbNFAvw9zXL3b0P3+pZSvzbTum/YLygJwYhN/q9KcR34dDJzkVdqv9G6751OAmzerpzavc9+j5TiD2eMpmJQSqa/ZDXQV07vQ==; 5:lRktV1T/c6WM6dUKYaU2gw3NARdkNQrsGrHAytUCaORXyqgOArIjXLKhQc1Jbvzll40S5hVfuuFoevzdLOm+MfHI/AJZIEvyoXx2G9lUPdkyClU7q8GbhLmSxpd/GAY6c8jKfRAa60aI2CVGkVR3Yk4j3LKo2fnCGM/ZRX7iy6XYSRjZxYvp+L+Pk2RTUh49; 24:R+po0evI4sANLQ004h+Kmcr/9NRhCP1XHFZMGQhb0AmoMcxspCu6L7Rbv44ay1VyGJkrSX2ybeZKcjRHam0qUXHJK6YRvzx7GC93L0Eac80= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB1295; 7:VowUTGCvAsAuezQwummA3wbLS0JSW97IFAPhcWAC6ZEUZBRjMais+O47YdVEZm9Im6KlVxwMfia4hoGG1U6TJqizDhf99USw2fyl7HajC3VmwTdyqEBi8KxXK+Tgg55jj9MPoaXDlN7XCVV5Xc3CrrwLez2wynyDHkzy3dwLf21vx+4zxD0rW3GRCaUOdFLvg5VRrCoRgKvmOWZQoaucilaCqzr4Rj6sG0xbwhZHv2LdAq+ansIVG031fMicEcKP62AHRsuI98FHRL3cuKEu09ub2bRERuzL/qLNYa2//YAp7d0W3bRWNqKJ9hE2aHW8jJkT6GvMJyKEDePYTKVxFA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Apr 2017 02:22:38.5454 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB1295 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Trivial fix. Some dev_err messages in this driver are missing \n, so add them. Signed-off-by: Liu Ying Reviewed-by: Andrzej Hajda --- drivers/gpu/drm/bridge/sii902x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/sii902x.c b/drivers/gpu/drm/bridge/sii902x.c index 9126d03..9b87067 100644 --- a/drivers/gpu/drm/bridge/sii902x.c +++ b/drivers/gpu/drm/bridge/sii902x.c @@ -160,7 +160,7 @@ static int sii902x_get_modes(struct drm_connector *connector) time_before(jiffies, timeout)); if (!(status & SII902X_SYS_CTRL_DDC_BUS_GRTD)) { - dev_err(&sii902x->i2c->dev, "failed to acquire the i2c bus"); + dev_err(&sii902x->i2c->dev, "failed to acquire the i2c bus\n"); return -ETIMEDOUT; } @@ -202,7 +202,7 @@ static int sii902x_get_modes(struct drm_connector *connector) if (status & (SII902X_SYS_CTRL_DDC_BUS_REQ | SII902X_SYS_CTRL_DDC_BUS_GRTD)) { - dev_err(&sii902x->i2c->dev, "failed to release the i2c bus"); + dev_err(&sii902x->i2c->dev, "failed to release the i2c bus\n"); return -ETIMEDOUT; } @@ -298,7 +298,7 @@ static int sii902x_bridge_attach(struct drm_bridge *bridge) if (!drm_core_check_feature(drm, DRIVER_ATOMIC)) { dev_err(&sii902x->i2c->dev, - "sii902x driver is only compatible with DRM devices supporting atomic updates"); + "sii902x driver is only compatible with DRM devices supporting atomic updates\n"); return -ENOTSUPP; }