Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace

Pull siginfo fix from Eric Biederman:
"This fixes a build error that only shows up on blackfin"

* 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
fs/signalfd: fix build error for BUS_MCEERR_AR

+12 -3
+12 -3
fs/signalfd.c
··· 118 118 err |= __put_user(kinfo->si_trapno, &uinfo->ssi_trapno); 119 119 #endif 120 120 #ifdef BUS_MCEERR_AO 121 - /* 121 + /* 122 122 * Other callers might not initialize the si_lsb field, 123 123 * so check explicitly for the right codes here. 124 124 */ 125 125 if (kinfo->si_signo == SIGBUS && 126 - (kinfo->si_code == BUS_MCEERR_AR || 127 - kinfo->si_code == BUS_MCEERR_AO)) 126 + kinfo->si_code == BUS_MCEERR_AO) 127 + err |= __put_user((short) kinfo->si_addr_lsb, 128 + &uinfo->ssi_addr_lsb); 129 + #endif 130 + #ifdef BUS_MCEERR_AR 131 + /* 132 + * Other callers might not initialize the si_lsb field, 133 + * so check explicitly for the right codes here. 134 + */ 135 + if (kinfo->si_signo == SIGBUS && 136 + kinfo->si_code == BUS_MCEERR_AR) 128 137 err |= __put_user((short) kinfo->si_addr_lsb, 129 138 &uinfo->ssi_addr_lsb); 130 139 #endif