From patchwork Tue Nov 17 06:33:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 7633441 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6923FBF90C for ; Tue, 17 Nov 2015 06:33:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A82AC20528 for ; Tue, 17 Nov 2015 06:33:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C2E1020525 for ; Tue, 17 Nov 2015 06:33:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752498AbbKQGdf (ORCPT ); Tue, 17 Nov 2015 01:33:35 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:32832 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752487AbbKQGde (ORCPT ); Tue, 17 Nov 2015 01:33:34 -0500 Received: by wmec201 with SMTP id c201so211159951wme.0 for ; Mon, 16 Nov 2015 22:33:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:cc:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=+zQ/xQFcStLNrerFp8qu2+vvqE+Gecn8YiuQOmxip4Y=; b=I1d1pa/h7EJIyjbISNc6hkZRdnsWhIJ2o+lfU+ahojliE6A/79LkM+4fErk7jJtHqX JttikV1kQsPK8XaYtqe6sCkXnPP6tbkhPLAypcUouINpYMPozZOKVu8QFhmPs4bRH8Cc TgwZMxAKYOpaVLsk7SPhYg6cvfTTDMqBHicY4sRrwVaHKdt7AsKD2g92wNtpWax7Z1f2 NNu7CBPxGn3QeLx9GeyXREqdNIafdH/GdkU9eX6rvhIFR8tWCcJFbgTNcSZJGXrfM+TZ gpgnz/gyQwLpqiNdXU692ZmUWMEtLCW+lE8qbDSuMsmXRt6mZQZgAhXzP3/JgWTwN2mh Qh4g== X-Received: by 10.194.7.97 with SMTP id i1mr47193964wja.87.1447742013653; Mon, 16 Nov 2015 22:33:33 -0800 (PST) Received: from ?IPv6:2003:62:5f55:ba00:61f6:905d:8be6:badf? (p200300625F55BA0061F6905D8BE6BADF.dip0.t-ipconnect.de. [2003:62:5f55:ba00:61f6:905d:8be6:badf]) by smtp.googlemail.com with ESMTPSA id ka10sm38143105wjc.30.2015.11.16.22.33.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Nov 2015 22:33:33 -0800 (PST) From: Heiner Kallweit Subject: [PATCH] media: cx23885: fix type of allowed_protos To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, =?UTF-8?Q?David_H=c3=a4rdeman?= Message-ID: <564ACA35.9010401@gmail.com> Date: Tue, 17 Nov 2015 07:33:25 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 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.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Protocol lists are represented as 64-bit bitmaps, therefore use u64 instead of unsigned long. Signed-off-by: Heiner Kallweit --- drivers/media/pci/cx23885/cx23885-input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/cx23885/cx23885-input.c b/drivers/media/pci/cx23885/cx23885-input.c index 088799c..64328d0 100644 --- a/drivers/media/pci/cx23885/cx23885-input.c +++ b/drivers/media/pci/cx23885/cx23885-input.c @@ -268,7 +268,7 @@ int cx23885_input_init(struct cx23885_dev *dev) struct rc_dev *rc; char *rc_map; enum rc_driver_type driver_type; - unsigned long allowed_protos; + u64 allowed_protos; int ret;