Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp102892ybg; Tue, 22 Oct 2019 16:56:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMbbQyA2vAOvjWCqOA3KhoILpqeBv9GpDzbPD/6lCZ822pcbIVbgZTQftwQh6/e8ldO9Rs X-Received: by 2002:a17:906:2cca:: with SMTP id r10mr30661493ejr.108.1571788617721; Tue, 22 Oct 2019 16:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571788617; cv=none; d=google.com; s=arc-20160816; b=we4pPCqacyJE3nb05KH8m8aylPETdG43zMyBZIwPaIWXUfu0UEgV5UdiJeG3g0uG7Q YcjHXwRN1uJ85P2xu9HgFFDfs8omIRg211XV/6vNpTJdQ5Ec4Pg6uA1qGisKFowfW8BU jsvUA+wtWyRrY2/82Zydy+xzLuJw2Xgy7+nrJiAk0GPUHjctZBTpss6kvmnWv5yEqc4l ZcTbkRX9JrPW0ezpDb/sD/FwzFvlg7DvjarbEFDUZwtVY5AdTPcbd/E/ThME3Zu+V3rr /Q+lNyrDrLUuVz44rOd0/ItoJ18qwwvh8nb9nJA3D/LI9aSgnVfEygfto8QqJ1h4zHjx TP+w== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=38DGl3nPqfFsklGBVs5Uo+Om9XtfHJi1J5IGmBXqaaQ=; b=hlzWyzGkFyweCz8e5ozPmWVtt7YLLwchFLzMoxioQpk4XWs/xqoy+hiv2WqRB6H7Pl xSqGYa4JSAnOB+bXlZgUI3Oohgv6IJFHsM6kwwPtkJh9wraW42cVfz3/ubo6OXJOKjIq fo0E2WuZMJY4XmOt4veH9yLDWwnQHQIYw+o9N7S4VaawM/KB3icEfZE5bJXjvKoWBaS+ 8YtQBPhOuA7dSvAzmxC1Umxl+LoVSBZ9TobqDXdRPqApMet4gwvmlGusrnd/EYsacQ6G CUxv+m8QDeeDvTHaoWpGiyNXBk0usWBSSHwLddFiTreXpW0qw8NDOtg3aWiWARPDcAMj 5/XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=kCoZ78re; 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 pv13si11971094ejb.79.2019.10.22.16.56.33; Tue, 22 Oct 2019 16:56:57 -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=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=kCoZ78re; 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 S1732084AbfJVUjb (ORCPT + 99 others); Tue, 22 Oct 2019 16:39:31 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:41385 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725788AbfJVUjb (ORCPT ); Tue, 22 Oct 2019 16:39:31 -0400 Received: by mail-lf1-f67.google.com with SMTP id x4so7888059lfn.8 for ; Tue, 22 Oct 2019 13:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=38DGl3nPqfFsklGBVs5Uo+Om9XtfHJi1J5IGmBXqaaQ=; b=kCoZ78reb5yHDK3mP3U1hVx+acMo+Gm2oCNk0so70BBE5Zu9yFYMTmD1meyofr99B6 7pOTJR0HG6ZmadunEQX6/eqUbkq+GJ6vzTIaElPCLKquVeiZuOzoqar9e0ns54+LLRzf o+EA6No8rCAuSgQqofIak/MXa/hHUu1ZyWytoX8i1tK3rAwJPQ1AACZjQUSuZAoBKDBz Fn108Ux5XS/ZBm9aekzkjgmK3JKafNy3v1l/LtT6uYAufRmrFB1bS766Fhu/Tx+tyJTt E8dzDXdk29zCjGsWBwYCdNQWzRimYS16nMNz77/CaXDrBMRbnFOcN9k7stEXzRFcgJkf BzDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=38DGl3nPqfFsklGBVs5Uo+Om9XtfHJi1J5IGmBXqaaQ=; b=fdAWZLdhw5TRE8LqNLZ/hQyd3RrvbTtgDDHG5xwYvRP0Rrd1fYKzwYI/xSxIkji3Y4 FbNvqhO02bEUPojqP2sLRTB163c9IbuKS0jV0WqsccZOzTWaB0A8kJkxVBkZkyeHriRy vGggb4EHOqGhgEouj6i5TsHJOVr+lmJXfrcE6HTq/ekpLzYhP12nYdUiggMg2Vy0O/ec XUWUyryP19TN0RarUtYU93d0nXX6+BJ9oLub9bWWD4QugQaS0SChTi5lDkRr1pivoway JtOaWnkegQq8jlDp+4L/k+Ti9N34/dc5d6HX5nHIGYMg4sJ/zW0tftzA8E/V8U7Qw807 Qhdg== X-Gm-Message-State: APjAAAUDEF5tQEefAaWP3zh8SJw70GUpd6UMV9HsI0Ft03gYaSQJXirC xaLK1j/K0m2RAU/i/bZAPWpIJg== X-Received: by 2002:a19:c214:: with SMTP id l20mr19391609lfc.123.1571776769018; Tue, 22 Oct 2019 13:39:29 -0700 (PDT) Received: from cakuba.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id 4sm9093313ljv.87.2019.10.22.13.39.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 13:39:28 -0700 (PDT) Date: Tue, 22 Oct 2019 13:39:20 -0700 From: Jakub Kicinski To: Yi Wang Cc: vinicius.gomes@intel.com, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, xue.zhihong@zte.com.cn, up2wing@gmail.com, wang.liang82@zte.com.cn Subject: Re: [RESEND][PATCH net-next] net: sched: taprio: fix -Wmissing-prototypes warnings Message-ID: <20191022133920.087f1779@cakuba.netronome.com> In-Reply-To: <1571702262-25929-1-git-send-email-wang.yi59@zte.com.cn> References: <1571702262-25929-1-git-send-email-wang.yi59@zte.com.cn> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 Oct 2019 07:57:42 +0800, Yi Wang wrote: > We get one warnings when build kernel W=3D1: > net/sched/sch_taprio.c:1155:6: warning: no previous prototype for =E2=80= =98taprio_offload_config_changed=E2=80=99 [-Wmissing-prototypes] >=20 > Make the function static to fix this. >=20 > Signed-off-by: Yi Wang > Acked-by: Vinicius Costa Gomes Thank you! I've added Fixes tag and applied this to the net tree, since the warning is already present there.