Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp22362pxb; Mon, 25 Oct 2021 03:06:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydstQG7t6oznU7lx644EXKFT8n3clUhn2Cg4//kaePd0+9X8JRPCtg0lwS/PM5Fjx6sNk2 X-Received: by 2002:a17:906:c9cb:: with SMTP id hk11mr20544271ejb.204.1635156375391; Mon, 25 Oct 2021 03:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635156375; cv=none; d=google.com; s=arc-20160816; b=Zkjid8C5hyssv+lBsZO7DQqxZF6xaiKKsfnhnjMuUhDrE4XLrdLQx7UeVnz3eHbLe2 1MhO6zYwHgr8ypKOaOUr+bqnRr2aM4uqFCHrg1kbeKbuXvu3zLuECwN6ppSeeSFzwGcJ JBJv3oUlx4don+4Q/xgN/N75WzdIjAUUkBJlbNWhL9zDo8NDnQP+SsgWxcQUEHJ6IEHG Rd7G2LsjU7ey3odVrMODyQg6aMoxd5qrf6wg7pj4NR9LEhCxGv2HOVKbLVOexo0hi2uB Pp14Kw0ecI8vZXy+n4UaN1BRIuwkiq+SX5tAfw+1bbV0CywqhHNeVPaEqnBX5MuiPUMB f+cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=oEIH0tEaOhUejeAbcSkHxjOrbcw5iy+83UlD4oIUMtg=; b=zhJjq3I9N0/jJW8ugxOltSOIMIYu7a14f9/iEiYgpDFDnUiCcSZR9B9V90clZJLM6D A+crSPP2UAAtqO8Iidh/6dSIYsdLag2rVHhUHjQt8/wC+SLWMFnPXfeToqnfYBeyi276 p/unyEYiWf+twG1OduoS15LbYBYKbkj3WPwb03RHTVXnZaMKxI8tcw34x2SCkdWV+/AI DsFEHd29aXQ36E16XBC9aBSdhef8YyrCXZC3uTYPaq9+56owjO1SIhx0by4XFgvvs5Rd Esufujhq43ZMiuKQ2VEqMDMGpHt604vykgm8er4IceoX0cAQz6F8rAhlQrhjHLgxG/7Q M31Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m23si22444582eje.259.2021.10.25.03.05.45; Mon, 25 Oct 2021 03:06:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232633AbhJYKDK (ORCPT + 99 others); Mon, 25 Oct 2021 06:03:10 -0400 Received: from smtp25.cstnet.cn ([159.226.251.25]:57174 "EHLO cstnet.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229764AbhJYKDJ (ORCPT ); Mon, 25 Oct 2021 06:03:09 -0400 Received: from localhost.localdomain (unknown [124.16.138.128]) by APP-05 (Coremail) with SMTP id zQCowACnZ_QhgHZhhQ0aBQ--.18389S2; Mon, 25 Oct 2021 18:00:01 +0800 (CST) From: Jiasheng Jiang To: mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com Cc: linux-kernel@vger.kernel.org, Jiasheng Jiang Subject: Re: Re: [PATCH] sched: Fix implicit type conversion Date: Mon, 25 Oct 2021 10:00:00 +0000 Message-Id: <1635156000-2426673-1-git-send-email-jiasheng@iscas.ac.cn> X-Mailer: git-send-email 2.7.4 X-CM-TRANSID: zQCowACnZ_QhgHZhhQ0aBQ--.18389S2 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYS7AC8VAFwI0_Gr0_Xr1l1xkIjI8I6I8E 6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28Cjx kF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW8JVW5JwA2z4x0Y4vE2Ix0cI8I cVCY1x0267AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwVC2z280aV CY1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAq x4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6x CaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwAC I402YVCY1x02628vn2kIc2xKxwCY02Avz4vE14v_Gw1l42xK82IYc2Ij64vIr41l4I8I3I 0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWU GVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI 0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r4j6F4UMIIF0xvE42xK8VAvwI8IcIk0 rVWrZr1j6s0DMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr 0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0JUd-B_UUUUU= X-Originating-IP: [124.16.138.128] X-CM-SenderInfo: pmld2xxhqjqxpvfd2hldfou0/ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 25, 2021 at 08:57:31AM +0000, Peter Zijlstra wrote: >> The variable 'n' is defined as ULONG. However in the cpumask_next(), >> it is used as INT. >> That is vulnerable and may cause overflow. >> Therefore, it might be better to define 'n' as INT. >-ENOPARSE I don't understand the 'ENOPARSE'. Please give me more details.