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: 4753371 Return-Path: X-Original-To: patchwork-linux-media@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 AA56AC0338 for ; Wed, 20 Aug 2014 19:11:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D2CBC2015E for ; Wed, 20 Aug 2014 19:11:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 18DD020136 for ; Wed, 20 Aug 2014 19:11:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752425AbaHTTLv (ORCPT ); Wed, 20 Aug 2014 15:11:51 -0400 Received: from mail-la0-f41.google.com ([209.85.215.41]:39286 "EHLO mail-la0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752064AbaHTTLv (ORCPT ); Wed, 20 Aug 2014 15:11:51 -0400 Received: by mail-la0-f41.google.com with SMTP id s18so7730284lam.0 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=KKBDwJt9Yau9Q9SamdRW0Ovk2tAcPknM8UbQ6VgEB3TNjUt8l13bopH1D5ZPQ0l1OO NyKi60Ta/av/tcidUDjq8Zi7fOKtivLLzEPDJJf1d0CUXux3T4/D35lmnsaUPXvcU0co ZU/BBJ3R03xSnMWhn1pZb/gQHaP6m7y8fawWBPYGvz3aAj9FVtVSie4ZNLAoPk+ciucq Q7f6YhgDs3EVwt8V0Dpy/WYYGQ7JjvkXtvKU5fCeLeYhCGSm2sPU2ChcLN+Ge/SA9Mfn xC7NcPMflh6NpX76HyrjbatFfnh64BkkAUIurfumU4CzOvxJVTwCCJmd5RecAqOOeKUO uewQ== X-Gm-Message-State: ALoCoQk/WzEeT/T/sPC/1JSbKpINikw/bIbn5g9+lkTI+gUOeStqNdLiy2/ZxZs4VJV9QV1H/ZYc 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-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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-media" 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; }