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: 4753091 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 DB4ACC0338 for ; Wed, 20 Aug 2014 18:15:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E75E620155 for ; Wed, 20 Aug 2014 18:15:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A032B200E7 for ; Wed, 20 Aug 2014 18:15:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752680AbaHTSPA (ORCPT ); Wed, 20 Aug 2014 14:15:00 -0400 Received: from mail-la0-f52.google.com ([209.85.215.52]:33612 "EHLO mail-la0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751891AbaHTSPA (ORCPT ); Wed, 20 Aug 2014 14:15:00 -0400 Received: by mail-la0-f52.google.com with SMTP id b17so7526884lan.39 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=DiPqpdt4oeKGA8G1Hzvh5pRzQ3eeBRcf50l6pLaps0YKXHlEqpxsZ3D3np3E7Jg6IA z922KhzM289cyGKrX6jxctWHc0zkuqDk0+6FQpzm1RrNQZB3aNd4tN4xdTyp/IipMnwb SEPggKDneIeoYOxMjxPEokIHjgONEEExiLH7YTSp5X+g2pXoqU7+mEVpQRMbMI4O7H7P O02Vkw3iENCynFnls5+iTst/8rvBjo44C9f3Hu53UtnT8KuiNoKNR5UZAigChI2OmYIi ylurOnXMioR6fU79L0EzACnsThjcnn0YdgOTjg2XH8lhdcwJC5D19Qwbdu3YBnz+DzGA 3Isw== X-Gm-Message-State: ALoCoQnOGummaPIzmlQK3fkwPr6U3cTnRvCZSdWUs9P4ZR5YFVklxk4q2mk1Kx59lAe68f825TJI 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-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. 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; }