+ videocodec-make-1-bit-fields-unsigned.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     videocodec: make 1-bit fields unsigned

has been added to the -mm tree.  Its filename is

     videocodec-make-1-bit-fields-unsigned.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: videocodec: make 1-bit fields unsigned
From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Make 1-bit bitfields unsigned.  Removes 68 sparse errors like these:
drivers/media/video/videocodec.h:225:17: error: dubious one-bit signed bitfield
drivers/media/video/msp3400-driver.h:93:32: error: dubious one-bit signed bitfield

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/media/video/msp3400-driver.h |    4 ++--
 drivers/media/video/videocodec.h     |   16 ++++++++--------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff -puN drivers/media/video/msp3400-driver.h~videocodec-make-1-bit-fields-unsigned drivers/media/video/msp3400-driver.h
--- a/drivers/media/video/msp3400-driver.h~videocodec-make-1-bit-fields-unsigned
+++ a/drivers/media/video/msp3400-driver.h
@@ -90,8 +90,8 @@ struct msp_state {
 	/* thread */
 	struct task_struct   *kthread;
 	wait_queue_head_t    wq;
-	int                  restart:1;
-	int                  watch_stereo:1;
+	unsigned int         restart:1;
+	unsigned int         watch_stereo:1;
 };
 
 /* msp3400-driver.c */
diff -puN drivers/media/video/videocodec.h~videocodec-make-1-bit-fields-unsigned drivers/media/video/videocodec.h
--- a/drivers/media/video/videocodec.h~videocodec-make-1-bit-fields-unsigned
+++ a/drivers/media/video/videocodec.h
@@ -222,14 +222,14 @@ M                       zr36055[1] 0001 
 /* ========================= */
 
 struct vfe_polarity {
-	int vsync_pol:1;
-	int hsync_pol:1;
-	int field_pol:1;
-	int blank_pol:1;
-	int subimg_pol:1;
-	int poe_pol:1;
-	int pvalid_pol:1;
-	int vclk_pol:1;
+	unsigned int vsync_pol:1;
+	unsigned int hsync_pol:1;
+	unsigned int field_pol:1;
+	unsigned int blank_pol:1;
+	unsigned int subimg_pol:1;
+	unsigned int poe_pol:1;
+	unsigned int pvalid_pol:1;
+	unsigned int vclk_pol:1;
 };
 
 struct vfe_settings {
_

Patches currently in -mm which might be from rdunlap@xxxxxxxxxxxx are

origin.patch
patch-kernel-acct-fix-function-definition.patch
zlib-inflate-fix-function-definitions.patch
add-poisonh-and-patch-primary-users.patch
update-2-drivers-for-poisonh.patch
poison-add-use-more-constants.patch
fix-kernel-doc-in-kernel-dir.patch
pi-futex-rt-mutex-docs.patch
ioat-fix-sparse-ulong-warning.patch
git-pcmcia.patch
git-scsi-misc.patch
aic7-cleanup-module_parm_desc-strings.patch
qla1280-fix-section-mismatch-warnings.patch
areca-raid-linux-scsi-driver.patch
dc395x-fix-printk-format-warning.patch
git-watchdog.patch
acpi-identify-which-device-is-not-power-manageable.patch
sound-fix-cs4232-section-mismatch.patch
ac97_codec-make-bitfield-unsigned.patch
oss-via-make-bitfield-unsigned.patch
videocodec-make-1-bit-fields-unsigned.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux