From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9059DC4338F for ; Tue, 24 Aug 2021 14:40:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7A9E6611C9 for ; Tue, 24 Aug 2021 14:40:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237942AbhHXOlA (ORCPT ); Tue, 24 Aug 2021 10:41:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237871AbhHXOky (ORCPT ); Tue, 24 Aug 2021 10:40:54 -0400 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B8A8C061764 for ; Tue, 24 Aug 2021 07:40:10 -0700 (PDT) Received: by mail-io1-xd32.google.com with SMTP id b10so14576253ioq.9 for ; Tue, 24 Aug 2021 07:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=8Sjiy26CpBt8YuiYVMsbC/6C1ttKggpAZsGtO/Y7dTM=; b=QdITDJKKzLnLEgGNUpyc8qIVl5RC2CVLRJIilNbOCedIliv6pM1+t96GwfSynFYr9M feq+v4sYMYnzR1xgC5dRG4FKSvqf63D/h223SnkArKADKP673agJTp5XkgLS4TfvS2yx 9UCamWHzbkE3xmP1SLZQxzFAOREDqmo+r8Vsk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8Sjiy26CpBt8YuiYVMsbC/6C1ttKggpAZsGtO/Y7dTM=; b=O1CzzOpWJxS+U6lQ3EqMTUHXZkWjYTB4qkmqAaM7MuG7G+rk33bGm6+qYqneThLVcA 1fo9fqm/vS3wMq0jiFhVOdjJhioBbt/mY1aXXkkjzTa7JEEoKybs5NF0/+Rgg+LUWtrE WjYM2H4T6o623yCCQiKeYdtJ0yDv2ZqSsbQI51OEQzNzGX16wdT+j8FPolY49Zo1bpUq raTDlFjroriz/PXRleHyEAHmNtVlv8pRywFkh+xJJKj8OJnSvtjUUAft1Oggr+PWAixG Lv3i5FcMuvezyHW4/Dp3TOAwwqictvClb0REXn3b7s4grPTIIqbCEBAP6WXeh4Snz/vP 3goA== X-Gm-Message-State: AOAM533gZ21Cl9Mammxp2mNQrJO7+7QG97WNyZ+kHJQfZNxKROPZnLNF iiBSwVxJigh+mQfAZHNoJdMiGw== X-Google-Smtp-Source: ABdhPJz68nWSK976dC6m/+R0f4pjTuRpyBmdTA2yrkPRnt92orEEEQWgyreotN9WAPQKNKD43IUvKQ== X-Received: by 2002:a02:7a14:: with SMTP id a20mr34734496jac.27.1629816010094; Tue, 24 Aug 2021 07:40:10 -0700 (PDT) Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id z26sm10264558iol.6.2021.08.24.07.40.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Aug 2021 07:40:09 -0700 (PDT) Subject: Re: [PATCH linux-next] kselftest: remove duplicate include in cs_prctl_test.c To: cgel.zte@gmail.com, chris.hyser@oracle.com Cc: shuah@kernel.org, yong.yiran@zte.com.cn, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Zeal Robot , Shuah Khan References: <20210805061919.627607-1-yong.yiran@zte.com.cn> From: Shuah Khan Message-ID: <2f864600-76ca-6d05-64d4-990fd915c509@linuxfoundation.org> Date: Tue, 24 Aug 2021 08:40:09 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210805061919.627607-1-yong.yiran@zte.com.cn> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/5/21 12:19 AM, cgel.zte@gmail.com wrote: > From: yong yiran > > 'sys/types.h' included in 'cs_prctl_test.c' is duplicated. > Remove all but the first include of sys/types.h from cs_prctl_test.c. > > 'sys/wait.h' include in 'cs_prctl_test.c' is duplicated. > Remove all but the first include of sys/wait.h from cs_prctl_test.c. > > Reported-by: Zeal Robot > Signed-off-by: yong yiran > --- > tools/testing/selftests/sched/cs_prctl_test.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/tools/testing/selftests/sched/cs_prctl_test.c b/tools/testing/selftests/sched/cs_prctl_test.c > index 63fe6521c56d..7db9cf822dc7 100644 > --- a/tools/testing/selftests/sched/cs_prctl_test.c > +++ b/tools/testing/selftests/sched/cs_prctl_test.c > @@ -25,8 +25,6 @@ > #include > #include > #include > -#include > -#include > #include > #include > #include > We can't accept this patch. The from and Signed-off-by don't match. thanks, -- Shuah