aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/endpoint.h
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2013-09-22 20:44:12 +0200
committerTakashi Iwai <tiwai@suse.de>2013-09-26 09:57:24 +0200
commite0f17c75d9352c38926da1b4d8dbefc2d9942006 (patch)
tree3c489acb0c51ec645c9535a844617547df946097 /sound/usb/endpoint.h
parentMerge branch 'for-linus' into for-next (diff)
downloadlinux-dev-e0f17c75d9352c38926da1b4d8dbefc2d9942006.tar.xz
linux-dev-e0f17c75d9352c38926da1b4d8dbefc2d9942006.zip
ALSA: Fix assignment of 0/1 to bool variables
Convert 0 to false and 1 to true when assigning values to bool variables. Inspired by commit 3db1cd5c05f35fb43eb134df6f321de4e63141f2. The simplified semantic patch that find this problem is as follows (http://coccinelle.lip6.fr/): @@ bool b; @@ ( -b = 0 +b = false | -b = 1 +b = true ) Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/endpoint.h')
0 files changed, 0 insertions, 0 deletions