summaryrefslogtreecommitdiff
path: root/net/mac80211/offchannel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-10-30 07:35:01 (GMT)
committerMark Brown <broonie@linaro.org>2013-10-30 16:33:30 (GMT)
commit166a34d27fcad1eeb0322cff23939a1910f8a77c (patch)
tree84da6b53d0d952949de3dfcc12bfb56b0820c25c /net/mac80211/offchannel.c
parent00ecdd93a80fda1336bf5413b1d705c742a5b598 (diff)
downloadlinux-fsl-qoriq-166a34d27fcad1eeb0322cff23939a1910f8a77c.tar.xz
ASoC: ab8500: Fix invalid cast to long pointer
Don't cast to long pointers blindly just for using find_first_bit() and co. This is certainly not portable at all. Reimplement the code with ffs() and fls() instead. This is a slight optimization, too. Spotted by coverity CID 1056484 and 1056485. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'net/mac80211/offchannel.c')
0 files changed, 0 insertions, 0 deletions