From patchwork Wed Aug 20 19:11:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4753361 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 90FAAC0338 for ; Wed, 20 Aug 2014 19:11:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BF3C82015E for ; Wed, 20 Aug 2014 19:11:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8DA8020136 for ; Wed, 20 Aug 2014 19:11:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752434AbaHTTLv (ORCPT ); Wed, 20 Aug 2014 15:11:51 -0400 Received: from mail-la0-f48.google.com ([209.85.215.48]:32898 "EHLO mail-la0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751575AbaHTTLu (ORCPT ); Wed, 20 Aug 2014 15:11:50 -0400 Received: by mail-la0-f48.google.com with SMTP id gl10so7443611lab.7 for ; Wed, 20 Aug 2014 12:11:49 -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=Gu3VXnaqdOCahgrZSodDvu6DZ6ZHUIWYp8GYo4TJAsE=; b=GwNSKRodit0gzuK5IIp9pOqtMWx41Vc/HrFFxsRC6NNXZeg3cIcKOE7JEZXJIlSdWg shd28fz2jnkJnsN196gxdeI04XdPs0ocAmDZPHMSeSBZ2m0Urtiuq4qtHMZaZjOgwRmR dTULrWyeNlZkUCIhnVOUv8+Eihbq7QeW4qy0R3w79qg+D+Zw/J4Xu386DaAQakpulndI DN5Rm9u/mIcrhYMPRZbCvz1R+hEWTro5MNCYWq8m25sXB9EQbChnwn1L/4qr8Zh8cPhm qLj+Tn1MJaJIzbo2iHkmjjnEEJJmTj/FWkNE1WQJytHZFMekPXlXBYR3W1HmYwT+zkKH /CLg== X-Gm-Message-State: ALoCoQnz6WyJYMD77jkkiJ9gtZnIvmJBniKAImlUiil03QPnee+uA5fchPHQXlINZkYft4Xm/s2i X-Received: by 10.152.7.212 with SMTP id l20mr1146678laa.7.1408561909237; Wed, 20 Aug 2014 12:11:49 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp30-168.pppoe.mtu-net.ru. [81.195.30.168]) by mx.google.com with ESMTPSA id a5sm38309198lbw.21.2014.08.20.12.11.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Aug 2014 12:11:48 -0700 (PDT) From: Sergei Shtylyov To: g.liakhovetski@gmx.de, mchehab@samsung.com, linux-media@vger.kernel.org Cc: linux-sh@vger.kernel.org Subject: [PATCH resend] rcar_vin: fix error message in rcar_vin_get_formats() Date: Wed, 20 Aug 2014 23:11:46 +0400 Message-ID: <2757286.QhObRprPE4@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. Resending with Mauro's current address... 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; }