Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2054785ybi; Thu, 20 Jun 2019 08:22:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7QCmpZXKp4OhAE1CddmY0Pbr8uPoWms9ujgMt+Or2HaQZ2LSAuRxG5LezM5nU3B9OoJ9q X-Received: by 2002:a62:e815:: with SMTP id c21mr90897576pfi.244.1561044175671; Thu, 20 Jun 2019 08:22:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561044175; cv=none; d=google.com; s=arc-20160816; b=NQfo8DpnRoHCVegeBHZ83PENdTB1whPgSPYDqgDPm7aLRyvrzNxKmF3pDttcNlVdYm fo5ASiw5IByvZj0A4q9eNSMMkjh+dfUe6PvSaLY6Un9lWqFZmHVsrxx+qk+TNZNRaEzy j05Db4uaoWRXIMXq4q3SZoYoLO+xJOGAy5/W+kTRwApt0esLv5L9k4vyHagzkJ1TMrGo XNz2nahdVZZtulh/2cjJkVMRXSXWBT2gHFMQ8BAqR1wkShLtYEFjCNCVoRJVZyfUETE4 ICurQoJs20HtQQOJzqeTVu7ZrecQ+TyKWVO8Ef9FqeIjnuLp3kuLEs5b3caKeh9KpDuG h9Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=WWcTTKF/82/ExwUFM1sAVWc5mPz5k5o+tscsjovzbdY=; b=FaUjKDP4G+RabEtBbBx8XxuOLguwqL3ygf7etEV80+rxxBNklFYrCcuqN6DBbU86mJ rH3++6yJhmiFxmDVe6DYVetBmm+6qo5hu1M61BfCLdTqDQX25jFMRUNJxxwuF4wX/XB6 Rln8pO19bfPOr/doeB5XjSHG8tYJUL/GApWN2/tC8peeKkToe2B2TFitgKgIP/uFB+wp UoVj5SJUyENVKy9JcPqBAAOV0VZ41BBkcJ2m0cIXK1mTGQKkEWVL4xPsjDZKvAOEkjWL 4KOYn9r1QvIVfdPp+0I1AaDpVrBk1IppnOAkZtoBzpw1wDPBi/2zIHPHDOUAPnCjLncv ebrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=sIyWfeXi; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t6si17972plr.245.2019.06.20.08.22.39; Thu, 20 Jun 2019 08:22:55 -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=@google.com header.s=20161025 header.b=sIyWfeXi; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732007AbfFTPVU (ORCPT + 99 others); Thu, 20 Jun 2019 11:21:20 -0400 Received: from mail-yb1-f173.google.com ([209.85.219.173]:36776 "EHLO mail-yb1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726661AbfFTPVU (ORCPT ); Thu, 20 Jun 2019 11:21:20 -0400 Received: by mail-yb1-f173.google.com with SMTP id w6so1387849ybo.3 for ; Thu, 20 Jun 2019 08:21:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WWcTTKF/82/ExwUFM1sAVWc5mPz5k5o+tscsjovzbdY=; b=sIyWfeXi6KwmuxnVzP1J8xyTlUH5LBx2rOkbUmIHEEbH4qtiKxfEot6fOUNodIzm22 BOJW1KLRlcqTIDUm8mvA/hgZCQETxs35ZW/FmAUe6Zz32N7cSqPifP+EbGHCidGq3khp Eof5Mn2YrAR2RN89YJGr1V3fs4rAfIqkKhf4LvfOAOrYz+abZYmErCDqSUVwQkTUMKRq Vx4ZzS+Hgyd1dAsgOYqaHRnJYgP/FhxvvhspEM7MWOkB6uUALFE/ST9Kwm4Agq9rbdul Lbs78S9dLslqZ+yiWdtzwaU9D+5G10ulweUt/JDewc/ksWRSjfGvLCDAoDnMHSTGA8bi YjrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WWcTTKF/82/ExwUFM1sAVWc5mPz5k5o+tscsjovzbdY=; b=ZlqwQCA7dA+Yk1DOS+FwV/FuUOQP+d21/cTfXRxr+j/gIilIjcuyDbImTvdgEoufpk huXiHdGKOYwHn6ZWxUdHxaLRrn+CFm5AB5k2ww2HrKDK1ZJFio3Ye/oCVMVI3G9GGsag dP//rhRn3DYcV/9u9CAAOMN5KnsI+nDW1XFMRAycalVJx3Uc7LUM1G0os0ocg98dF7VG sA9tQSHEcjzNo5VOcEQmUaKZFD0vrngm1AxhClwycvmKXmwnudHHzxiFPP4yYj2Uzy1E +CVaDeT2KuK3pWtF+4yI9EICMWuw9Tf+KFyAaA0L4cn3CL+5Tl2cm+wrXVu22dJ6sGao oafg== X-Gm-Message-State: APjAAAX2N2v/ittBaJ2KFGq1G5dJ/tERDPGUlAZ9L2jWksVm0/VSW27u XksYtlM2XW56IPDdUIsYmbNhyPqqQ3eYbLOLV3Btlg== X-Received: by 2002:a25:bf83:: with SMTP id l3mr67617590ybk.446.1561044078765; Thu, 20 Jun 2019 08:21:18 -0700 (PDT) MIME-Version: 1.0 References: <1561042360-20480-1-git-send-email-cai@lca.pw> In-Reply-To: <1561042360-20480-1-git-send-email-cai@lca.pw> From: Eric Dumazet Date: Thu, 20 Jun 2019 11:21:07 -0400 Message-ID: Subject: Re: [PATCH -next] inet: fix compilation warnings in fqdir_pre_exit() To: Qian Cai Cc: David Miller , netdev , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 20, 2019 at 10:52 AM Qian Cai wrote: > > The linux-next commit "inet: fix various use-after-free in defrags > units" [1] introduced compilation warnings, > > ./include/net/inet_frag.h:117:1: warning: 'inline' is not at beginning > of declaration [-Wold-style-declaration] > static void inline fqdir_pre_exit(struct fqdir *fqdir) > ^~~~~~ Interesting warning, this is kind of new compiler major feature I guess :/ BTW : $ git grep -n "static void inline" | wc -l 9