From patchwork Tue May 30 11:20:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9754317 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8A2D8602B9 for ; Tue, 30 May 2017 11:21:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DB091FE85 for ; Tue, 30 May 2017 11:21:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7222227FAD; Tue, 30 May 2017 11:21:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 044351FE85 for ; Tue, 30 May 2017 11:21:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751494AbdE3LVA (ORCPT ); Tue, 30 May 2017 07:21:00 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:51463 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751489AbdE3LU7 (ORCPT ); Tue, 30 May 2017 07:20:59 -0400 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.145]) with ESMTPA (Nemesis) id 0M4kN3-1e7L8s3Opx-00yuOt; Tue, 30 May 2017 13:20:31 +0200 From: Arnd Bergmann To: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Cc: Brian Norris , linux-mtd@lists.infradead.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Arnd Bergmann Subject: [PATCH] bcm47xx: fix build regression Date: Tue, 30 May 2017 13:20:12 +0200 Message-Id: <20170530112027.3983554-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:X8Zzmi2Mh9KiCQEdMT8nwsleVnypOlefbFDQmQTcp1xw44sAQpZ Lwlpu87QW3ZOCtJJf0zZAgZk90IH5yUCTtMHXPxpOEh27eYStHRIG4Mg9FsWzAusrA2/HN3 q1CeHTLa7rFxsBF0XTEpIDa+NCT0P6+Ic4mZx57kFDfsS0QCjSgw9q5yK9ypoEgAw/HA36J mhhTJubf/5AFdFpr9dtRg== X-UI-Out-Filterresults: notjunk:1; V01:K0:r5leIAc1lsM=:7vIXZwrE0D0iBYlqS9jtjM CPfngkctZKMJJeQaH0T1wGteIMbiyw2UCjcjNX8AEjogCUP7vvCxH1xo5mEvE9fVWei7vIaLm Qu843QTE0cwYep5wch7oWQOnJfXRiZ8B6yKdOa1gxIocRMDEyM+i6LpTQIkUZSwA5CAzRyFFa BdatfXjgDxIpTZsCIl2RZrr3Fp5PwoAgJEnSPkLWSEzjw5Cdt1Xu+fIly+iwPcvUcHz+nuElM vW5KfmEb1g6qU+/HgPfV0AmYNOqCLT5f1hfoeUFHWoOBo3xpezyOlBijVVtWwRad67dcjdz9a RLN4RI19cNPjnhPLLzmFg85SMj6qj/3oi/46R2d4mA5rzv4ZFE+wPEQib7JpzefPLcBozSyAa pBRk4LUPXJ2+ohri52awUeypFih2cknbPON9XSsX4iB+opCBUuWsBMrTdHag+k42uCNSYsGgn DMa4lb0A144wbxzOZYuSSKsxYm2E2MAisTI9rGAqHdmnhh8dIFbPQeZ2jiGdTaYLKU67wQ7HT OmCJmyH6886gC/p1Bjy8jIoYgcecOA2qjJuu2E4z1SWf229FPF4vOKYfDHqAxsPMBTfN7poqr 7C8C22k/0Sd2mn31ocNbxKBo/z0GKn3mqbzLH6jyrFdDzgpUNWwUmoY65BhYFQ3mAggkNjW06 f9gZpx0GJtM/syA9VO0hpz7+2liwdnOH0HtiKXlHgrv3PNzrU8qAeBzfj+MNd0A+dC7Q= Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP An unknown change in the kernel headers caused a build regression in an MTD partition driver: In file included from drivers/mtd/bcm47xxpart.c:12:0: include/linux/bcm47xx_nvram.h: In function 'bcm47xx_nvram_init_from_mem': include/linux/bcm47xx_nvram.h:27:10: error: 'ENOTSUPP' undeclared (first use in this function) Clearly we want to include linux/errno.h here. Signed-off-by: Arnd Bergmann Acked-by: Boris Brezillon --- include/linux/bcm47xx_nvram.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/bcm47xx_nvram.h b/include/linux/bcm47xx_nvram.h index 2793652fbf66..a414a2b53e41 100644 --- a/include/linux/bcm47xx_nvram.h +++ b/include/linux/bcm47xx_nvram.h @@ -8,6 +8,7 @@ #ifndef __BCM47XX_NVRAM_H #define __BCM47XX_NVRAM_H +#include #include #include #include