Page 1 of 1

grsecurity-2.2.2-2.6.38.6-201105111839.patch build error

PostPosted: Sun May 15, 2011 10:25 am
by arekm
grsecurity-2.2.2-2.6.38.6-201105111839.patch build error on x86_64:


linux-2.6.38/drivers/message/i2o/iop.c: In function 'i2o_cntxt_list_add':
linux-2.6.38/drivers/message/i2o/iop.c:114:2: error: invalid use of void expression

112 spin_lock_irqsave(&c->context_list_lock, flags);
113
114 if (unlikely(atomic_inc_and_test_unchecked(&c->context_list_counter)))
115 atomic_inc_unchecked(&c->context_list_counter);
116
117 entry->context = atomic_read_unchecked(&c->context_list_counter);

Re: grsecurity-2.2.2-2.6.38.6-201105111839.patch build error

PostPosted: Mon May 16, 2011 6:40 am
by PaX Team
arekm wrote: 114 if (unlikely(atomic_inc_and_test_unchecked(&c->context_list_counter)))
thanks, it'll be fixed in the next patch.

Re: grsecurity-2.2.2-2.6.38.6-201105111839.patch build error

PostPosted: Mon May 16, 2011 9:18 am
by arekm
ok but posting fix here would be welcome, so people could apply fix manually