Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1509331ybk; Thu, 21 May 2020 08:31:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLi5DJQj8NigG/I8VOu2xjxGCJeHoVRgYv5o2QoRiOwthR8HPvkxoncVqxLFNc/qoRJI1o X-Received: by 2002:a17:906:c01:: with SMTP id s1mr4228501ejf.370.1590075111996; Thu, 21 May 2020 08:31:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590075111; cv=none; d=google.com; s=arc-20160816; b=cLwS6UN65KN8m+zcr0LWH63O1KstRayQfiSWFRS51zEBSdeBGn/QLOIjtYa6tXdv61 QQqzJAsmCMinKR8WycjjtFIWZomML+9P1Di80Z+XUc8zUpmKKm82YwuxdVbzP3PdaM6p ty0QAF2TY5kL9buDZB9GCrlsQhEPbvaserb7kjx62jYMtDkops+nP0gsHdyxsxcdLsRT +m3T66U2oyu7Nv1TjLUfXv6WZubqWlBaRyFFybUNN9gTS4PrujESkBj3nxYwEAsDBOnu P5a2lnpxhlJ39o6xRTCc0a7BjhcMrFeRxJ8wn/0fRtKD5fkwIIUtJVQVlgpwKC7odLJQ 30Wg== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=81hDLaNsDP1XezBBCmTYO/9RleZtnLgOrYL3Jzc5rEw=; b=XATpOTLV4rCZIX4KixC7AhH+Nj41Z32JQ9YnvcvTtPP3GraxIZZBi7y36t1IFMOXoa oGfCTrLU6mpsP9ewPrBc0RhqMpWIbn+EQb9MIPEDVA1Z0XWKVBjRCMNK0h5xf1tBlyVm +q+W+Fl6Y94H/wo9y5YFJXx4RxD5fFcpNBLIgJ7xnjzfZWZe5m7/EFwRqsqKxc5ZyPbx OgyB+OnuPkmYU7YlJUabpcBd/HievATMVTsoI75w6ZGEinRJdodPhWOs9T2PlrbOkBt1 vp23QBtxiStp+nGHJjWguNvg9YC9lI+qltwtAI9DPXRHmzATLP6LE5RzxsRTvOtgcrEx 7F5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=RelSvCH1; 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 dh10si3028271edb.311.2020.05.21.08.31.28; Thu, 21 May 2020 08:31:51 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=RelSvCH1; 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 S1730005AbgEUPXO (ORCPT + 99 others); Thu, 21 May 2020 11:23:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727898AbgEUPXN (ORCPT ); Thu, 21 May 2020 11:23:13 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0102FC061A0E; Thu, 21 May 2020 08:23:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=81hDLaNsDP1XezBBCmTYO/9RleZtnLgOrYL3Jzc5rEw=; b=RelSvCH17DkzALKE5okRB+Y0wg KoFoeYNS38bl7gxLrLZ+lN3ApsSbTXeo1Mfx2PvWHH7REwAnx2ksix/dbD2jN3AIzpkm1Q+KYLrjb VCOu49KNHxA/far0fLLFGhtG6hKhnd5pRh00XeEBXomnMrq/JCfwWdde3cmQoAJ8EmS7QWQU6wfI3 K6s2sps5HEy6NC9ldAe8gdJe6PHsU//hvdwAWSNJEjDzDouYLde2uR06cU4hUD29c941CcBwxKIKf QAWCwq2uFV/cwPzJVDOcsOF6JEtASh79XLNDBFIdet6IcrqMA5F0kvpD8cqNyImcP1pNuG7VhnHzd a7FX8gdA==; Received: from [2001:4bb8:18c:5da7:c70:4a89:bc61:2] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbn2H-000403-Jc; Thu, 21 May 2020 15:23:06 +0000 From: Christoph Hellwig To: x86@kernel.org, Alexei Starovoitov , Daniel Borkmann , Masami Hiramatsu , Linus Torvalds , Andrew Morton Cc: linux-parisc@vger.kernel.org, linux-um@lists.infradead.org, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 01/23] maccess: unexport probe_kernel_write and probe_user_write Date: Thu, 21 May 2020 17:22:39 +0200 Message-Id: <20200521152301.2587579-2-hch@lst.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200521152301.2587579-1-hch@lst.de> References: <20200521152301.2587579-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These two functions are not used by any modular code. Signed-off-by: Christoph Hellwig --- mm/maccess.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/maccess.c b/mm/maccess.c index 3ca8d97e50106..cf21e604f78cb 100644 --- a/mm/maccess.c +++ b/mm/maccess.c @@ -121,7 +121,6 @@ long __probe_kernel_write(void *dst, const void *src, size_t size) return ret; } -EXPORT_SYMBOL_GPL(probe_kernel_write); /** * probe_user_write(): safely attempt to write to a user-space location @@ -148,7 +147,6 @@ long __probe_user_write(void __user *dst, const void *src, size_t size) return ret; } -EXPORT_SYMBOL_GPL(probe_user_write); /** * strncpy_from_unsafe: - Copy a NUL terminated string from unsafe address. -- 2.26.2