From patchwork Mon Mar 20 09:47:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9633619 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 309F86020B for ; Mon, 20 Mar 2017 09:53:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27931279B3 for ; Mon, 20 Mar 2017 09:53:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 19DA827FAE; Mon, 20 Mar 2017 09:53:35 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable 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 C99D5279B3 for ; Mon, 20 Mar 2017 09:53:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753483AbdCTJvN (ORCPT ); Mon, 20 Mar 2017 05:51:13 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:55474 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752988AbdCTJu2 (ORCPT ); Mon, 20 Mar 2017 05:50:28 -0400 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPA (Nemesis) id 0Lw1TZ-1c8e8A2Jun-017ppp; Mon, 20 Mar 2017 10:48:23 +0100 From: Arnd Bergmann To: Rick Chang , Bin Liu , Mauro Carvalho Chehab Cc: Arnd Bergmann , Matthias Brugger , Minghsiu Tsai , Ricky Liang , linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] [media] vcodec: mediatek: add missing linux/slab.h include Date: Mon, 20 Mar 2017 10:47:54 +0100 Message-Id: <20170320094812.1365229-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:jOtGFSDN9Bkkzc5AjNG/ZrKHtBwcBBYghctIF+U1HT85j85qtwp FGBLGv/h5lw7rZyRrsoVZb/Cia+2MvZsWp2Zp7qhF9ZXUIlIDv1OXX7W682JgyiYa/px3h9 PxR3V5U+HxoWQsEo+KYjNpW0ouXrMPxH+2jdmHb2iThp3r+9+yQROKhboO8+B5PcC9JR/gB MoanVaD1dExUjKh+RdDoA== X-UI-Out-Filterresults: notjunk:1; V01:K0:gZaWpLS1A+I=:+QpDySiRYHbQcBl1ofLu46 YLbiz3Y6WSSubvVoi9e7jIw002hW2UaiFURPpXV9a8BTPTvT7RQDMnJKciKI7kv8q7DdLc3rh 8XlzEylur/IbECfSXDe/renK0/4lDiuwJFMXVT93QuaZNRouQt86uAaxY0No0RGD6FY5laztS jwOs0Qz0XeuFMNd/cVPHJXmOhbLkEflJdBSU/Gn04pdYyNLA2zDxWSAqaSnFCE2vIbGyF5Cwk d17YGxj4utsDeX99f8yba3acbPz0CCThMFXy2xSO8hXLJAkxnXuFbwVR1n4fTLVZ5Uiym+N99 hKSdVxFKauKl1hbMlxAhsrDsRk8eBOgZCEB6B3dJ76IXheK9C33o+azYXJAewGWBBfjwOy2a4 A9zyCLICdnhYZ0H6VqqzTdm4VRh5ddXYgnF1ruJVpdG4D1qJxGhuzAUKmJQKqK9tthGutXbiq fpz/5igo/wUh/W3NmFZbm7I0a3Lto4iQs+8q0dxa5av7FrVYMi0WScBhqQi8HIJtXuWAU7UNn clWsAFmeSmt8g/6e68858AEVSi9F386lHGlt0ugFJMjEeYN7xMgDifrSoDujGP/cQX2n2ahjS 1sIBwwluEA3e7pDT02A9kGsCJOWSBIa1ECIm4zEgiM0ns+1S70ZTmbU4Rg8v9eWea25rJfdV4 SgcMWjD6B3re0sO77j5IlIVIOP0Ti6ZUEkj3wreRGfnj2tNpBM7MyrM+4/2bF4u5fD5U= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP With the newly added driver, I have run into randconfig failures like: drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c: In function 'mtk_jpeg_open': drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:1017:8: error: implicit declaration of function 'kzalloc';did you mean 'kvzalloc'? [-Werror=implicit-function-declaration] Including the header with the declaration solves the problem. Signed-off-by: Arnd Bergmann --- drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c b/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c index b10183f7942b..f9bd58ce7d32 100644 --- a/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c +++ b/drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include