summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLucas Tanure <tanure@linux.com>2016-01-25 19:30:23 -0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-17 12:30:58 -0800
commit2f32c8c003b35510b4b4515e70046e6a6e5967ca (patch)
tree4debca0007b621edf359719f94acafca96e4a488 /tools/perf/scripts/python
parentfbb430c51d7ac989b79bf1adb40cce7af581682a (diff)
ALSA: bebob: Use a signed return type for get_formation_index
commit 07905298e4d5777eb58516cdc242f7ac1ca387a2 upstream. The return type "unsigned int" was used by the get_formation_index function despite of the aspect that it will eventually return a negative error code. So, change to signed int and get index by reference in the parameters. Done with the help of Coccinelle. [Fix the missing braces suggested by Julia Lawall -- tiwai] Signed-off-by: Lucas Tanure <tanure@linux.com> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Tested-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions