grsecurity-2.2.2-2.6.38.6-201105111839.patch build error
Posted: Sun May 15, 2011 10:25 am
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);
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);