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-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <18101143033031832003.slaby@pripojeni.net>
Date:	Fri, 9 Nov 2007 18:50:54 -0500
From:	Jiri Slaby <jirislaby@...il.com>
To:	<linux-kernel@...r.kernel.org>
Cc:	Frank Seidel <fseidel@...e.de>
Subject: [RFC 12/13] Char: nozomi, remove void acc char2 char3 more mp mp.c mp.yy m1 nozomi2 proto rej slock1 casts

nozomi, remove void * casts

Signed-off-by: Jiri Slaby <jirislaby@...il.com>

---
commit 92ca82bcbd5dde95096dac24d0f6a9beab68e003
tree 748ac937f772410b364245897492b693491743f6
parent 1ab5d64fc4a2dd7a50b8971c67b9793511b4c47a
author Jiri Slaby <jirislaby@...il.com> Mon, 05 Nov 2007 15:28:46 +0100
committer Jiri Slaby <jirislaby@...il.com> Sat, 10 Nov 2007 00:15:05 +0100

 drivers/char/nozomi.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/char/nozomi.c b/drivers/char/nozomi.c
index e87ded2..0735df0 100644
--- a/drivers/char/nozomi.c
+++ b/drivers/char/nozomi.c
@@ -1752,7 +1752,7 @@ static int ntty_write(struct tty_struct *tty, const unsigned char *buffer,
 {
 	int rval = -EINVAL;
 	struct nozomi *dc = get_dc_by_tty(tty);
-	struct port *port = (struct port *)tty->driver_data;
+	struct port *port = tty->driver_data;
 	unsigned long flags;
 
 	/* DBG1( "WRITEx: %d, index = %d", count, index); */
@@ -1811,7 +1811,7 @@ exit:
  */
 static int ntty_write_room(struct tty_struct *tty)
 {
-	struct port *port = (struct port *)tty->driver_data;
+	struct port *port = tty->driver_data;
 	int room = 0;
 	struct nozomi *dc = get_dc_by_tty(tty);
 
@@ -1966,7 +1966,7 @@ static void ntty_put_char(struct tty_struct *tty, unsigned char c)
 /* Returns number of chars in buffer, called by tty layer */
 static s32 ntty_chars_in_buffer(struct tty_struct *tty)
 {
-	struct port *port = (struct port *)tty->driver_data;
+	struct port *port = tty->driver_data;
 	struct nozomi *dc = get_dc_by_tty(tty);
 	s32 rval;
 
-
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