The patch titled
     drivers/media/video/sn9c102/sn9c102_core.c Fix Unlikely(x) == y
has been added to the -mm tree.  Its filename is
     drivers-media-video-sn9c102-sn9c102_corec-fix-unlikelyx-==-y.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://www.zip.com.au/~akpm/linux/patches/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/sn9c102/sn9c102_core.c Fix Unlikely(x) == y
From: Roel Kluin <[EMAIL PROTECTED]>

Fix Unlikely(x) == y

Signed-off-by: Roel Kluin <[EMAIL PROTECTED]>
Reviewed-by: Luca Risolia <[EMAIL PROTECTED]>
Cc: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/media/video/sn9c102/sn9c102_core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN 
drivers/media/video/sn9c102/sn9c102_core.c~drivers-media-video-sn9c102-sn9c102_corec-fix-unlikelyx-==-y
 drivers/media/video/sn9c102/sn9c102_core.c
--- 
a/drivers/media/video/sn9c102/sn9c102_core.c~drivers-media-video-sn9c102-sn9c102_corec-fix-unlikelyx-==-y
+++ a/drivers/media/video/sn9c102/sn9c102_core.c
@@ -528,7 +528,7 @@ sn9c102_find_sof_header(struct sn9c102_d
 
                /* Search for the SOF marker (fixed part) in the header */
                for (j = 0, b=cam->sof.bytesread; j+b < sizeof(marker); j++) {
-                       if (unlikely(i+j) == len)
+                       if (unlikely(i+j == len))
                                return NULL;
                        if (*(m+i+j) == marker[cam->sof.bytesread]) {
                                cam->sof.header[cam->sof.bytesread] = *(m+i+j);
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

ufs-fix-parenthesisation-in-ufs_set_fs_state.patch
git-alsa.patch
git-cifs.patch
git-dvb.patch
drivers-media-video-sn9c102-sn9c102_corec-fix-unlikelyx-==-y.patch

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

Reply via email to