summaryrefslogtreecommitdiff
path: root/drivers/media/usb/dvb-usb-v2
diff options
context:
space:
mode:
authorGeorge Spelvin <linux@sciencehorizons.net>2016-05-27 02:22:01 (GMT)
committerGeorge Spelvin <linux@sciencehorizons.net>2016-05-28 19:42:51 (GMT)
commit92d567740f2ab5937b2c23bee94ea4b284bb1f98 (patch)
treecac25a2b98245c5e95cc94f8e0671b400fd9a0da /drivers/media/usb/dvb-usb-v2
parent917ea166f4672ec085f2cccc135c7c0eec72282c (diff)
downloadlinux-92d567740f2ab5937b2c23bee94ea4b284bb1f98.tar.xz
Change hash_64() return value to 32 bits
That's all that's ever asked for, and it makes the return type of hash_long() consistent. It also allows (upcoming patch) an optimized implementation of hash_64 on 32-bit machines. I tried adding a BUILD_BUG_ON to ensure the number of bits requested was never more than 32 (most callers use a compile-time constant), but adding <linux/bug.h> to <linux/hash.h> breaks the tools/perf compiler unless tools/perf/MANIFEST is updated, and understanding that code base well enough to update it is too much trouble. I did the rest of an allyesconfig build with such a check, and nothing tripped. Signed-off-by: George Spelvin <linux@sciencehorizons.net>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2')
0 files changed, 0 insertions, 0 deletions