[mmotm:master 449/471] arch/powerpc/mm/stab.c:138:1930: error: lvalue required as left operand of assignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   f6bf2766c2091cbf8ffcc2c5009875dbdb678282
commit: f6d4db312108dac3960ea8c20f00a06ee6815d7a [449/471] powerpc: replace __get_cpu_var uses
config: make ARCH=powerpc allmodconfig

All error/warnings:

   arch/powerpc/mm/stab.c: In function '__ste_allocate':
>> arch/powerpc/mm/stab.c:138:1930: error: lvalue required as left operand of assignment
       __this_cpu_read(stab_cache[offset++]) = stab_entry;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ^
--
   kernel/softirq.c: In function '__do_softirq':
>> kernel/softirq.c:252:2067: error: lvalue required as left operand of assignment
     set_softirq_pending(0);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^
   kernel/softirq.c: In function '__raise_softirq_irqoff':
>> kernel/softirq.c:427:2067: error: lvalue required as left operand of assignment
     or_softirq_pending(1UL << nr);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ^

vim +138 arch/powerpc/mm/stab.c

   132	
   133		stab_entry = make_ste(get_paca()->stab_addr, GET_ESID(ea), vsid);
   134	
   135		if (!is_kernel_addr(ea)) {
   136			offset = __this_cpu_read(stab_cache_ptr);
   137			if (offset < NR_STAB_CACHE_ENTRIES)
 > 138				__this_cpu_read(stab_cache[offset++]) = stab_entry;
   139			else
   140				offset = NR_STAB_CACHE_ENTRIES+1;
   141			__this_cpu_write(stab_cache_ptr, offset);

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]