Alsa-Devel Archive on lore.kernel.org
 help / color / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: alsa-devel@alsa-project.org
Subject: [alsa-devel] [PATCH 00/68] ALSA: Constifications, take #2
Date: Sun,  5 Jan 2020 15:47:15 +0100
Message-ID: <20200105144823.29547-1-tiwai@suse.de> (raw)

Hi,

this is the next series of patches for adding more const prefix
allover the places.  They do just nothing but adding cost.


Takashi

===

Takashi Iwai (68):
  ALSA: Allow const arrays for legacy resource management helpers
  ALSA: aoa: More constifications
  ALSA: hda/realtek - More constifications
  ALSA: dummy: More constifications
  ALSA: pcm: More constifications
  ALSA: seq: More constifications
  ALSA: vx: More constifications
  ALSA: intel8x0: More constifications
  ALSA: hda: More constifications
  ALSA: ac97: More constifications
  ALSA: usb-audio: More constifications
  ALSA: caiaq: More constifications
  ALSA: au88x0: More constifications
  ALSA: emu10k1: More constifications
  ALSA: riptide: More constifications
  ALSA: ice1712: More constifications
  ALSA: ppc: More constifications
  ALSA: hdsp: More constifications
  ALSA: hdspm: More constifications
  ALSA: rme9652: More constifications
  ALSA: emux: More constifications
  ALSA: usx2y: More constifications
  ALSA: pcxhr: More constifications
  ALSA: mixart: More constifications
  ALSA: ymfpci: More constifications
  ALSA: bcd2000: More constifications
  ALSA: nm256: More constifications
  ALSA: korg1212: More constifications
  ALSA: cs46xx: More constifications
  ALSA: ca0106: More constifications
  ALSA: ctxfi: More constifications
  ALSA: asihpi: More constifications
  ALSA: atiixp: More constifications
  ALSA: es1938: More constifications
  ALSA: es1968: More constifications
  ALSA: cmipci: More constifications
  ALSA: sparc: More constifications
  ALSA: info: More constifications
  ALSA: jack: More constification
  ALSA: oss: More constifications
  ALSA: rawmidi: More constification
  ALSA: opl3: More constifications
  ALSA: cmi8328: More constifications
  ALSA: cs423x: More constification
  ALSA: sb: More constifications
  ALSA: cmi8330: More constifications
  ALSA: es1688: More constifications
  ALSA: es18xx: More constifications
  ALSA: gus: More constifications
  ALSA: opti9xx: More constifications
  ALSA: wss: More constifications
  ALSA: sc6000: More constification
  ALSA: mts64: More constifications
  ALSA: aw2: More constifications
  ALSA: lx6464es: More constifications
  ALSA: arm: More constification
  ALSA: opl4: More constification
  ALSA: serial-u16550: More constification
  ALSA: ak4531: More constification
  ALSA: azt3328: More constification
  ALSA: cs4281: More constification
  ALSA: echoaudio: More constification
  ALSA: ens137x: More constification
  ALSA: fm801: More constification
  ALSA: via82xx: More constification
  ALSA: pdaudiocf: More constification
  ALSA: spi: More constification
  ALSA: sh: Fix compile warning wrt const

 include/sound/initval.h                 |   6 +-
 sound/aoa/codecs/onyx.c                 |   4 +-
 sound/aoa/codecs/tas-basstreble.h       |   4 +-
 sound/aoa/codecs/tas-gain-table.h       |   2 +-
 sound/aoa/soundbus/i2sbus/core.c        |   2 +-
 sound/arm/aaci.c                        |   2 +-
 sound/core/info.c                       |   4 +-
 sound/core/jack.c                       |   2 +-
 sound/core/oss/mixer_oss.c              |   2 +-
 sound/core/oss/pcm_plugin.c             |   2 +-
 sound/core/pcm.c                        |  12 ++--
 sound/core/pcm_lib.c                    |   2 +-
 sound/core/pcm_misc.c                   |   5 +-
 sound/core/rawmidi.c                    |   2 +-
 sound/core/seq/oss/seq_oss_init.c       |   4 +-
 sound/core/seq/seq_midi_emul.c          |   6 +-
 sound/core/seq/seq_midi_event.c         |   6 +-
 sound/drivers/dummy.c                   |  24 +++----
 sound/drivers/mts64.c                   |   4 +-
 sound/drivers/opl3/opl3_drums.c         |   2 +-
 sound/drivers/opl3/opl3_midi.c          |   6 +-
 sound/drivers/opl4/opl4_synth.c         |   2 +-
 sound/drivers/serial-u16550.c           |   2 +-
 sound/drivers/vx/vx_cmd.c               |   2 +-
 sound/drivers/vx/vx_core.c              |  12 ++--
 sound/drivers/vx/vx_hwdep.c             |   2 +-
 sound/drivers/vx/vx_mixer.c             |   2 +-
 sound/hda/hdac_device.c                 |   4 +-
 sound/hda/hdmi_chmap.c                  |   2 +-
 sound/hda/intel-nhlt.c                  |   2 +-
 sound/isa/cmi8328.c                     |  24 +++----
 sound/isa/cmi8330.c                     |   8 +--
 sound/isa/cs423x/cs4236_lib.c           |   2 +-
 sound/isa/es1688/es1688.c               |   6 +-
 sound/isa/es1688/es1688_lib.c           |   4 +-
 sound/isa/es18xx.c                      |  10 +--
 sound/isa/gus/gus_io.c                  |   2 +-
 sound/isa/gus/gus_main.c                |   4 +-
 sound/isa/gus/gus_volume.c              |   9 +--
 sound/isa/gus/gusclassic.c              |   6 +-
 sound/isa/gus/gusextreme.c              |  10 +--
 sound/isa/gus/gusmax.c                  |   6 +-
 sound/isa/gus/interwave.c               |  10 +--
 sound/isa/opti9xx/miro.c                |  18 ++---
 sound/isa/opti9xx/opti92x-ad1848.c      |  18 ++---
 sound/isa/sb/emu8000.c                  |  16 ++---
 sound/isa/sb/jazz16.c                   |  10 +--
 sound/isa/sb/sb16.c                     |   8 +--
 sound/isa/sb/sb8.c                      |   2 +-
 sound/isa/sb/sb_mixer.c                 |  38 +++++-----
 sound/isa/sc6000.c                      |   4 +-
 sound/isa/wss/wss_lib.c                 |   6 +-
 sound/pci/ac97/ac97_codec.c             |  10 +--
 sound/pci/ac97/ac97_patch.c             |  26 +++----
 sound/pci/ac97/ac97_pcm.c               |   4 +-
 sound/pci/ak4531_codec.c                |   2 +-
 sound/pci/asihpi/asihpi.c               |   4 +-
 sound/pci/asihpi/hpimsgx.c              |   2 +-
 sound/pci/atiixp.c                      |   2 +-
 sound/pci/atiixp_modem.c                |   2 +-
 sound/pci/au88x0/au88x0_core.c          |   2 +-
 sound/pci/au88x0/au88x0_eq.c            |  22 +++---
 sound/pci/au88x0/au88x0_eqdata.c        |  18 ++---
 sound/pci/au88x0/au88x0_pcm.c           |   4 +-
 sound/pci/aw2/aw2-tsl.c                 |   4 +-
 sound/pci/azt3328.c                     |   2 +-
 sound/pci/ca0106/ca0106_main.c          |   4 +-
 sound/pci/ca0106/ca0106_mixer.c         |  14 ++--
 sound/pci/cmipci.c                      |   8 +--
 sound/pci/cs4281.c                      |   2 +-
 sound/pci/cs46xx/cs46xx_lib.c           |   2 +-
 sound/pci/cs46xx/dsp_spos.c             |   4 +-
 sound/pci/cs46xx/dsp_spos_scb_lib.c     |   6 +-
 sound/pci/ctxfi/ctdaio.c                |   4 +-
 sound/pci/ctxfi/ctresource.c            |   2 +-
 sound/pci/echoaudio/echoaudio.c         |   2 +-
 sound/pci/emu10k1/emu10k1_main.c        |  12 ++--
 sound/pci/emu10k1/emufx.c               |  14 ++--
 sound/pci/emu10k1/emumixer.c            |  28 ++++----
 sound/pci/emu10k1/emuproc.c             |  16 ++---
 sound/pci/emu10k1/io.c                  |   4 +-
 sound/pci/ens1370.c                     |   2 +-
 sound/pci/es1938.c                      |   8 ++-
 sound/pci/es1968.c                      |   4 +-
 sound/pci/fm801.c                       |   2 +-
 sound/pci/hda/hda_codec.c               |   6 +-
 sound/pci/hda/hda_eld.c                 |   6 +-
 sound/pci/hda/hda_intel.c               |   8 +--
 sound/pci/hda/hda_proc.c                |   2 +-
 sound/pci/hda/hda_sysfs.c               |   2 +-
 sound/pci/hda/patch_analog.c            |   2 +-
 sound/pci/hda/patch_ca0132.c            |  18 ++---
 sound/pci/hda/patch_realtek.c           | 118 ++++++++++++++++----------------
 sound/pci/ice1712/aureon.c              |   8 +--
 sound/pci/ice1712/juli.c                |   6 +-
 sound/pci/ice1712/maya44.c              |  10 +--
 sound/pci/ice1712/phase.c               |   4 +-
 sound/pci/ice1712/pontis.c              |   2 +-
 sound/pci/ice1712/prodigy192.c          |   2 +-
 sound/pci/ice1712/prodigy_hifi.c        |  16 ++---
 sound/pci/ice1712/psc724.c              |   2 +-
 sound/pci/ice1712/quartet.c             |   8 +--
 sound/pci/ice1712/se.c                  |   8 +--
 sound/pci/ice1712/vt1720_mobo.c         |   4 +-
 sound/pci/ice1712/wtm.c                 |   6 +-
 sound/pci/intel8x0.c                    |  28 ++++----
 sound/pci/intel8x0m.c                   |  12 ++--
 sound/pci/korg1212/korg1212.c           |   8 +--
 sound/pci/lx6464es/lx_core.c            |   4 +-
 sound/pci/mixart/mixart_hwdep.c         |   2 +-
 sound/pci/mixart/mixart_mixer.c         |   4 +-
 sound/pci/nm256/nm256.c                 |   4 +-
 sound/pci/nm256/nm256_coef.c            |   4 +-
 sound/pci/pcxhr/pcxhr.c                 |   2 +-
 sound/pci/pcxhr/pcxhr_core.c            |   6 +-
 sound/pci/pcxhr/pcxhr_hwdep.c           |   2 +-
 sound/pci/riptide/riptide.c             |  60 ++++++++--------
 sound/pci/rme9652/hdsp.c                |  14 ++--
 sound/pci/rme9652/hdspm.c               |  66 +++++++++---------
 sound/pci/rme9652/rme9652.c             |  10 +--
 sound/pci/via82xx.c                     |   2 +-
 sound/pci/vx222/vx222_ops.c             |   4 +-
 sound/pci/ymfpci/ymfpci_main.c          |   8 +--
 sound/pcmcia/pdaudiocf/pdaudiocf_core.c |   2 +-
 sound/pcmcia/vx/vxp_ops.c               |   2 +-
 sound/ppc/beep.c                        |   2 +-
 sound/ppc/pmac.c                        |   8 +--
 sound/ppc/pmac.h                        |   2 +-
 sound/ppc/tumbler.c                     |  20 +++---
 sound/ppc/tumbler_volume.h              |  12 ++--
 sound/sh/aica.c                         |   4 +-
 sound/sparc/cs4231.c                    |   4 +-
 sound/sparc/dbri.c                      |   2 +-
 sound/spi/at73c213.c                    |   2 +-
 sound/synth/emux/emux_nrpn.c            |   4 +-
 sound/synth/emux/emux_synth.c           |  10 +--
 sound/synth/emux/soundfont.c            |   8 +--
 sound/usb/bcd2000/bcd2000.c             |   4 +-
 sound/usb/caiaq/audio.c                 |   2 +-
 sound/usb/caiaq/control.c               |  20 +++---
 sound/usb/caiaq/input.c                 |  10 +--
 sound/usb/mixer.c                       |  60 ++++++++--------
 sound/usb/mixer_maps.c                  |  56 +++++++--------
 sound/usb/mixer_quirks.c                |   6 +-
 sound/usb/mixer_scarlett.c              |  14 ++--
 sound/usb/proc.c                        |   2 +-
 sound/usb/stream.c                      |   4 +-
 sound/usb/usx2y/usX2Yhwdep.c            |   2 +-
 sound/usb/usx2y/usbusx2yaudio.c         |   6 +-
 sound/usb/validate.c                    |   4 +-
 150 files changed, 677 insertions(+), 669 deletions(-)

