Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1531003pxa; Sun, 16 Aug 2020 01:45:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrLT1DclwnwyYPBcIdANwp0gGueNNQYQDDOnlwrgr/Z7J2d3oXieEyiiu1NhOpHksYQ6OI X-Received: by 2002:a17:906:e218:: with SMTP id gf24mr10464553ejb.469.1597567527673; Sun, 16 Aug 2020 01:45:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597567527; cv=none; d=google.com; s=arc-20160816; b=YD8t5Q+UIOrw5tPdx0Jv91jSeS+kZgnJFH+bCTnX/iLYYJBsKo4EEqOCnVtdGWrsx0 NLkUqKMSDmP09wFQZOE2OW4ZhXu3DYUFABaqGkG/C5IuON/78OJv3eeAwaFrjrv1/1kw w0gprFOvEljxWcRJM6xIxdSpUX+UvZc4i42Yogs7MBnwMxgQIMm4dH9ubBH9iLcpqLhl Vg1rjBhrfu3BQerSFUcRcByFN5w9F5rGkrGo6XMbzEPFngWUnZVfdxKk6Zn5F96ocujh M4xzEA+51BolzleOf6tUpw5aD9w4BHOGmwJrqm1lxzxeLbeE3s40b9YIupb3LMFAwh4b RDfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=WPlwiiG0P6Md76t8zeQSwIU8bejOq23zsWLRVIgMhkY=; b=UobDnpoWOptyKI27N4YSVLenh0vjWa16dJxyFUcZmsMNmYkdo4p93SBdMTpeKmKR5h N4v3mb1KZtzzDWSCpbBDlBlhwhX0eptJd/azFDhJ7erzYuQNYeXGHDKmxsRPl+EZCAAY /gPCTsblhAPittmOxeJK5hRR+SpDpAIj9VFWXsoriZKIgqwev8GguQoeORsbqA1cTyo/ wbJIXhjm23NarcbARputHhco2YdaaDdNDChJZumQTMx/uPWZWfR5paNf4me9PAHGYJxQ 1PneNkTDDUpKO8fyjX7VbqUvm0Z0hAxpmaQ/e6z1mCSJZcYrE/IGcYgSiq2HeTJTQpRy Jrsg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v19si8613946edx.39.2020.08.16.01.45.05; Sun, 16 Aug 2020 01:45:27 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728219AbgHPHeQ (ORCPT + 99 others); Sun, 16 Aug 2020 03:34:16 -0400 Received: from mga05.intel.com ([192.55.52.43]:28531 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726850AbgHPHeP (ORCPT ); Sun, 16 Aug 2020 03:34:15 -0400 IronPort-SDR: 3kgXb30O12oh7UqYP4CWLzVwVETt/V4x8wqrJN8reHqJNBXA27+0KHauDANK+ShjzXdyS1ppQp Ek0/SlsuFTtg== X-IronPort-AV: E=McAfee;i="6000,8403,9714"; a="239397000" X-IronPort-AV: E=Sophos;i="5.76,319,1592895600"; d="scan'208";a="239397000" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2020 00:34:15 -0700 IronPort-SDR: Wdx9oszRez5wx0S0XgVAK3fAeLVRWRTiRj2sYez4liMYhYtiTxCLOixD5sfSh/BR/HUnn1IcIT kypE9EX0uZZQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,319,1592895600"; d="scan'208";a="333795647" Received: from lkp-server02.sh.intel.com (HELO e1f866339154) ([10.239.97.151]) by FMSMGA003.fm.intel.com with ESMTP; 16 Aug 2020 00:34:12 -0700 Received: from kbuild by e1f866339154 with local (Exim 4.92) (envelope-from ) id 1k7DBE-0000DH-Bm; Sun, 16 Aug 2020 07:34:12 +0000 Date: Sun, 16 Aug 2020 15:33:12 +0800 From: kernel test robot To: Pascal Bouchareine , linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, Pascal Bouchareine , linux-api@vger.kernel.org, netdev@vger.kernel.org, Jakub Kicinski , Andrew Morton , Linux Memory Management List , Alexey Dobriyan , Al Viro Subject: [RFC PATCH] net: socket: sock_set_description() can be static Message-ID: <20200816073312.GA89788@037dd5d7cb9b> References: <20200815182344.7469-3-kalou@tfz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200815182344.7469-3-kalou@tfz.net> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: kernel test robot --- sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/sock.c b/net/core/sock.c index 2cb44a0e38b77d..f145a710974b48 100644 --- a/net/core/sock.c +++ b/net/core/sock.c @@ -828,7 +828,7 @@ void sock_set_rcvbuf(struct sock *sk, int val) } EXPORT_SYMBOL(sock_set_rcvbuf); -int sock_set_description(struct sock *sk, char __user *user_desc) +static int sock_set_description(struct sock *sk, char __user *user_desc) { char *old, *desc;