From patchwork Fri Aug 3 11:23:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas THERY X-Patchwork-Id: 1270391 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 6D5EB3FCFC for ; Fri, 3 Aug 2012 11:24:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753450Ab2HCLYA (ORCPT ); Fri, 3 Aug 2012 07:24:00 -0400 Received: from eu1sys200aog106.obsmtp.com ([207.126.144.121]:48507 "EHLO eu1sys200aog106.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753230Ab2HCLX7 convert rfc822-to-8bit (ORCPT ); Fri, 3 Aug 2012 07:23:59 -0400 Received: from beta.dmz-eu.st.com ([164.129.1.35]) (using TLSv1) by eu1sys200aob106.postini.com ([207.126.147.11]) with SMTP ID DSNKUBu0zeDGoVGde3XnKFTvLa3ZczbXASIS@postini.com; Fri, 03 Aug 2012 11:23:58 UTC Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0F2F6CA for ; Fri, 3 Aug 2012 11:23:56 +0000 (GMT) Received: from Webmail-eu.st.com (safex1hubcas1.st.com [10.75.90.14]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A98862C95 for ; Fri, 3 Aug 2012 11:23:56 +0000 (GMT) Received: from SAFEX1MAIL2.st.com ([10.75.90.4]) by SAFEX1HUBCAS1.st.com ([10.75.90.14]) with mapi; Fri, 3 Aug 2012 13:23:56 +0200 From: Nicolas THERY To: "linux-media@vger.kernel.org" , "pawel@osciak.com" , "m.szyprowski@samsung.com" , "kyungmin.park@samsung.com" Illegal-Object: Syntax error in To: addresses found on vger.kernel.org: To: "pawel@osciak.com" ^-illegal end of route address, missing end of address Date: Fri, 3 Aug 2012 13:23:54 +0200 Subject: [PATCH for 3.6] videobuf2: fix sparse warning Thread-Topic: [PATCH for 3.6] videobuf2: fix sparse warning Thread-Index: Ac1xandmozgVm4psQZSvcm/bdgRcWg== Message-ID: <501BB4CA.4010003@st.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Fix "symbol 'vb2_vmalloc_memops' was not declared. Should it be static?" sparse warning. Signed-off-by: Nicolas Thery --- drivers/media/video/videobuf2-vmalloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/video/videobuf2-vmalloc.c b/drivers/media/video/videobuf2-vmalloc.c index 6b5ca6c..94efa04 100644 --- a/drivers/media/video/videobuf2-vmalloc.c +++ b/drivers/media/video/videobuf2-vmalloc.c @@ -18,6 +18,7 @@ #include #include +#include #include struct vb2_vmalloc_buf {