Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1426160ybb; Thu, 9 Apr 2020 01:44:39 -0700 (PDT) X-Google-Smtp-Source: APiQypLY3ggsU+wZ6ByJYMfrpLd5OK/6IptbvN90AuG1MtbybgXnwuIU3ulSvfUBIXSvxAf1MlpH X-Received: by 2002:aca:4e47:: with SMTP id c68mr967282oib.16.1586421879638; Thu, 09 Apr 2020 01:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586421879; cv=none; d=google.com; s=arc-20160816; b=bsNne8YmW1Lyfjy8LHY4CwnpoEvO5RHTKmNC+CNFT6unBQbCzM96tB56R2DAQ4dPXj SwDAN/+IW7OQ9JcK4UJEm7IfycZOGPrKmCOWz5JTMGVW0kLwAhIjS7WJkEqPV/JqUXNL BnEebH03flKgRWfGZA26WE1vNmGf2J31RcBgf7vC4bf3XNAinVqKekcbJCyVK7JzOzsG b8br0cijX0+FqMicyBd62cv83FWAaFVOk0sFirvIv43Kas/f5B1oalUG/klumsVNRav1 pn447uts9VEzKrvgEXD7RmCxCPVpdVgjqoVXBmG8cFeGU2U7Fij2k3CPeaspOmQ4Hoe5 EMEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=PF2oFyXipC23qXa9Z2Ojlc/vKFfKnhFKjp35HynqIyY=; b=w16c8oatO0Tno7Ox4YReOF05m8RvGxe6ktJ/OairEWZ1RQO2/oJF4JWm2GRN4Vc+Xc mssz68Ug3mLhz1Z3yPksR6eed3RGvOz0vR9Sh9w/hAcceMx//VYAbbBL0HCpWMlKHl79 xzLmGE2W6vpIWdIhwIdzv+Nh01GO9gJom5g5vmFq3kQRBYdIQ6aFpeCzLf5fXd01HHRf 6B1S0ImEDd4pjPoZecN8rXCR/9CJIQ3W5fDpUPx/NuJ1/b6SlU4JIBl5L8PaiAmpp/QM FJ0tYDB9Q2DcTAyuj5nOEmydDIJMhGSzloSE3cCC2plQKOFoqk7Tjn/iXuEx4SDVSxRd Sgmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z65si683996otb.122.2020.04.09.01.44.24; Thu, 09 Apr 2020 01:44:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726663AbgDIImS (ORCPT + 99 others); Thu, 9 Apr 2020 04:42:18 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:45390 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725987AbgDIImS (ORCPT ); Thu, 9 Apr 2020 04:42:18 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id AB59DAC02DEF2497F8AE; Thu, 9 Apr 2020 16:42:06 +0800 (CST) Received: from [127.0.0.1] (10.173.220.183) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.487.0; Thu, 9 Apr 2020 16:41:58 +0800 Subject: Re: [PATCH] signal: check sig before setting info in kill_pid_usb_asyncio To: Christian Brauner CC: , , , , , , "linux-kernel@vger.kernel.org" , Mingfangsen , Yanxiaodan , linfeilong References: <20200330084415.p4v5g6s24innsjrc@wittgenstein> <2d00096f-94f7-753e-c05f-14860fed2abe@huawei.com> From: Zhiqiang Liu Message-ID: Date: Thu, 9 Apr 2020 16:41:57 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.173.220.183] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/4/9 14:53, Christian Brauner wrote: > On April 9, 2020 5:26:08 AM GMT+02:00, Zhiqiang Liu wrote: >> Friendly ping... >> >> On 2020/3/30 16:44, Christian Brauner wrote: >>> On Mon, Mar 30, 2020 at 10:18:33AM +0800, Zhiqiang Liu wrote: >>>> >>>> In kill_pid_usb_asyncio, if signal is not valid, we do not need to >>>> set info struct. >>>> >>>> Signed-off-by: Zhiqiang Liu >>> >>> I'd have done: >>> >>> if (!valid_signal(sig)) >>> return -EINVAL; >>> >>> instead of setting ret to EINVAL above but that's mostly a matter of >> style. >>> >>> Picking this up unless someone sees a problem with it. >>> >>> Thank you! >>> Acked-by: Christian Brauner >>> >>> . >>> > > The patches are queued for after rc1. So around next week. > They came too late to make it into the merge window. > > Christian > That is ok, thanks. Regards. Zhiqiang Liu. > . >