Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1704964

Re: [PATCH 0/7] constify ALSA usb_device_id.

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Takashi Iwai <tiwai@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH 0/7] constify ALSA usb_device_id.
Date Sun, 06 Aug 2017 22:30:02 +0200
Message-ID <ubAls-6Rf-15@gated-at.bofh.it> (permalink)
References <ubnxT-7cN-3@gated-at.bofh.it>
User-Agent Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/25.2 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO)
MIME-Version 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type text/plain; charset=US-ASCII
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 20
Organization linux.* mail to news gateway
X-Original-Cc <zonque@gmail.com>, <clemens@ladisch.de>, <perex@perex.cz>, <alsa-devel@alsa-project.org>, <linux-kernel@vger.kernel.org>
X-Original-Date Sun, 06 Aug 2017 22:21:02 +0200
X-Original-Message-ID <s5h1soo30sx.wl-tiwai@suse.de>
X-Original-References <1502002139-10787-1-git-send-email-arvind.yadav.cs@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1704964

Show key headers only | View raw


On Sun, 06 Aug 2017 08:48:52 +0200,
Arvind Yadav wrote:
> 
> usb_device_id are not supposed to change at runtime. All functions
> working with usb_device_id provided by <linux/usb.h> work with
> const usb_device_id. So mark the non-const structs as const.
> 
> Arvind Yadav (7):
>   [PATCH 1/7] ALSA: 6fire: constify usb_device_id.
>   [PATCH 2/7] ALSA: bcd2000: constify usb_device_id.
>   [PATCH 3/7] ALSA: snd-usb-caiaq: constify usb_device_id.
>   [PATCH 4/7] ALSA: usb-audio: constify usb_device_id.
>   [PATCH 5/7] ALSA: ua101: constify usb_device_id.
>   [PATCH 6/7] ALSA: us122l: constify usb_device_id.
>   [PATCH 7/7] ALSA: usbusx2y: constify usb_device_id.

Applied all seven patches now.  Thanks.


Takashi

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 0/7] constify ALSA usb_device_id. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-06 09:00 +0200
  [PATCH 7/7] ALSA: usbusx2y: constify usb_device_id. Arvind Yadav <arvind.yadav.cs@gmail.com> - 2017-08-06 09:00 +0200
  Re: [PATCH 0/7] constify ALSA usb_device_id. Takashi Iwai <tiwai@suse.de> - 2017-08-06 22:30 +0200

csiph-web