From patchwork Sun Jun 25 09:59:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 9808033 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 2CC8E6038C for ; Sun, 25 Jun 2017 09:59:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0602E205AD for ; Sun, 25 Jun 2017 09:59:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EAF172868F; Sun, 25 Jun 2017 09:59:52 +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=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9A704205AD for ; Sun, 25 Jun 2017 09:59:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751236AbdFYJ7v (ORCPT ); Sun, 25 Jun 2017 05:59:51 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:33184 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751134AbdFYJ7u (ORCPT ); Sun, 25 Jun 2017 05:59:50 -0400 Received: by mail-wr0-f195.google.com with SMTP id x23so23630066wrb.0 for ; Sun, 25 Jun 2017 02:59:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=JGfKKB+eLbTq9zNlt1RFxy8p0uH+ZgJhQJ08l1Q0JRc=; b=BwUraLrCHiAlWqZJST4qkk8+PE1pnYpf3W+9RGso2xMAnsyGTaJ55sZUZSJhUuqSgs JCw+NHDVz1HMmPIkzl+hd+h6jixKXn0rlkdx4bTh8WDWuJ1C5xbhW+CGdG25SzYm0Uf8 VPtV5z6X5yRoUkRwgqKO/6piARne8mGqmFxzYBp5r/EaQma4DvQx7bMz8OpPH1/1BkEN Ax4gjSyhlI5BEPZPyFLK5+NTo+ORjhDCDo83oKXjl9SMudRW0VbXXJ+f/xcur2HkRSr9 FlASSEDasD5M7ejs+Ok5jEAJGhqoBSA5QRt1jAuxHI7Uq2R0hoClxjYUZNqqYqHpUufG YUxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=JGfKKB+eLbTq9zNlt1RFxy8p0uH+ZgJhQJ08l1Q0JRc=; b=DwOjXQaR9jGMwJGYPp8QZ14annDEv1GsHF750QVIfBI7acLQ9qX0v9G2/ju+iXLXZg PBs7NrQ07Sq2xaQ6963/82gwviO3J3RpfZuPpWq8LXE+5X+FwfiMF3E16OKP0Mj4ZPwc 5TuLivwrTLHL1d0SyFqy+ErAtW2slupqKq2KrmPqXo/uJCyG8XcSfSX7afvxfk4iWxy5 cgEAUrn56iq8cfHpnBtmkQnOjMBN8tyWUhzQEriN+aRONBHPl7tZ+O8KkmVGviSAgxtr 76mYQGaJyINZq31JIpKDvBBk554WnEtvP5BQ+OTk8tdvigZNrtCn2J77oMtakQs7adz/ eJyw== X-Gm-Message-State: AKS2vOwmDnvQ6+ezuD9T4xI24Ja/eNl2l/jvp6QY6BVg44T1HM9wOE40 jm4B3GPatSmHc8ro X-Received: by 10.28.22.4 with SMTP id 4mr10265718wmw.68.1498384788806; Sun, 25 Jun 2017 02:59:48 -0700 (PDT) Received: from dvbdev.wuest.de (ip-37-24-178-151.hsi14.unitymediagroup.de. [37.24.178.151]) by smtp.gmail.com with ESMTPSA id 32sm10781283wry.31.2017.06.25.02.59.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 25 Jun 2017 02:59:48 -0700 (PDT) From: Daniel Scheller To: linux-media@vger.kernel.org, mchehab@kernel.org, mchehab@s-opensource.com Subject: [PATCH] [media] ddbridge: dev_* logging fixup Date: Sun, 25 Jun 2017 11:59:46 +0200 Message-Id: <20170625095946.2997-1-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.13.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Scheller Fixup commit d52786ddd2d5 ("media: ddbridge: make (ddb)readl in while-loops fail-safe") after/wrt commit 11e358bf37e8 ("media: ddbridge: use dev_* macros in favor of printk") Signed-off-by: Daniel Scheller --- drivers/media/pci/ddbridge/ddbridge-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/ddbridge/ddbridge-core.c b/drivers/media/pci/ddbridge/ddbridge-core.c index c5745ae2ba5e..32f4d3746c8e 100644 --- a/drivers/media/pci/ddbridge/ddbridge-core.c +++ b/drivers/media/pci/ddbridge/ddbridge-core.c @@ -122,7 +122,7 @@ static inline u32 safe_ddbreadl(struct ddb *dev, u32 adr) /* (ddb)readl returns (uint)-1 (all bits set) on failure, catch that */ if (val == ~0) { - printk(KERN_ERR "ddbreadl failure, adr=%08x\n", adr); + dev_err(&dev->pdev->dev, "ddbreadl failure, adr=%08x\n", adr); return 0; }