eabe3228a8
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> |
||
---|---|---|
.. | ||
ac97_codec.h | ||
ad1816a.h | ||
ad1848.h | ||
ak4xxx-adda.h | ||
ak4114.h | ||
ak4117.h | ||
ak4531_codec.h | ||
asequencer.h | ||
asound_fm.h | ||
asound.h | ||
asoundef.h | ||
control.h | ||
core.h | ||
cs46xx_dsp_scb_types.h | ||
cs46xx_dsp_spos.h | ||
cs46xx_dsp_task_types.h | ||
cs46xx.h | ||
cs4231-regs.h | ||
cs4231.h | ||
cs8403.h | ||
cs8427.h | ||
driver.h | ||
emu10k1_synth.h | ||
emu10k1.h | ||
emu8000_reg.h | ||
emu8000.h | ||
emux_legacy.h | ||
emux_synth.h | ||
es1688.h | ||
gus.h | ||
hda_hwdep.h | ||
hdsp.h | ||
hdspm.h | ||
hwdep.h | ||
i2c.h | ||
info.h | ||
initval.h | ||
Kbuild | ||
memalloc.h | ||
minors.h | ||
mixer_oss.h | ||
mpu401.h | ||
opl3.h | ||
opl4.h | ||
pcm_oss.h | ||
pcm_params.h | ||
pcm-indirect.h | ||
pcm.h | ||
pt2258.h | ||
rawmidi.h | ||
sb16_csp.h | ||
sb.h | ||
seq_device.h | ||
seq_kernel.h | ||
seq_midi_emul.h | ||
seq_midi_event.h | ||
seq_oss_legacy.h | ||
seq_oss.h | ||
seq_virmidi.h | ||
sfnt_info.h | ||
snd_wavefront.h | ||
soc-dapm.h | ||
soc.h | ||
soundfont.h | ||
sscape_ioctl.h | ||
tea575x-tuner.h | ||
tea6330t.h | ||
timer.h | ||
tlv.h | ||
trident.h | ||
uda1341.h | ||
util_mem.h | ||
version.h | ||
vx_core.h | ||
wavefront.h | ||
ymfpci.h |