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: 136943 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3730327lji; Fri, 25 May 2018 08:26:03 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpPElyxC6oDUXWD4II8ggl5zEFwsJSrymfzh/nj1zRXGZUJTT5YsrlK7pGmqWX6WIT9GJkT X-Received: by 2002:a17:902:aa04:: with SMTP id be4-v6mr3107244plb.20.1527261962925; Fri, 25 May 2018 08:26:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527261962; cv=none; d=google.com; s=arc-20160816; b=jlR3Bbu5ylOwW8cYMjl0L/Aa7kb2ns0ezjE5mzW8+pSDfhaNCM7TvIv9yB8tvaDNcR v7RnOu9Tkf5MvXnWXAphs2drndD5lUVYwpYY90U8Yj1HQeodarMeieGCq+TVMHDrysnq 9wyvWmybmUnwkCLmxwd/zdUtqStcfOV7FXZIuTWnCgCMfZAQZLNB0BaeKqoczF4Wv6GU caYKE+K9WdjWiocaVl9imJ69t7kimOlEB9YIhvffXVHzN5WwGeIZLOIM9bmnNEG65mzy UXr82I1lDnrHsxivWqx6BUxrYeRebEJjHGDZdLS6kGDM4oyqwD4eFuEvl12hV7yZJsiH eWvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=RXQRqqHYrbp0q7MX0Wrw8jsLALe1XIdmVOt6ZXs5PFs=; b=ouVk4HOeLcfhvNH5ZSsg41t492Ovj5g2zGTgUyEvnaSO6XoMWUyt1cbP/llms//9jA FWz0hMVY7lPI6Gm46jS5kQlNDCNpb4RqDBARHmY2jL1nW62zaY5tR4JalGJxUREel8pJ hB1Auj7Eias5yMid5p6NR8CL0xgfbrRttY04dVpg2nYamvMTt4HFU+0xYB5AfqRDymew Uao+Sys1ZORjgAtgXC6ODMz8BtvEk54ezWkMJtj2EgC4bGS8vjf1OckxEdepyKDR14bs NS7CxuGB6pBimy0sxSOluHHMcj4i+V6PHG7KM1oL4xFgVKlgO8YIVbtRhnNUrn4go06/ P5hQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n34-v6si23529580pld.91.2018.05.25.08.26.02; Fri, 25 May 2018 08:26:02 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966431AbeEYP0A (ORCPT + 30 others); Fri, 25 May 2018 11:26:00 -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_S=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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/media/platform/cadence/cdns-csi2rx.c | 1 + drivers/media/platform/cadence/cdns-csi2tx.c | 1 + 2 files changed, 2 insertions(+) -- 2.9.0 Acked-by: Maxime Ripard 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