From patchwork Fri Dec 28 10:18:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 13730 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 5AB0423E1F for ; Fri, 28 Dec 2012 10:26:22 +0000 (UTC) Received: from mail-vb0-f43.google.com (mail-vb0-f43.google.com [209.85.212.43]) by fiordland.canonical.com (Postfix) with ESMTP id EC248A193DC for ; Fri, 28 Dec 2012 10:26:21 +0000 (UTC) Received: by mail-vb0-f43.google.com with SMTP id fs19so10509336vbb.16 for ; Fri, 28 Dec 2012 02:26:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=61nq1uR8oYcYtpoq8jGzuKzn+SxLLqnstWCDwb/3p5Q=; b=X4TK8n9JU3w9D6NGr9HiNkoOF57xFx7LWDJV37ItQ9vunmoexqdJmIxdI5ponZRvqR o9EzOaMV79gpb0YE6h9l8iNUNgpRCYFItJyN2z2zY4YMUCza6Qk2fu1HvBa8G95k5njC IHBIYdv37RH8Rwt/pF27xTZvjiG45S8uniXdCeDkrC5DQ62MzuQtwdXqui0ff3oZRk+h AH33nZLhyptMFr9viyOoYRgClpWxa5D2r+kb2u/k1rf0VsbzZR3C5bSOEhKX/Vp7ombc Fw7XXR/Zug3fB9FO9jNMuQV3uwlghDY9eXF1ciaCZtB0enTK+R32NOfgOdHIckv3gwUZ HB0A== X-Received: by 10.58.198.164 with SMTP id jd4mr52379546vec.34.1356690381414; Fri, 28 Dec 2012 02:26:21 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.214.195 with SMTP id oc3csp53568vec; Fri, 28 Dec 2012 02:26:20 -0800 (PST) X-Received: by 10.66.52.102 with SMTP id s6mr97871960pao.6.1356690380071; Fri, 28 Dec 2012 02:26:20 -0800 (PST) Received: from mail-pb0-f46.google.com (mail-pb0-f46.google.com [209.85.160.46]) by mx.google.com with ESMTPS id c9si32090014pax.220.2012.12.28.02.26.19 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Dec 2012 02:26:20 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.46 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.46; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.46 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pb0-f46.google.com with SMTP id wy7so5867673pbc.33 for ; Fri, 28 Dec 2012 02:26:19 -0800 (PST) X-Received: by 10.68.132.232 with SMTP id ox8mr103259988pbb.46.1356690379592; Fri, 28 Dec 2012 02:26:19 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id is3sm19485354pbc.6.2012.12.28.02.26.14 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Dec 2012 02:26:18 -0800 (PST) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: k.debski@samsung.com, s.nawrocki@samsung.com, sylvester.nawrocki@gmail.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/3] [media] s5p-mfc: use mfc_err instead of printk Date: Fri, 28 Dec 2012 15:48:26 +0530 Message-Id: <1356689908-6866-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQlJi76B1klOU2qWdcTjL9gxFT9cfzlK7chdl3Awu1VEYOrMcUZn51P2C2yvKiSiFXqyGUTG Use mfc_err for consistency. Also silences checkpatch warning. Signed-off-by: Sachin Kamat --- drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c b/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c index bf7d010..bb99d3d 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c @@ -187,8 +187,7 @@ int s5p_mfc_alloc_codec_buffers_v5(struct s5p_mfc_ctx *ctx) dev->alloc_ctx[MFC_BANK1_ALLOC_CTX], ctx->bank1_size); if (IS_ERR(ctx->bank1_buf)) { ctx->bank1_buf = NULL; - printk(KERN_ERR - "Buf alloc for decoding failed (port A)\n"); + mfc_err("Buf alloc for decoding failed (port A)\n"); return -ENOMEM; } ctx->bank1_phys = s5p_mfc_mem_cookie(