|author||Rich Felker <email@example.com>||2013-06-29 13:57:13 -0400|
|committer||Rich Felker <firstname.lastname@example.org>||2013-06-29 13:57:13 -0400|
fix shifts possibly larger than type in major() macro
in theory this should not be an issue, since major() should only be applied to type dev_t, which is 64-bit. however, it appears some applications are not using dev_t but a smaller integer type (which works on Linux because the kernel's dev_t is really only 32-bit). to avoid the undefined behavior, do it as two shifts.
Diffstat (limited to 'arch/microblaze/atomic.h')
0 files changed, 0 insertions, 0 deletions