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: 6290 Return-path: Envelope-to: mchehab@pedra Delivery-date: Mon, 04 Apr 2011 08:32:20 -0300 Received: from mchehab by pedra with local (Exim 4.72) (envelope-from ) id 1Q6i15-0001eA-PM for mchehab@pedra; Mon, 04 Apr 2011 08:32:20 -0300 Received: from casper.infradead.org [85.118.1.10] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Mon, 04 Apr 2011 08:32:19 -0300 (BRT) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1Q6Wt4-0004hU-Sx; Sun, 03 Apr 2011 23:39:19 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751821Ab1DCXjJ (ORCPT + 1 other); 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> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: 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; }; /**