Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4776051ybg; Mon, 21 Oct 2019 14:22:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZRaU+XD8ohxnClQR+RhwuJKGkAQWzZb1AUE+oDskeRwnDkvugc1JUMrsiVPoJteunaDN5 X-Received: by 2002:a05:6402:296:: with SMTP id l22mr27542977edv.86.1571692949102; Mon, 21 Oct 2019 14:22:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571692949; cv=none; d=google.com; s=arc-20160816; b=0Zik+80fOohW6bb0FwFkrDfCbc7QrbNfl+S5dKYLSjZ2RsWhcvQUm/GldZfngmTpUu mkkWiIiVHqg//4bRq2H5gojRWnxjV9nlJOH4R/p1ktZ1s4gMEvCMd08nB17zbmi3MWHW ZDbhtFL27N/SNQRJKhQPmnDaMihG/RDGz26XMdA4DuqianExL8JWg+xq4NcQi0KZubNy V6tZHFXrBHHut0KGYJOFuOGr23Nj3odhPnKDNDEgGUU8fQ+Y1+k15Yc2LnIgdNMNMPMz zUmwzzjvvx6WgPwZNJGjRPkOPYT0jQp4Gg/hurDyKfPaRUiSH+LQc5dH6lFoKB0yept/ mgww== 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 :message-id:date:references:in-reply-to:subject:cc:to:from; bh=aX+9fXHsbfVr4JoaJLacAjTYJtdZrRHNACa2QbDCixY=; b=FSEQBh2PnXlq7oPO11sjkFyv8rPhmE72QJLQbTueHT5kutv8O6U/rybgKAYVFuF5NX bP7IgUMU03sgofKmVez+eAKRHucRj5duqnnZ00DAuRKCYtSR9LqPyq4XlcDahiqbiBjr j0+UgN7rx6Bc82ejAheOhGM4ZelS5UrdSIwKNCrQRM5M17wOhuFnXZHyPSbrgw0tQ3rv A0iEXLeuDiapIVuCiwZeuPdIyn1vmRDGS/m/9tIeICIqSrMmL13G/kA3SczqnuCXTEps VC+ELaD45y6zg2x2bYjPs9lN3Gy7dzfQwfpMrP14HmQS6AsR8VMN/9tESTP6f/Xrw4nP oSvQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f13si10573203ejj.402.2019.10.21.14.22.04; Mon, 21 Oct 2019 14:22:29 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730276AbfJUVWA convert rfc822-to-8bit (ORCPT + 99 others); Mon, 21 Oct 2019 17:22:00 -0400 Received: from mga01.intel.com ([192.55.52.88]:16597 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726672AbfJUVWA (ORCPT ); Mon, 21 Oct 2019 17:22:00 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Oct 2019 14:21:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,324,1566889200"; d="scan'208";a="398796611" Received: from vcostago-desk1.jf.intel.com (HELO vcostago-desk1) ([10.54.70.82]) by fmsmga006.fm.intel.com with ESMTP; 21 Oct 2019 14:21:59 -0700 From: Vinicius Costa Gomes To: Yi Wang , jhs@mojatatu.com Cc: xiyou.wangcong@gmail.com, jiri@resnulli.us, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, xue.zhihong@zte.com.cn, wang.yi59@zte.com.cn, up2wing@gmail.com, wang.liang82@zte.com.cn Subject: Re: [PATCH] net: sched: taprio: fix -Wmissing-prototypes warnings In-Reply-To: <1571658424-4273-1-git-send-email-wang.yi59@zte.com.cn> References: <1571658424-4273-1-git-send-email-wang.yi59@zte.com.cn> Date: Mon, 21 Oct 2019 14:23:08 -0700 Message-ID: <877e4xztc3.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Yi Wang writes: > We get one warnings when build kernel W=1: > net/sched/sch_taprio.c:1155:6: warning: no previous prototype for ‘taprio_offload_config_changed’ [-Wmissing-prototypes] > > Make the function static to fix this. > > Signed-off-by: Yi Wang > --- This looks like it should be directed to net-next. When you re-send it for net-next, feel free to add my: Acked-by: Vinicius Costa Gomes Cheers, -- Vinicius