Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1914833imm; Sun, 15 Jul 2018 21:22:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc3VMU0GZ8mzlHDdbbuP0IlsQoHr9Pr6YijNpdWToXGzQnWdTqJBOu67KDjP/Su2QDfvOaN X-Received: by 2002:a65:57c9:: with SMTP id q9-v6mr14407159pgr.128.1531714935610; Sun, 15 Jul 2018 21:22:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531714935; cv=none; d=google.com; s=arc-20160816; b=rJV8UO5rTaZiWWjqEM46vREho0HOwhcrRh2DN4CzyEp455eerrbQud8CdZmd6FDh1u IciuUztR7jC1ZGfIn+qEecX66b87FXd1ZUXoCvg2spRAE7BPqLdwpLr5QSJ37y5urbeB H2PC2KBZYE1SsZffYGV9PzMhSd6I5MLKhH9Tyxhim+gxFfgEmnK4Mh7qwUBJenQRYuYf YH29VQ7OIjWtxt87kAKNXKJlemFD/ERt8tzRkrDvxKgMV/wW/rGlLvRu70vNfR9l7slE aQAJCBcdp5JL7zvlzX4D4NsvmXeHIP94SE67euD1RWlxLbZDgkEHYyOKOeCkMqZi2oEq xr5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=fdQFeIFpUooZTo8Fv7KK18AmBZ3ksmjN2aH2/N97WvA=; b=y323X+7qUMu++0KG5c24HgSwWRR5HH5vkHE65tGYd4Sb7Y0vMKZj8E8UhSmAoYGYUU aO3h0CtZ8veh/w521Yn2x2IJ8IOihYmEsbPUm97lnaGMDHMf7f1m4jy6HExQcwRQskKv FvOMXGtfmfapnyHPHFq/Z+abFNy1To64oAsEdb9yGtG9fNUVw/sL/f00/N4dNcOHvg9q q7FDW3HIK96GBcRaJO+FcENLtKBALmi09WHpPfs0A2mL/VyEvrR4BLNzUrhGaRd+yDZA FlUYV5nBVEHm6qcHqdfEuu5uklqh2+s3p9lUHWO/PTuZjpQ4XkiA5YyE5eXuARogqVGa 18tQ== 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 r7-v6si1864742pga.77.2018.07.15.21.22.00; Sun, 15 Jul 2018 21:22:15 -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 S1727250AbeGPEqw (ORCPT + 99 others); Mon, 16 Jul 2018 00:46:52 -0400 Received: from out1.zte.com.cn ([202.103.147.172]:41984 "EHLO mxct.zte.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726811AbeGPEqw (ORCPT ); Mon, 16 Jul 2018 00:46:52 -0400 X-Greylist: delayed 939 seconds by postgrey-1.27 at vger.kernel.org; Mon, 16 Jul 2018 00:46:51 EDT Received: from mse01.zte.com.cn (unknown [10.30.3.20]) by Forcepoint Email with ESMTPS id 24C83696C36FA3BED885; Mon, 16 Jul 2018 12:05:48 +0800 (CST) Received: from notes_smtp.zte.com.cn ([10.30.1.239]) by mse01.zte.com.cn with ESMTP id w6G45eGc069464; Mon, 16 Jul 2018 12:05:40 +0800 (GMT-8) (envelope-from jiang.biao2@zte.com.cn) Received: from localhost.localdomain ([10.75.10.200]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2018071612054242-485941 ; Mon, 16 Jul 2018 12:05:42 +0800 From: Jiang Biao To: tglx@linutronix.de, mingo@redhat.com Cc: dave.hansen@linux.intel.com, luto@kernel.org, hpa@zytor.com, x86@kernel.org, albcamus@gmail.com, linux-kernel@vger.kernel.org, zhong.weidong@zte.com.cn, jiang.biao2@zte.com.cn Subject: [PATCH 0/5] x86/pti: small fixes and cleanups for pti Date: Mon, 16 Jul 2018 12:03:35 +0800 Message-Id: <1531713820-24544-1-git-send-email-jiang.biao2@zte.com.cn> X-Mailer: git-send-email 1.8.3.1 X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2018-07-16 12:05:42, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2018-07-16 12:05:40, Serialize complete at 2018-07-16 12:05:40 X-MAIL: mse01.zte.com.cn w6G45eGc069464 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a short series of fixes and cleanups found when reading the code, no functional changes. Jiang Biao (5): x86/pti: check the return value of pti_user_pagetable_walk_p4d x86/pti: check the return value of pti_user_pagetable_walk_pmd x86/pti: make pti_set_kernel_image_nonglobal static x86/pti: warn for unknown pti boot options x86/pti: constify address parameters arch/x86/mm/pti.c | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) -- 2.7.4