From patchwork Wed May 2 09:11:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 134824 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp448702lji; Wed, 2 May 2018 02:12:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoeb/waoYx5c8YMTbavEHVXX4JewcwT7qabkVn31npz3UJsu9j04IBMyhJMr+5ahegAQvF6 X-Received: by 2002:a63:7c43:: with SMTP id l3-v6mr13722244pgn.0.1525252365698; Wed, 02 May 2018 02:12:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525252365; cv=none; d=google.com; s=arc-20160816; b=Zr2WPNJJ7WTYlVCgzC/XcpTOdubF0I7gH3mY9LdTVhW4vRxgVyuL/DMpW0XoQvGrIr WBzpJ1qbH/kmXRMn6kC7e5ujdocdCHgxi5paKR4tPG2jbhehkyi2V27gkFbd5XSxKmAU StD9Dc1EEEUhLy0/3eTPiEw5p3n+0uAFx7sLDQc0f9WQn4f1geZSaExBc4qVg0FV2gs4 OGo5ARdEniyVdWXVQkmQhwR6uiYGvfH0FgMHFr1d2zND4z/rs2OzmABobGbuYGCmC4FO ajsJZzvhCsioP2WnBIgjyxn0xF6vBdDrBorgP53Rf8zbKiux/IpL0CRf3rFWHMgtueF/ a4vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to :arc-authentication-results; bh=OcY4jx7MJ9ewk8lg1SzlTIwIL4IgcaafOpEZkH4SZhE=; b=WjSTmxiNpx2AxN+TNMg+VsjNxwdTzUt6zeDj4Msb9TuDCBw0/1iG0/SdbZ2B17PKYO 9u0fy2iYKy4Rgd/oLbgaWWjhb8PGyq3VVOmnpQLJ9GqMv6/XIUsko9SXwXA/tvSW4kcY 74aufusObBnjUUyS9AhnYvSM7lPqBiydU5/l7bgq3PCTiRj4H/wsFy6Xso9Mqcg9pDNR daMlIP5tKTHppFfffIiVLtGpZ1q/MMSFjMWgEghw1sFEjSVx48g0D+FyYkGHqJIoarCr b+3E/MD10rUpL0nwA6ofj50pWBEQ9T/tvhs6O5pitCvGRykmNqS6KFDj8brfMl6c3TNk 8cFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=jfnBPH6Q; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id m39-v6si11269928plg.570.2018.05.02.02.12.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 May 2018 02:12:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=jfnBPH6Q; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E1CA06E532; Wed, 2 May 2018 09:12:11 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from fllnx210.ext.ti.com (fllnx210.ext.ti.com [198.47.19.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2063D6E532 for ; Wed, 2 May 2018 09:12:11 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w429C8RT001214; Wed, 2 May 2018 04:12:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1525252328; bh=CHKro13qw0Gx2CzU9kVzR3MjcSi8nYISooXdJbAa8yY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=jfnBPH6QypLmrYTYd+lwU6kq5cOthE/i4Gsmna6YjAaLODDpCpNgY1v/I4gYjDPOS HTzHFB9YKsl3q136z8VztR5MghPrRRpVZI+27PUxjf7GAcbqGXR1Mqfuhxa/pbeFXY IvDRsFjTUJFZ8h9FKhIXappswzJMwDNasYsH0vTM= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w429C8S0013170; Wed, 2 May 2018 04:12:08 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 2 May 2018 04:12:08 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 2 May 2018 04:12:08 -0500 Received: from deskari.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w429C3GI015655; Wed, 2 May 2018 04:12:07 -0500 From: Tomi Valkeinen To: , Laurent Pinchart Subject: [PATCH 3/4] drm/omap: add missing linefeeds to prints Date: Wed, 2 May 2018 12:11:58 +0300 Message-ID: <20180502091159.7071-4-tomi.valkeinen@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180502091159.7071-1-tomi.valkeinen@ti.com> References: <20180502091159.7071-1-tomi.valkeinen@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tomi Valkeinen Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" A bunch of debug and error prints are missing linefeeds. Add those. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/dispc.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dispc.c b/drivers/gpu/drm/omapdrm/dss/dispc.c index b8fdb63e5bb3..7f3ac6b13b56 100644 --- a/drivers/gpu/drm/omapdrm/dss/dispc.c +++ b/drivers/gpu/drm/omapdrm/dss/dispc.c @@ -2348,7 +2348,7 @@ static int dispc_ovl_calc_scaling_24xx(struct dispc_device *dispc, } if (in_width > maxsinglelinewidth) { - DSSERR("Cannot scale max input width exceeded"); + DSSERR("Cannot scale max input width exceeded\n"); return -EINVAL; } return 0; @@ -2430,13 +2430,13 @@ static int dispc_ovl_calc_scaling_34xx(struct dispc_device *dispc, } if (in_width > (maxsinglelinewidth * 2)) { - DSSERR("Cannot setup scaling"); - DSSERR("width exceeds maximum width possible"); + DSSERR("Cannot setup scaling\n"); + DSSERR("width exceeds maximum width possible\n"); return -EINVAL; } if (in_width > maxsinglelinewidth && *five_taps) { - DSSERR("cannot setup scaling with five taps"); + DSSERR("cannot setup scaling with five taps\n"); return -EINVAL; } return 0; @@ -2478,7 +2478,7 @@ static int dispc_ovl_calc_scaling_44xx(struct dispc_device *dispc, in_width > maxsinglelinewidth && ++*decim_x); if (in_width > maxsinglelinewidth) { - DSSERR("Cannot scale width exceeds max line width"); + DSSERR("Cannot scale width exceeds max line width\n"); return -EINVAL; } @@ -2496,7 +2496,7 @@ static int dispc_ovl_calc_scaling_44xx(struct dispc_device *dispc, * bandwidth. Despite what theory says this appears to * be true also for 16-bit color formats. */ - DSSERR("Not enough bandwidth, too much downscaling (x-decimation factor %d > 4)", *decim_x); + DSSERR("Not enough bandwidth, too much downscaling (x-decimation factor %d > 4)\n", *decim_x); return -EINVAL; } @@ -4639,7 +4639,7 @@ static int dispc_errata_i734_wa_init(struct dispc_device *dispc) i734_buf.size, &i734_buf.paddr, GFP_KERNEL); if (!i734_buf.vaddr) { - dev_err(&dispc->pdev->dev, "%s: dma_alloc_writecombine failed", + dev_err(&dispc->pdev->dev, "%s: dma_alloc_writecombine failed\n", __func__); return -ENOMEM; }