From patchwork Sun Apr 3 23:38:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pawel Osciak X-Patchwork-Id: 684431 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p33NdHHc016578 for ; Sun, 3 Apr 2011 23:39:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751821Ab1DCXjJ (ORCPT ); Sun, 3 Apr 2011 19:39:09 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:32781 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752366Ab1DCXjJ (ORCPT ); Sun, 3 Apr 2011 19:39:09 -0400 Received: by iyb14 with SMTP id 14so5389729iyb.19 for ; Sun, 03 Apr 2011 16:39:08 -0700 (PDT) Received: by 10.231.194.87 with SMTP id dx23mr6491697ibb.133.1301873948321; Sun, 03 Apr 2011 16:39:08 -0700 (PDT) Received: from localhost.localdomain (c-24-4-33-58.hsd1.ca.comcast.net [24.4.33.58]) by mx.google.com with ESMTPS id y10sm3315838iba.63.2011.04.03.16.39.07 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 03 Apr 2011 16:39:07 -0700 (PDT) From: Pawel Osciak To: linux-media@vger.kernel.org Cc: m.szyprowski@samsung.com, Pawel Osciak Subject: [PATCH 2/3] [media] vb2: use unsigned int for the `mapped' bitfield Date: Sun, 3 Apr 2011 16:38:56 -0700 Message-Id: <1301873937-14146-2-git-send-email-pawel@osciak.com> X-Mailer: git-send-email 1.7.4.2 In-Reply-To: <1301873937-14146-1-git-send-email-pawel@osciak.com> References: <1301873937-14146-1-git-send-email-pawel@osciak.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sun, 03 Apr 2011 23:39:18 +0000 (UTC) Signed-off-by: Pawel Osciak Reported-by: David Alan Gilbert --- include/media/videobuf2-core.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h index 4c1e91f..f3bdbb2 100644 --- a/include/media/videobuf2-core.h +++ b/include/media/videobuf2-core.h @@ -83,7 +83,7 @@ struct vb2_mem_ops { struct vb2_plane { void *mem_priv; - int mapped:1; + unsigned int mapped:1; }; /**