+ drivers-media-video-v4l2-ctrlsc-fix-build.patch added to -mm tree

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

 



The patch titled
     drivers/media/video/v4l2-ctrls.c: fix build
has been added to the -mm tree.  Its filename is
     drivers-media-video-v4l2-ctrlsc-fix-build.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: drivers/media/video/v4l2-ctrls.c: fix build
From: Meelis Roos <mroos@xxxxxxxx>

Current git has broken v4l2-ctrls compilation - kzalloc et al are missing
prototypes.  Fix it by including linux/slab.h that contains the
definitions.

Signed-off-by: Meelis Roos <mroos@xxxxxxxx>
Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/media/video/v4l2-ctrls.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/media/video/v4l2-ctrls.c~drivers-media-video-v4l2-ctrlsc-fix-build drivers/media/video/v4l2-ctrls.c
--- a/drivers/media/video/v4l2-ctrls.c~drivers-media-video-v4l2-ctrlsc-fix-build
+++ a/drivers/media/video/v4l2-ctrls.c
@@ -19,6 +19,7 @@
  */
 
 #include <linux/ctype.h>
+#include <linux/slab.h>
 #include <media/v4l2-ioctl.h>
 #include <media/v4l2-device.h>
 #include <media/v4l2-ctrls.h>
_

Patches currently in -mm which might be from mroos@xxxxxxxx are

drivers-media-video-v4l2-ctrlsc-fix-build.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