linux/include
Jaroslav Kysela eabe3228a8 [ALSA] Revert "alsa: add annotations to bitwise type snd_pcm_hw_param_t"
This reverts commit 36b34d2437104f323e09d7c6af6451d3c0b9c0cd.

From: Al Viro <viro@ZenIV.linux.org.uk>

WIW, *all* this stuff is not bitwise at all.  For crying out loud, half
of these types are routinely used as array indices and loop variables...

If anything, we want a different set of allowed operations - subtraction
between elements of type (yielding integer), addition/subtraction of
integer types not bigger than ours (yielding our type), comparisons,
assignments (=, +=, -=, passing to function as argument, return from
function, initializers) and second/third arguments in ?:.  With 0 *not*
being allowed as a constant of such type.

It's not bitwise; we may use the same infrastructure in sparse, but it
should be a separate class of types (__attribute__((affine))).

dma_addr_t is another candidate for the same treatment, but there we'll
need helpers for conversions to hw-acceptable form (dma_to_le32(), etc.)
and gradual conversion of drivers.

ALSA ones and pm mess are absolutely straightforward cases, though.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-06-26 08:53:05 +02:00
..
acpi
asm-alpha alpha: fix compile error in arch/alpha/mm/init.c 2008-06-23 18:26:04 -07:00
asm-arm
asm-avr32 Fix name of Russell King in various comments 2008-07-10 18:04:43 -07:00
asm-blackfin Blackfin Serial Driver: Use timer to poll CTS PIN instead of workqueue. 2008-06-19 17:46:39 +08:00
asm-cris
asm-frv frv: fix irqs_disabled() to return an int, not an unsigned long 2008-07-12 14:33:42 -07:00
asm-generic Christoph has moved 2008-07-04 10:40:04 -07:00
asm-h8300
asm-ia64
asm-m32r
asm-m68k
asm-m68knommu
asm-mips [MIPS] Fix bug in atomic_sub_if_positive. 2008-07-04 08:22:15 +01:00
asm-mn10300
asm-parisc
asm-powerpc Correct hash flushing from huge_ptep_set_wrprotect() 2008-07-08 09:27:58 -07:00
asm-ppc
asm-s390 [S390] protect _PAGE_SPECIAL bit against mprotect 2008-07-08 11:31:15 +02:00
asm-sh
asm-sparc
asm-sparc64
asm-um
asm-v850
asm-x86 Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-07-12 14:34:31 -07:00
asm-xtensa
crypto
keys
linux Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2008-07-10 17:58:47 -07:00
math-emu
media V4L/DVB (8092): videodev: simplify and fix standard enumeration 2008-06-26 15:58:57 -03:00
mtd
net net-sched: change tcf_destroy_chain() to clear start of filter list 2008-07-01 19:52:38 -07:00
pcmcia
rdma
rxrpc
scsi
sound [ALSA] Revert "alsa: add annotations to bitwise type snd_pcm_hw_param_t" 2008-06-26 08:53:05 +02:00
video
xen x86: Make xen use the paravirt clocksource structs and functions 2008-06-24 21:02:32 +03:00
Kbuild