From patchwork Fri May 25 15:25:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10427745 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 457EE602D8 for ; Fri, 25 May 2018 15:26:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A6D429713 for ; Fri, 25 May 2018 15:26:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2EE5029782; Fri, 25 May 2018 15:26:12 +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=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, 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 AA20429713 for ; Fri, 25 May 2018 15:26:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965867AbeEYPZ7 (ORCPT ); Fri, 25 May 2018 11:25:59 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:59181 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964823AbeEYPZ6 (ORCPT ); Fri, 25 May 2018 11:25:58 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.129]) with ESMTPA (Nemesis) id 0MFUge-1faWKW1Vum-00EQJe; Fri, 25 May 2018 17:25:48 +0200 From: Arnd Bergmann To: Maxime Ripard , Mauro Carvalho Chehab Cc: Arnd Bergmann , Sakari Ailus , =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Benoit Parrot , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/5] media: v4l: cadence: include linux/slab.h Date: Fri, 25 May 2018 17:25:09 +0200 Message-Id: <20180525152523.2821369-2-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20180525152523.2821369-1-arnd@arndb.de> References: <20180525152523.2821369-1-arnd@arndb.de> X-Provags-ID: V03:K1:KI/N2Y1Kr1RwYWjgmmK++++u2SCer5bqrOASvTmTpLUo1rEzEUV CmXmNz7LxljthPWYVB1wByrVUvDBPY7R/BvSqQ61o0NvyAPHx7KLN5o8a/9eb6RZfkoW/hq Gyfss/+znVZ4CnsToMkcz141HnWT2FhOSs5LxNSr/xTFvZYeHfOc0SAVMf8fR/MzEYktbj1 dLuGpwCFsQlkAlOjcOR9A== X-UI-Out-Filterresults: notjunk:1; V01:K0:UHTpZ6O17xo=:iUVVHxCuVEb0OSnXAcpkLV c7HoNxjIFNyf27w7btaFDdPocIPBZwErGPJXqr/sVOY1+ZhS7t4/w4FXo3AxpESEO0uqy1mox A18jeQ7YMLOlZyplQR2PKvZfuo5C+3bIf71JxEzIrmCORjxp/JQi91dQR+PI5WQ9D/F0WXrSg NsJMYBqZin+/S1N98M/oSoa9ewsaMbl0DkNGxh28isXunp/VPmNKLgqJFJR2ztqf/3Oazjgda ak0ycTTcLR+E/CciKTSCZvcRge84iKQb3/ebcpLa6N5J0HrDmpyz3O9WMbwGouO4B06l4CZ01 j7XUtwCTvw4AKbYk8Exlel4cy2y1Vyg9XFHMyO+1OL778xPXrBolni79m3NIz5Vg4sK/v8s6i /+SzbaC9H2UTmHcktWWcaIzUtwHAolw9Uh3RZKedvqTNcfBDEXgnw+Owh64UuYO+ddhRVR4F2 pVYAEiFQkaG/ar4+7E7Wgh0Ry2JU0JtQe5RlOZVhXDFZ2WlM04nOo0svxYnQyAzMLECKyTC44 nmMbBc+OCIsApkQdOOh7KYjLweqBbSWlyXwwQw6jFanSWYsYOp5wwdZLnQ3AdKEU5wRs8gJAF VmrjspdfvpUW99P6evarZXpATpAy8x3mDWfd9JCg2qvQ+FdTn0xxKVfnOSkqAd73lgLGwd0Kg OdQnVZYt4U4gqTfdwxjIW9Zggri5iEDT1qfaM7FAMRnBmowR5ZZBTEyQ+XyGrqHD78EM= 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 I ran into a randconfig build error with the new driver: drivers/media/platform/cadence/cdns-csi2tx.c: In function 'csi2tx_probe': drivers/media/platform/cadence/cdns-csi2tx.c:477:11: error: implicit declaration of function 'kzalloc'; did you mean 'd_alloc'? [-Werror=implicit-function-declaration] kzalloc() is declared in linux/slab.h, so let's include this to make it build in all configurations. Fixes: 84b477e6d4bc ("media: v4l: cadence: Add Cadence MIPI-CSI2 TX driver") Signed-off-by: Arnd Bergmann Acked-by: Maxime Ripard --- drivers/media/platform/cadence/cdns-csi2rx.c | 1 + drivers/media/platform/cadence/cdns-csi2tx.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/media/platform/cadence/cdns-csi2rx.c b/drivers/media/platform/cadence/cdns-csi2rx.c index a0f02916006b..43e43c7b3e98 100644 --- a/drivers/media/platform/cadence/cdns-csi2rx.c +++ b/drivers/media/platform/cadence/cdns-csi2rx.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include diff --git a/drivers/media/platform/cadence/cdns-csi2tx.c b/drivers/media/platform/cadence/cdns-csi2tx.c index dfa1d88d955b..40d0de690ff4 100644 --- a/drivers/media/platform/cadence/cdns-csi2tx.c +++ b/drivers/media/platform/cadence/cdns-csi2tx.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include