[PATCH -next] powerpc/machdep: Remove duplicated include in svm.c

Christophe Leroy christophe.leroy at csgroup.eu
Thu Nov 7 22:33:12 AEDT 2024



Le 07/11/2024 à 12:29, Michael Ellerman a écrit :
> Yang Li <yang.lee at linux.alibaba.com> writes:
>> The header files linux/mem_encrypt.h is included twice in svm.c,
>> so one inclusion of each can be removed.
>>
>> Reported-by: Abaci Robot <abaci at linux.alibaba.com>
>> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=11750
>> Signed-off-by: Yang Li <yang.lee at linux.alibaba.com>
>> ---
>>   arch/powerpc/platforms/pseries/svm.c | 1 -
>>   1 file changed, 1 deletion(-)
> 
> The two includes only appear in linux-next, and they both come from
> different trees. They are required in each tree to avoid breaking the
> build.
> 
> So no one can merge this patch until the two trees are merged into mainline.

But can't those two trees coordinate the patches so that the include 
goes at the same place avoiding duplication at merge ?

Christophe


More information about the Linuxppc-dev mailing list