Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2415089rwi; Fri, 21 Oct 2022 03:42:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM58GB+nxmclb2nmPKVhZoXy2huHuo/+n6HoUN8Xw3gagaiSp/CAoVm5/jt6RAUuEZIrfBdw X-Received: by 2002:a05:6402:1906:b0:45d:db20:7709 with SMTP id e6-20020a056402190600b0045ddb207709mr16238735edz.406.1666348935272; Fri, 21 Oct 2022 03:42:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666348935; cv=none; d=google.com; s=arc-20160816; b=AL+FYlKs262IyO+9OFzSy8Isn+OWGfo3/9srJ7+4yw0pwaLs2cyY4s6YnTqi2n/uvg fKnk5o+FhTQHeDZ5ZD6n1EdMLXrkgTlCdxQLoaSwAmL9WucTjH+BIHjeRZgYUhvVDcFW 6PUOgNB15WI0SIUrQHkilcARZpwo7jxmGbGeOsL8KSW9lKL+xe0Nbs2uUD7E5Ns1nQYy 6k97qpHl3rJdphqLPnmlfEOh6F+IGdPGcXd921NPtKSqXJ4kMOOAcJxFL/ZDCn6MR67U 9Fp1JsvJWIYJ0PtTgYxx8H7Wm1Yw9xrH7Ru/p59XOpnGCPeqan1oNgyIUoOV1izox+rD 4fMg== 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=QBX4hSlRrxdOe0inWx54vndnjQzIqXHZ8xalA318gcI=; b=pqIZg26rbrYYci3NY9gSpdkiqE6/TfzixUxSwW3e1IY/HAbvK9SvuhxuPsY/d7MRpa JTPu0QG0YXSK7eA8CPCfeNjxoOF0RdMKzLiMZYjzXhchoKkRtPHGaKGdgBC8AbT5nnez HETCvEvB/GRa9UjG2g5GgpTUVqgJzE45sQ80Qz9jIYnOX/9H6IltU3mFsqqzzFqmbZRB pTyDCCHDlrxr+9onSfu6shhxBdNMUtMxUwMKLXMIYRJIPadTFSLEJIPBi+L2U7VTTn/Y tX78aN5gkVVqQocq1GfIVtN6IiMhGtPkkecv7adDB2hl0B1bDrTGKR7vLXD29nWHbzYk PcVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=JBNnofD5; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s8-20020a170906500800b0078d3b940ec5si17299826ejj.373.2022.10.21.03.41.49; Fri, 21 Oct 2022 03:42:15 -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=qcdkim header.b=JBNnofD5; 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 S229478AbiJUKQe (ORCPT + 99 others); Fri, 21 Oct 2022 06:16:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230443AbiJUKQX (ORCPT ); Fri, 21 Oct 2022 06:16:23 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CFE41AC1DA for ; Fri, 21 Oct 2022 03:16:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1666347378; x=1697883378; h=from:to:cc:subject:date:message-id:mime-version; bh=QBX4hSlRrxdOe0inWx54vndnjQzIqXHZ8xalA318gcI=; b=JBNnofD5HrLxuYI177sfkvlCBVyoroFVwfpER4frGBWhpUQ6KYwB4dzm ijxMDweAPC2nuMWoxBao6in9Lvk056+xxGW0gK+ZWjlwXAKADF11ubazC Vu42DeiPl+AZS8sXoIigH0NhcS0yzeGVgl9XLbKnwTyQJqOCKVNNcfiJn A=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-01.qualcomm.com with ESMTP; 21 Oct 2022 03:16:17 -0700 X-QCInternal: smtphost Received: from unknown (HELO nasanex01a.na.qualcomm.com) ([10.52.223.231]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2022 03:16:17 -0700 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; Fri, 21 Oct 2022 03:16:15 -0700 From: Maria Yu To: , , , , CC: Maria Yu , , Subject: [PATCH v3 0/1] mm/page_isolation: fix clang deadcode warning Date: Fri, 21 Oct 2022 18:15:54 +0800 Message-ID: <20221021101555.7992-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-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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: X-Mailing-List: linux-kernel@vger.kernel.org When !CONFIG_VM_BUG_ON, there is warning of clang-analyzer-deadcode.DeadStores: Value stored to 'mt' during its initialization is never read. Changelog === V3 --- Difference with previous patch is use __maybe_unused suggested by David. V2 --- 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/ [2] https://lore.kernel.org/linux-mm/20221021051936.15346-1-quic_aiquny@quicinc.com/ Maria Yu (1): mm/page_isolation: fix clang deadcode warning mm/page_isolation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1