Home
last modified time | relevance | path

Searched hist:"071 f1344f47946dfcb511bf0fbc998dd9a83be29" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/sound/pci/ctxfi/
H A Dctatc.cdiff 071f1344f47946dfcb511bf0fbc998dd9a83be29 Sun Sep 11 08:05:43 CDT 2016 Julia Lawall <Julia.Lawall@lip6.fr> ALSA: pci: constify local structures

For structure types defined in the same file or local header files, find
top-level static structure declarations that have the following
properties:
1. Never reassigned.
2. Address never taken
3. Not passed to a top-level macro call
4. No pointer or array-typed field passed to a function or stored in a
variable.
Declare structures having all of these properties as const.

Done using Coccinelle.
Based on a suggestion by Joe Perches <joe@perches.com>.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
/openbmc/linux/sound/pci/riptide/
H A Driptide.cdiff 071f1344f47946dfcb511bf0fbc998dd9a83be29 Sun Sep 11 08:05:43 CDT 2016 Julia Lawall <Julia.Lawall@lip6.fr> ALSA: pci: constify local structures

For structure types defined in the same file or local header files, find
top-level static structure declarations that have the following
properties:
1. Never reassigned.
2. Address never taken
3. Not passed to a top-level macro call
4. No pointer or array-typed field passed to a function or stored in a
variable.
Declare structures having all of these properties as const.

Done using Coccinelle.
Based on a suggestion by Joe Perches <joe@perches.com>.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
/openbmc/linux/sound/pci/hda/
H A Dpatch_ca0132.cdiff 071f1344f47946dfcb511bf0fbc998dd9a83be29 Sun Sep 11 08:05:43 CDT 2016 Julia Lawall <Julia.Lawall@lip6.fr> ALSA: pci: constify local structures

For structure types defined in the same file or local header files, find
top-level static structure declarations that have the following
properties:
1. Never reassigned.
2. Address never taken
3. Not passed to a top-level macro call
4. No pointer or array-typed field passed to a function or stored in a
variable.
Declare structures having all of these properties as const.

Done using Coccinelle.
Based on a suggestion by Joe Perches <joe@perches.com>.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>