Received: by 10.213.65.16 with SMTP id m16csp203003imf; Mon, 12 Mar 2018 00:06:27 -0700 (PDT) X-Google-Smtp-Source: AG47ELtHY7ymM+AHsfI58pzR03uD5K6XyRBC5le1ytt0tJvXqDcymPkJ2YAkbQUWsJsCwGaysWeO X-Received: by 10.98.34.143 with SMTP id p15mr7030205pfj.101.1520838387572; Mon, 12 Mar 2018 00:06:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520838387; cv=none; d=google.com; s=arc-20160816; b=iCLcgTO/zWmOpYtg/0mpekS6oHM/jaBGFk0Ta2mes2Dw7p93v33zRw8VwNW0F/tQ8j x/mpOrcYFAGu77UuLgI7zEqZX0lPcQ2p7C7h3rhbm+I7e5Bp/KNJOWdt891OwCDFKcNy KNiwcdJ59vYwPT0wlkzccqKl2NxzqFjtsNwgLhQQTkKUxvSLt30vqcUYAubwPvM1iJ67 m2KDFr6z9AGUh+by5JH5kd5LGFgiUjkPhddhjMbyM0S0ZcIDQ/iYjj7KcTKF54Tts56w Ty7P4OtDwT89nM7uPeN/29Q4qVgwe3E3dShuZeN5HC28MnG9/rOkz20glUA8wyDP4mZ5 uFlw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:references:cc:to:from:subject :dkim-signature:arc-authentication-results; bh=KRH89bwWJn6/qS6BaKHJYyEpTUAJGkfvCEgqMIoNlsQ=; b=RhZAm/mWDE3E1K0t9a8aT835wBxZ+/VJBYElGrx/1Wq1zfILJfw+vDb8tCZvXKsurg FvVle9ZB22YN9d2dk/EVV2F0B76nNSAS2TuaaAwqFiQu/IpMJkT5gNLVCg27yHH81wOG BSLj224neoAF79zjSpSHTQJXAO9MTCe8SkjhN5E547dHkKAueAS35J/E66deWRMC2uCH 0j1Ee6cxzUHb96FLmk3LTNDfMfqrC0pW/C/JtgIixlwL+dPJW6KQW/54LqrD9SkasmIV DXoY3b8niJJYfA+s+CpedSbfdie06kGOPWKin0ELH8PS4oou+S85EkGwjHZko6dq0G4+ a5qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=kj0+s7cU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t85si5379706pfj.296.2018.03.12.00.06.13; Mon, 12 Mar 2018 00:06:27 -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; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=kj0+s7cU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752220AbeCLHEk (ORCPT + 99 others); Mon, 12 Mar 2018 03:04:40 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:33392 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751976AbeCLHEg (ORCPT ); Mon, 12 Mar 2018 03:04:36 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w2C72gmi001098; Mon, 12 Mar 2018 07:04:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : from : to : cc : references : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=KRH89bwWJn6/qS6BaKHJYyEpTUAJGkfvCEgqMIoNlsQ=; b=kj0+s7cUlHkxRjUu0NEjQyHdebDE++I0OmEZJC0bLwGG3v+se6QCUjfdsc07vdLqsJFW t3/zF9bqydSMWIrYB5MbpCVBs2WBvRSpuNmBdWtRUAf1bFHntJXX3CNaFwwc9O+BXHKj CVgxuO7/fUFni8mgSH53YeQeQqGv04Dc34gpXktGyXc/0nENEvtukOuM+qeJvv1m7NZc kvpjo+d0CfU0+aqVQ6CbN1x5ol8sE8kBlZaDBYakqUewYVGGP9zVXND+rjVxzkk0rRc8 wYSZe+nyUBQN7/MTogSDQHzlSXHgl61+XYQ6w78gqNdScQsziXq6Qny9q0XivfnZQfzK 6g== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp2120.oracle.com with ESMTP id 2gnkhgg7rk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 12 Mar 2018 07:04:32 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w2C74UMH006369 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 12 Mar 2018 07:04:30 GMT Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w2C74Udc001728; Mon, 12 Mar 2018 07:04:30 GMT Received: from santoshs-mbp.lan (/73.222.9.219) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 12 Mar 2018 00:04:30 -0700 Subject: Re: [PATCH][rds-next] rds: make functions rds_info_from_znotifier and rds_message_zcopy_from_user static From: "santosh.shilimkar@oracle.com" To: Colin King , "David S . Miller" , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180311170340.27696-1-colin.king@canonical.com> Organization: Oracle Corporation Message-ID: <046b2275-ba1f-3827-3664-b7c9553ffec3@oracle.com> Date: Mon, 12 Mar 2018 00:04:29 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8829 signatures=668690 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=631 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1803120084 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/11/18 11:54 PM, santosh.shilimkar@oracle.com wrote: > On 3/11/18 10:03 AM, Colin King wrote: >> From: Colin Ian King >> >> Functions rds_info_from_znotifier and rds_message_zcopy_from_user are >> local to the source and do not need to be in global scope, so make them >> static. >> >> Cleans up sparse warnins: >> net/rds/message.c:70:27: warning: symbol 'rds_info_from_znotifier' was >> not declared. Should it be static? >> net/rds/message.c:358:5: warning: symbol 'rds_message_zcopy_from_user' >> was not declared. Should it be static? >> >> Signed-off-by: Colin Ian King >> --- >>   net/rds/message.c | 6 ++++-- >>   1 file changed, 4 insertions(+), 2 deletions(-) >> > Acked-by: Santosh Shilimkar This was fixed by kbuild robot and the fix is already in net-next. Regards, Santosh