From patchwork Fri Oct 13 02:50:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 115687 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp222321qgn; Thu, 12 Oct 2017 19:50:49 -0700 (PDT) X-Google-Smtp-Source: AOwi7QB05Jhp8oiq5R9v+DHqRbHfFK850/fjmrcpKj7IYYhOtuYJEf41lppU+I/6gO3NjBXrPznj X-Received: by 10.84.248.144 with SMTP id q16mr1873488pll.345.1507863049483; Thu, 12 Oct 2017 19:50:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507863049; cv=none; d=google.com; s=arc-20160816; b=O9gMJG8lRbRGlHh38jcE62Pep6xp1RPntBw4x/Hv+hzd8QVpu4z7HFRiPJJgzEWyZ2 8KvpkAEl/pFvRKFkM+BFFyxxVeB0R+YbLhYmRV0jMGEWdOIbWMVXnmwe1ILoFdtM61TR UvINyJLe9Q4CFzaizEXCH2XG28+MyvHwzpKZ6FCKQMRfs7hxNNnkzXOK5GGqMlvzx0KO PU36Y0zdW0hl9/h+JFhPhVRyDBevsVQzqfDgx00C1OdWRN3hH1IqSCBMtlyn23LPnqLk FMCDyVjr6EnxJ5G+5VvxVorbWdLwFPUqWB+dF9KbNPzjTgWjRMgqQcZdGEYSzwfxxdWy rFjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=e+by3yIK30RCQs/U7rAxKhCnp+cT++2m7Jywbwfg650=; b=yQ8Izq9GNKdOpoq+UuDY2t1mzZM60blF8R+6de6HO2ZM6n4eEoF844+pEIKWaY4Iwa mLpRfdzOukrexUdXNqN3YQ5y+bMf565n07b/aTNQdz/bynvuUiTSAo0spU4fy6ahgsfJ pJnJhNNDK+wdM7iOzCGnnBUYLqaKTJ0aH2CCsXzm8YnhNQH7RuNLTNX6pxQygHYAON4O 5D9gB2F78PmTpF8XFJCGEgqPQwnXwSWmMf4kBIoeIDc42aYx1nB0w104TLqm8Y/EhjeA hQVd0V3fPUm3LGjri5y1WJEHTu9FGADly9kWt2gcOpd4mZ1qQW0XTwynzu2AmNiqtwEJ pQSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=mLDG6//c; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-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 q77si13188436pfa.557.2017.10.12.19.50.49; Thu, 12 Oct 2017 19:50:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=mLDG6//c; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753429AbdJMCuq (ORCPT + 8 others); Thu, 12 Oct 2017 22:50:46 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:53506 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753291AbdJMCuq (ORCPT ); Thu, 12 Oct 2017 22:50:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Message-Id:Date:Subject:Cc:To:From :Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=e+by3yIK30RCQs/U7rAxKhCnp+cT++2m7Jywbwfg650=; b=mLDG6//cjIY1QyLVEhbkoFCrt 5ehfs8QDkrk5fA+tuCL5F7lGmEVRS/hck+EFQi53EVyDdSvz3tzwW6FRezKhJZnbW25/nqMceUh+t 6oWBGXjtTdXUIkPrIE8mHGGEJfPI2v3rqvOrGEbdaXSFlqsT0ffOno3V9DdBQyDT0RW6k=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1e2q3a-0000ub-VB; Fri, 13 Oct 2017 02:50:39 +0000 Received: from broonie by debutante with local (Exim 4.89) (envelope-from ) id 1e2q3a-0001B6-AI; Fri, 13 Oct 2017 03:50:38 +0100 From: Mark Brown To: davem@davemloft.net, Jakub Kicinski , Simon Horman Cc: oss-drivers@netronome.com, netdev@vger.kernel.org, Mark Brown Subject: [PATCH] nfp: Explicitly include linux/bug.h Date: Fri, 13 Oct 2017 03:50:35 +0100 Message-Id: <20171013025035.4450-1-broonie@kernel.org> X-Mailer: git-send-email 2.14.1 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Today's -next build encountered an error due to a missing definition of WARN_ON(), caused by some header reorganization removing an implicit inclusion of linux/bug.h. Fix this with an explicit inclusion. Signed-off-by: Mark Brown --- drivers/net/ethernet/netronome/nfp/nfp_app.c | 1 + drivers/net/ethernet/netronome/nfp/nfp_asm.h | 1 + 2 files changed, 2 insertions(+) -- 2.14.1 Acked-by: Jakub Kicinski diff --git a/drivers/net/ethernet/netronome/nfp/nfp_app.c b/drivers/net/ethernet/netronome/nfp/nfp_app.c index 82c290763529..5d9e2eba5b49 100644 --- a/drivers/net/ethernet/netronome/nfp/nfp_app.c +++ b/drivers/net/ethernet/netronome/nfp/nfp_app.c @@ -31,6 +31,7 @@ * SOFTWARE. */ +#include #include #include diff --git a/drivers/net/ethernet/netronome/nfp/nfp_asm.h b/drivers/net/ethernet/netronome/nfp/nfp_asm.h index c4c18dd5630a..aa397bf308e4 100644 --- a/drivers/net/ethernet/netronome/nfp/nfp_asm.h +++ b/drivers/net/ethernet/netronome/nfp/nfp_asm.h @@ -35,6 +35,7 @@ #define __NFP_ASM_H__ 1 #include +#include #include #define REG_NONE 0