From patchwork Wed Dec 24 11:36:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ismael Luceno X-Patchwork-Id: 5538851 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 07837BEEA8 for ; Wed, 24 Dec 2014 11:37:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 390A4201E4 for ; Wed, 24 Dec 2014 11:37:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5B178201CD for ; Wed, 24 Dec 2014 11:37:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751581AbaLXLhd (ORCPT ); Wed, 24 Dec 2014 06:37:33 -0500 Received: from mail-yk0-f173.google.com ([209.85.160.173]:37191 "EHLO mail-yk0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751165AbaLXLhc (ORCPT ); Wed, 24 Dec 2014 06:37:32 -0500 Received: by mail-yk0-f173.google.com with SMTP id 19so3850221ykq.18 for ; Wed, 24 Dec 2014 03:37:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=4YGuHMr7QHOrTCuQUsOKQ81ZKwhXLMbXIFTRJdfu3fM=; b=FzNvAhWp5sYR5tlxBCi6uIw3oLS+fLFjiK0h1tBeZqwvrZNxAW+pF4Zk78pTSSrWLb amAJk59RjJLWJZktf5myl/aPuqKgB6OXWGDkBDFviGjmDX0y9NPVmBf+oW1F5N4VuGAU FNinGXIF1B9hnk8/Q35CFMi283tyvLNBY2lusWzbF54D29xIrY7oClhE4v6LDWpmUC5Z vg+OoqkoacdOfpIhRRjHwXye9EWkuuYXzlOuBlJD7q9Rwoi4GfjqSDTgyMLRM9ZKrTd2 /HFmPeKnVGNy8cWPEiErQitmMvqayyLJLx6TPmfmtAyEo/PMDw7ZddaRADiSMi4K7/QK sQow== X-Received: by 10.170.61.202 with SMTP id d193mr30277204ykd.32.1419421052112; Wed, 24 Dec 2014 03:37:32 -0800 (PST) Received: from localhost (host153.190-226-218.telecom.net.ar. [190.226.218.153]) by mx.google.com with ESMTPSA id s29sm15888964yha.28.2014.12.24.03.37.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Dec 2014 03:37:31 -0800 (PST) From: Ismael Luceno To: linux-media@vger.kernel.org Cc: Hans Verkuil , Andrey Utkin , Ismael Luceno Subject: [PATCH 3/3] solo6x10: Fix solo_eeprom_read retval type Date: Wed, 24 Dec 2014 08:36:01 -0300 Message-Id: <1419420961-7819-3-git-send-email-ismael@iodev.co.uk> X-Mailer: git-send-email 2.2.0 In-Reply-To: <1419420961-7819-1-git-send-email-ismael@iodev.co.uk> References: <1419420961-7819-1-git-send-email-ismael@iodev.co.uk> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable 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 Signed-off-by: Ismael Luceno --- drivers/media/pci/solo6x10/solo6x10-eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/solo6x10/solo6x10-eeprom.c b/drivers/media/pci/solo6x10/solo6x10-eeprom.c index da25ce4..8e81186 100644 --- a/drivers/media/pci/solo6x10/solo6x10-eeprom.c +++ b/drivers/media/pci/solo6x10/solo6x10-eeprom.c @@ -103,7 +103,7 @@ unsigned int solo_eeprom_ewen(struct solo_dev *solo_dev, int w_en) __be16 solo_eeprom_read(struct solo_dev *solo_dev, int loc) { int read_cmd = loc | (EE_READ_CMD << ADDR_LEN); - unsigned short retval = 0; + u16 retval = 0; int i; solo_eeprom_cmd(solo_dev, read_cmd);