lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1312651155-21891-1-git-send-email-wangshaoyan.pt@taobao.com>
Date:	Sun,  7 Aug 2011 01:19:15 +0800
From:	stufever@...il.com
To:	linux-kernel@...r.kernel.org
Cc:	mchehab@...radead.org, jarod@...hat.com,
	Wang Shaoyan <wangshaoyan.pt@...bao.com>
Subject: [PATCH] media: declare redrat3_init_rc_dev with the same parameter types

From: Wang Shaoyan <wangshaoyan.pt@...bao.com>

  drivers/media/rc/redrat3.c: In function 'redrat3_init_rc_dev':
  drivers/media/rc/redrat3.c:1107: warning: assignment from incompatible pointer type

Signed-off-by: Wang Shaoyan <wangshaoyan.pt@...bao.com>
---
 drivers/media/rc/redrat3.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/rc/redrat3.c b/drivers/media/rc/redrat3.c
index a166044..332ffa4 100644
--- a/drivers/media/rc/redrat3.c
+++ b/drivers/media/rc/redrat3.c
@@ -912,7 +912,7 @@ static int redrat3_set_tx_carrier(struct rc_dev *dev, u32 carrier)
 	return carrier;
 }
 
-static int redrat3_transmit_ir(struct rc_dev *rcdev, int *txbuf, u32 n)
+static int redrat3_transmit_ir(struct rc_dev *rcdev, unsigned *txbuf, unsigned n)
 {
 	struct redrat3_dev *rr3 = rcdev->priv;
 	struct device *dev = rr3->dev;
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