From patchwork Wed Aug 20 18:14:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4753101 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1817D9F3B4 for ; Wed, 20 Aug 2014 18:15:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 21F77200E7 for ; Wed, 20 Aug 2014 18:15:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EC30F2015A for ; Wed, 20 Aug 2014 18:15:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752675AbaHTSPA (ORCPT ); Wed, 20 Aug 2014 14:15:00 -0400 Received: from mail-lb0-f181.google.com ([209.85.217.181]:51094 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751990AbaHTSPA (ORCPT ); Wed, 20 Aug 2014 14:15:00 -0400 Received: by mail-lb0-f181.google.com with SMTP id 10so7005934lbg.40 for ; Wed, 20 Aug 2014 11:14:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:mime-version:content-transfer-encoding:content-type; bh=E/l2CkBtmHKc78oGoxjggXWo1wqmJguVxyCoL5HODSQ=; b=lI7qILRaq8GdyVCAf+ttSidur6slu3bS3TWH00i7/Bix+yUdCjvDKIUGLl0JnSo/Fy g6rgdSPk4bEgjOFp9KJL6EpxMEGHDY884/VKKZqDrIGoHjAONqydFJ5q/PVX+zv+zcC2 0SfD8TkGUpmnyVTLErX5rtGpf6V7aws5QPODEze1Wz4ItHUmQy0lfw6qeg18bYvZqq0c XMjpMHI9tev0DYNjFjIbwwKrr8rfV7PoUhzoTH/Gf0dZCD3KDBDT8R265v68h4MBMJAW eyIBbsrxQW5ET81jr1rmph/14wut/BiahbtZQHaoBoFoPfJhnPv3FX07+myqSeIVKuYu +sXw== X-Gm-Message-State: ALoCoQnxm9NWOIOJlUU84YiFIbg5cYDt1QANIGCsMOzt6pRYvcecfINCupVIKquvZgWOSu7V/5/R X-Received: by 10.153.6.9 with SMTP id cq9mr4610416lad.48.1408558498843; Wed, 20 Aug 2014 11:14:58 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp30-168.pppoe.mtu-net.ru. [81.195.30.168]) by mx.google.com with ESMTPSA id dk4sm38105210lbb.38.2014.08.20.11.14.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Aug 2014 11:14:58 -0700 (PDT) From: Sergei Shtylyov To: g.liakhovetski@gmx.de, mchehab@redhat.com, linux-media@vger.kernel.org Cc: linux-sh@vger.kernel.org Subject: [PATCH] rcar_vin: fix error message in rcar_vin_get_formats() Date: Wed, 20 Aug 2014 22:14:56 +0400 Message-ID: <9395741.sQ4VThHCsR@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.13.3 (Linux/3.15.10-200.fc20.x86_64; KDE/4.13.3; x86_64; ; ) MIME-Version: 1.0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The dev_err() call is supposed to output x in decimal but one of the format specifiers is "%x" instead of "%u" (most probably due to a typo). Signed-off-by: Sergei Shtylyov --- The patch is against the 'media_tree.git' repo's 'fixes' branch. drivers/media/platform/soc_camera/rcar_vin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: media_tree/drivers/media/platform/soc_camera/rcar_vin.c =================================================================== --- media_tree.orig/drivers/media/platform/soc_camera/rcar_vin.c +++ media_tree/drivers/media/platform/soc_camera/rcar_vin.c @@ -981,7 +981,7 @@ static int rcar_vin_get_formats(struct s if (shift == 3) { dev_err(dev, - "Failed to configure the client below %ux%x\n", + "Failed to configure the client below %ux%u\n", mf.width, mf.height); return -EIO; }