Message ID | 20221021051936.15346-1-quic_aiquny@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp500115wrr; Thu, 20 Oct 2022 22:33:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4z8UHcT64sCsvr5xmwcTByZJ5TlwbdbJdvJcXZS4t5b902irEJOJ7ug/l4zahSFfxsRF6W X-Received: by 2002:a17:90b:4f4e:b0:20d:9f5b:abbf with SMTP id pj14-20020a17090b4f4e00b0020d9f5babbfmr20973168pjb.148.1666330389248; Thu, 20 Oct 2022 22:33:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666330389; cv=none; d=google.com; s=arc-20160816; b=G93yeXsXWZXWkfEcoIOC2kZQW0uWrLnlJtaYvtxiUA5iP2n53IipnIJXZMPrGCXYY8 4cQ86uyBmPYGmjuQLWEmL3HuP3NJuBHOECukPZDEJYzVLf6kAATS/E+KUmKOb0iFOFGB mJ0SS5GYM67NhCDcdUIdccspO8gOOJH+Xm9z1jB53u/e4wjJBBDoyF/3tKAWstZlqLkP lQSO8q4ACUy3U86OVeerHqa5thQQjitvh9JFm/1x5Ca9Fk6JfWF7GjoFi3weLsUONUoT 5f6gVdceDiSFNysqRpDrmqv0LndRccWuNSjwwyHZ9DSAse4g4Pgv8bhxq+Bi+DPXZKJY ZxBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=I3Al/klM/XIlOAZML6Oce00yyKO4av5ZtdxYSQ+PnM0=; b=hAXw91xb24bLCHEOMWtuhlIqrbNPnU50gWsSlTQJz4QV+hVSfkM9QcS+pB3argEKss 6Qhe3ttBYLxONhq6QIJ+5pSNQLKbAtgXGVK25tc5gl3+Ucb2VndGQmHLyddya3P/CleP HtA9LQO46UO2+UkwwWAAWYOd+9M/J19akbZ1gFmtw04PDEQFG9fYnIK05phGEkhWM1uh F833Qz+0UNhDL908hEM5F1RgpnBHr+Cdc+U8nnzogvmTNUVusAu+LRRXRiuO/yDd3Hkf KKjYvFbU/Au7BSFWZGhoPtajAbQf1J+4wTCms0CnEzj9v1oTksMrhPQeQDKoEcbU51z5 vy3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KCGk9QZ3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cp2-20020a170902e78200b001789faa627csi23531645plb.396.2022.10.20.22.32.55; Thu, 20 Oct 2022 22:33:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=KCGk9QZ3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229885AbiJUFUG (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Fri, 21 Oct 2022 01:20:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbiJUFUD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 21 Oct 2022 01:20:03 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FB15252AA for <linux-kernel@vger.kernel.org>; Thu, 20 Oct 2022 22:20:02 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29L58NFT022788; Fri, 21 Oct 2022 05:19:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=I3Al/klM/XIlOAZML6Oce00yyKO4av5ZtdxYSQ+PnM0=; b=KCGk9QZ3pmDWEaFfTxF5VGZwCVsv8wNSP9Puxtkh4+7eoX2i51IXu70G+TjkmfsW84WT gKc0GJ3h9+p9RD6li5pWDdUS8ejknMn6ckQZ6QjxuKuDMqdhGFrSD031jNUazNcCmvl0 qrbH28qVcXo33T/xXCJepH7/XqchYunTxXLXZ2q48DENpPYRm/gEATWsXN4QmG61LNbm UNogGWhA1jI8/nW2XAbH+WLvbDycUvwIV6AmwYULC5fLboNNkW13zNMIOQj6qhEbIouL lTFer0XWXxGdwaPQhD6V4NUofqlOZLuPLARbudKWAVYQ/LB0N4T9gHU3AKTsRGVklcbn kw== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3kak1c4g15-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Oct 2022 05:19:57 +0000 Received: from pps.filterd (NASANPPMTA03.qualcomm.com [127.0.0.1]) by NASANPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 29L5Ju3I021913; Fri, 21 Oct 2022 05:19:56 GMT Received: from pps.reinject (localhost [127.0.0.1]) by NASANPPMTA03.qualcomm.com (PPS) with ESMTPS id 3kbmda88e4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Oct 2022 05:19:56 +0000 Received: from NASANPPMTA03.qualcomm.com (NASANPPMTA03.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 29L5Jtqw021908; Fri, 21 Oct 2022 05:19:55 GMT Received: from nasanex01a.na.qualcomm.com ([10.52.223.231]) by NASANPPMTA03.qualcomm.com (PPS) with ESMTPS id 29L5JtSh021907 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Oct 2022 05:19:55 +0000 Received: from aiquny2-gv.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Thu, 20 Oct 2022 22:19:53 -0700 From: Maria Yu <quic_aiquny@quicinc.com> To: <akpm@linux-foundation.org>, <ziy@nvidia.com>, <david@redhat.com>, <linux-kernel@vger.kernel.org>, <linux-mm@kvack.org> CC: Maria Yu <quic_aiquny@quicinc.com>, <mike.kravetz@oracle.com>, <opendmb@gmail.com> Subject: [PATCH v2 0/1] mm/page_isolation: fix clang deadcode warning Date: Fri, 21 Oct 2022 13:19:35 +0800 Message-ID: <20221021051936.15346-1-quic_aiquny@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 20WYxPT3FFz2u60DhpevissDitdhzvzV X-Proofpoint-ORIG-GUID: 20WYxPT3FFz2u60DhpevissDitdhzvzV X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-21_01,2022-10-20_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 spamscore=0 malwarescore=0 bulkscore=0 clxscore=1015 mlxscore=0 mlxlogscore=719 priorityscore=1501 phishscore=0 adultscore=0 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210210030 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747274054316001895?= X-GMAIL-MSGID: =?utf-8?q?1747274054316001895?= |
Series |
mm/page_isolation: fix clang deadcode warning
|
|
Message
Aiqun Yu (Maria)
Oct. 21, 2022, 5:19 a.m. UTC
When !CONFIG_VM_BUG_ON, there is warning of clang-analyzer-deadcode.DeadStores: Value stored to 'mt' during its initialization is never read. Difference with previous patch is just to make it new lines as it is too long for single line. Feel free to give comments and suggestions. Thanks. previous discussion here: [1] https://lore.kernel.org/linux-mm/20221021030953.34925-1-quic_aiquny@quicinc.com/ Maria Yu (1): mm/page_isolation: fix clang deadcode warning mm/page_isolation.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)