mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: perex@suse.cz, torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Kill warning in ac97_codec
Date: Mon, 10 Jun 2002 21:33:45 +0200	[thread overview]
Message-ID: <20020610213345.A29262@mars.ravnborg.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 111 bytes --]

Kill warning from xxx_bit funtions in ac97_codec.
Compiled, but no possibility to test.

Against 2.5.21.

	Sam

[-- Attachment #2: ac97.patch --]
[-- Type: text/plain, Size: 1124 bytes --]

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.453   -> 1.454  
#	include/sound/ac97_codec.h	1.3     -> 1.4    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/06/10	sam@mars.ravnborg.org	1.454
# ac97: kill warning: passing arg 2 of `xxx_bit' from incompatible pointer type
# --------------------------------------------
#
diff -Nru a/include/sound/ac97_codec.h b/include/sound/ac97_codec.h
--- a/include/sound/ac97_codec.h	Mon Jun 10 21:31:23 2002
+++ b/include/sound/ac97_codec.h	Mon Jun 10 21:31:23 2002
@@ -160,7 +160,7 @@
 	unsigned int rates_mic_adc;
 	unsigned int spdif_status;
 	unsigned short regs[0x80]; /* register cache */
-	unsigned char reg_accessed[0x80 / 8]; /* bit flags */
+	unsigned long reg_accessed[0x80 / BITS_PER_LONG]; /* bit flags */
 	union {			/* vendor specific code */
 		struct {
 			unsigned short unchained[3];	// 0 = C34, 1 = C79, 2 = C69

                 reply	other threads:[~2002-06-10 21:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020610213345.A29262@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@suse.cz \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®