All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <4C3740E5.5080200@metafoo.de>

diff --git a/a/1.txt b/N1/1.txt
index b5ab0f5..95e6fb8 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -349,7 +349,7 @@ channel. And the channels are send one after another over the wire.
 >>> +     struct fb_videomode *mode = jzfb->pdata->modes;
 >>> +
 >>> +     for (i = 0; i < jzfb->pdata->num_modes; ++i, ++mode) {
->>> +             if (mode->xres = var->xres && mode->yres = var->yres)
+>>> +             if (mode->xres == var->xres && mode->yres == var->yres)
 >>> +                     return mode;
 >>> +     }
 >>> +
@@ -366,7 +366,7 @@ channel. And the channels are send one after another over the wire.
 >>> +             return -EINVAL;
 >>> +
 >>> +     mode = jzfb_get_mode(jzfb, var);
->>> +     if (mode = NULL)
+>>> +     if (mode == NULL)
 >>> +             return -EINVAL;
 >>> +
 >>> +     fb_videomode_to_var(var, mode);
@@ -431,10 +431,10 @@ channel. And the channels are send one after another over the wire.
 >>> +     unsigned long rate;
 >>> +
 >>> +     mode = jzfb_get_mode(jzfb, var);
->>> +     if (mode = NULL)
+>>> +     if (mode == NULL)
 >>> +             return -EINVAL;
 >>> +
->>> +     if (mode = info->mode)
+>>> +     if (mode == info->mode)
 >>> +             return 0;
 >>> +
 >>> +     info->mode = mode;
@@ -491,7 +491,7 @@ channel. And the channels are send one after another over the wire.
 >>> +     if (jzfb->pdata->date_enable_active_low)
 >>> +             cfg |= JZ_LCD_CFG_DE_ACTIVE_LOW;
 >>> +
->>> +     if (jzfb->pdata->lcd_type = JZ_LCD_TYPE_GENERIC_18_BIT)
+>>> +     if (jzfb->pdata->lcd_type == JZ_LCD_TYPE_GENERIC_18_BIT)
 >>> +             cfg |= JZ_LCD_CFG_18_BIT;
 >>> +
 >>> +     cfg |= jzfb->pdata->lcd_type & 0xf;
@@ -500,7 +500,7 @@ channel. And the channels are send one after another over the wire.
 >>> +             rate = PICOS2KHZ(mode->pixclock) * 1000;
 >>> +             mode->refresh = rate / vt / ht;
 >>> +     } else {
->>> +             if (jzfb->pdata->lcd_type = JZ_LCD_TYPE_8BIT_SERIAL)
+>>> +             if (jzfb->pdata->lcd_type == JZ_LCD_TYPE_8BIT_SERIAL)
 >>> +                     rate = mode->refresh * (vt + 2 * mode->xres) * ht;
 >>> +             else
 >>> +                     rate = mode->refresh * vt * ht;
diff --git a/a/content_digest b/N1/content_digest
index 2c8cbfe..b60efc6 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -4,7 +4,7 @@
  "ref\0AANLkTikwGwXeCpwL8KfLVB3b9IoWoUJwaTStTwr8iR8z@mail.gmail.com\0"
  "From\0Lars-Peter Clausen <lars@metafoo.de>\0"
  "Subject\0Re: [PATCH v2 16/26] fbdev: Add JZ4740 framebuffer driver\0"
- "Date\0Fri, 09 Jul 2010 15:31:49 +0000\0"
+ "Date\0Fri, 09 Jul 2010 17:31:49 +0200\0"
  "To\0Jaya Kumar <jayakumar.lkml@gmail.com>\0"
  "Cc\0Andrew Morton <akpm@linux-foundation.org>"
   linux-mips@linux-mips.org
@@ -364,7 +364,7 @@
  ">>> +     struct fb_videomode *mode = jzfb->pdata->modes;\n"
  ">>> +\n"
  ">>> +     for (i = 0; i < jzfb->pdata->num_modes; ++i, ++mode) {\n"
- ">>> +             if (mode->xres = var->xres && mode->yres = var->yres)\n"
+ ">>> +             if (mode->xres == var->xres && mode->yres == var->yres)\n"
  ">>> +                     return mode;\n"
  ">>> +     }\n"
  ">>> +\n"
@@ -381,7 +381,7 @@
  ">>> +             return -EINVAL;\n"
  ">>> +\n"
  ">>> +     mode = jzfb_get_mode(jzfb, var);\n"
- ">>> +     if (mode = NULL)\n"
+ ">>> +     if (mode == NULL)\n"
  ">>> +             return -EINVAL;\n"
  ">>> +\n"
  ">>> +     fb_videomode_to_var(var, mode);\n"
@@ -446,10 +446,10 @@
  ">>> +     unsigned long rate;\n"
  ">>> +\n"
  ">>> +     mode = jzfb_get_mode(jzfb, var);\n"
- ">>> +     if (mode = NULL)\n"
+ ">>> +     if (mode == NULL)\n"
  ">>> +             return -EINVAL;\n"
  ">>> +\n"
- ">>> +     if (mode = info->mode)\n"
+ ">>> +     if (mode == info->mode)\n"
  ">>> +             return 0;\n"
  ">>> +\n"
  ">>> +     info->mode = mode;\n"
@@ -506,7 +506,7 @@
  ">>> +     if (jzfb->pdata->date_enable_active_low)\n"
  ">>> +             cfg |= JZ_LCD_CFG_DE_ACTIVE_LOW;\n"
  ">>> +\n"
- ">>> +     if (jzfb->pdata->lcd_type = JZ_LCD_TYPE_GENERIC_18_BIT)\n"
+ ">>> +     if (jzfb->pdata->lcd_type == JZ_LCD_TYPE_GENERIC_18_BIT)\n"
  ">>> +             cfg |= JZ_LCD_CFG_18_BIT;\n"
  ">>> +\n"
  ">>> +     cfg |= jzfb->pdata->lcd_type & 0xf;\n"
@@ -515,7 +515,7 @@
  ">>> +             rate = PICOS2KHZ(mode->pixclock) * 1000;\n"
  ">>> +             mode->refresh = rate / vt / ht;\n"
  ">>> +     } else {\n"
- ">>> +             if (jzfb->pdata->lcd_type = JZ_LCD_TYPE_8BIT_SERIAL)\n"
+ ">>> +             if (jzfb->pdata->lcd_type == JZ_LCD_TYPE_8BIT_SERIAL)\n"
  ">>> +                     rate = mode->refresh * (vt + 2 * mode->xres) * ht;\n"
  ">>> +             else\n"
  ">>> +                     rate = mode->refresh * vt * ht;\n"
@@ -680,4 +680,4 @@
  "=qrO3\n"
  -----END PGP SIGNATURE-----
 
-60fe195eaa07344e8f27e93936a6089c9c9611789df370f7825e12444af8ca3a
+021c7713b19f1d5d6bbc494cb1a12a04e74d657aa0405c2d12821eb4ce8151ae

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.