summaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-05-18 16:27:43 +0300
committerTakashi Iwai <tiwai@suse.de>2016-05-18 17:32:09 +0300
commit17e1717c11a34f9b0956e33e0c4a4e4ae8c51a57 (patch)
treed56d4ec3279aa37db18de1e982be2c61e92bb491 /include/linux/mfd
parentc7c5856b6f6f30de622bf87947363890b286553f (diff)
downloadlinux-17e1717c11a34f9b0956e33e0c4a4e4ae8c51a57.tar.xz
ALSA: firewire-lib: change a member of event structure to suppress sparse wanings to bool type
Commit a9c4284bf5a9 ("ALSA: firewire-lib: add context information to tracepoints") adds new members to tracepoint events of this module, to represent context information. One of the members is bool type and this causes sparse warnings. 16:1: warning: expression using sizeof bool 60:1: warning: expression using sizeof bool 16:1: warning: odd constant _Bool cast (ffffffffffffffff becomes 1) 60:1: warning: odd constant _Bool cast (ffffffffffffffff becomes 1) This commit suppresses the warnings, by changing type of the member to 'unsigned int'. Additionally, this commit applies '!!' idiom to get 0/1 from 'in_interrupt()'. Fixes: a9c4284bf5a9 ("ALSA: firewire-lib: add context information to tracepoints") Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux/mfd')
0 files changed, 0 insertions, 0 deletions