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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1237154740.6636.4.camel@localhost.localdomain>
Date:	Sun, 15 Mar 2009 22:05:40 +0000
From:	Adrian McMenamin <adrian@...golddream.dyndns.info>
To:	Alsa-devel <alsa-devel@...ts.sourceforge.net>,
	Takashi Iwai <tiwai@...e.de>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	linux-sh <linux-sh@...r.kernel.org>
Subject: [PATCH] snd: aica - fix annoying compiler warning

Cast pointer to data member of struct firmware as a void to end an
annoying compiler warning.

fix annoying compiler warning

Signed-off-by: Adrian McMenamin <adrian@...en.demon.co.uk>
---

diff --git a/sound/sh/aica.c b/sound/sh/aica.c
index 7c920f3..822b119 100644
--- a/sound/sh/aica.c
+++ b/sound/sh/aica.c
@@ -567,7 +567,7 @@ static int load_aica_firmware(void)
 		return err;
 	/* write firware into memory */
 	spu_disable();
-	spu_memload(0, fw_entry->data, fw_entry->size);
+	spu_memload(0, (void *)fw_entry->data, fw_entry->size);
 	spu_enable();
 	release_firmware(fw_entry);
 	return err;

--
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