-- 
2.16.4

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

             reply index

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-05 14:47 Takashi Iwai [this message]
2020-01-05 14:47 ` [alsa-devel] [PATCH 01/68] ALSA: Allow const arrays for legacy resource management helpers Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 02/68] ALSA: aoa: More constifications Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 03/68] ALSA: hda/realtek - " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 04/68] ALSA: dummy: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 05/68] ALSA: pcm: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 06/68] ALSA: seq: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 07/68] ALSA: vx: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 08/68] ALSA: intel8x0: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 09/68] ALSA: hda: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 10/68] ALSA: ac97: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 11/68] ALSA: usb-audio: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 12/68] ALSA: caiaq: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 13/68] ALSA: au88x0: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 14/68] ALSA: emu10k1: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 15/68] ALSA: riptide: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 16/68] ALSA: ice1712: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 17/68] ALSA: ppc: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 18/68] ALSA: hdsp: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 19/68] ALSA: hdspm: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 20/68] ALSA: rme9652: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 21/68] ALSA: emux: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 22/68] ALSA: usx2y: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 23/68] ALSA: pcxhr: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 24/68] ALSA: mixart: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 25/68] ALSA: ymfpci: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 26/68] ALSA: bcd2000: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 27/68] ALSA: nm256: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 28/68] ALSA: korg1212: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 29/68] ALSA: cs46xx: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 30/68] ALSA: ca0106: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 31/68] ALSA: ctxfi: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 32/68] ALSA: asihpi: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 33/68] ALSA: atiixp: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 34/68] ALSA: es1938: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 35/68] ALSA: es1968: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 36/68] ALSA: cmipci: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 37/68] ALSA: sparc: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 38/68] ALSA: info: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 39/68] ALSA: jack: More constification Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 40/68] ALSA: oss: More constifications Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 41/68] ALSA: rawmidi: More constification Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 42/68] ALSA: opl3: More constifications Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 43/68] ALSA: cmi8328: " Takashi Iwai
2020-01-05 14:47 ` [alsa-devel] [PATCH 44/68] ALSA: cs423x: More constification Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 45/68] ALSA: sb: More constifications Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 46/68] ALSA: cmi8330: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 47/68] ALSA: es1688: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 48/68] ALSA: es18xx: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 49/68] ALSA: gus: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 50/68] ALSA: opti9xx: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 51/68] ALSA: wss: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 52/68] ALSA: sc6000: More constification Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 53/68] ALSA: mts64: More constifications Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 54/68] ALSA: aw2: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 55/68] ALSA: lx6464es: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 56/68] ALSA: arm: More constification Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 57/68] ALSA: opl4: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 58/68] ALSA: serial-u16550: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 59/68] ALSA: ak4531: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 60/68] ALSA: azt3328: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 61/68] ALSA: cs4281: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 62/68] ALSA: echoaudio: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 63/68] ALSA: ens137x: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 64/68] ALSA: fm801: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 65/68] ALSA: via82xx: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 66/68] ALSA: pdaudiocf: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 67/68] ALSA: spi: " Takashi Iwai
2020-01-05 14:48 ` [alsa-devel] [PATCH 68/68] ALSA: sh: Fix compile warning wrt const Takashi Iwai

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=20200105144823.29547-1-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    /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

Alsa-Devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/alsa-devel/0 alsa-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 alsa-devel alsa-devel/ https://lore.kernel.org/alsa-devel \
		alsa-devel@alsa-project.org
	public-inbox-index alsa-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.alsa-project.alsa-devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git