All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20150819081139.GB15712@pali>

diff --git a/a/1.txt b/N1/1.txt
index 3d1867a..f7d76c2 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -90,9 +90,9 @@ On Tuesday 18 August 2015 07:11:27 Peter Teoh wrote:
 >         if (p->fbops->fb_sync)
 >                 p->fbops->fb_sync(p);
 > 
->         if (image->depth = 1) {
->                 if (p->fix.visual = FB_VISUAL_TRUECOLOR ||
->                     p->fix.visual = FB_VISUAL_DIRECTCOLOR) {
+>         if (image->depth == 1) {
+>                 if (p->fix.visual == FB_VISUAL_TRUECOLOR ||
+>                     p->fix.visual == FB_VISUAL_DIRECTCOLOR) {
 >                         fgcolor = ((u32*)(p->pseudo_palette))[image->fg_color];
 >                         bgcolor = ((u32*)(p->pseudo_palette))[image->bg_color];
 >                 } else {
@@ -100,8 +100,8 @@ On Tuesday 18 August 2015 07:11:27 Peter Teoh wrote:
 >                         bgcolor = image->bg_color;
 >                 }
 > 
->                 if (32 % bpp = 0 && !start_index && !pitch_index &&
->                     ((width & (32/bpp-1)) = 0) &&
+>                 if (32 % bpp == 0 && !start_index && !pitch_index &&
+>                     ((width & (32/bpp-1)) == 0) &&
 >                     bpp >= 8 && bpp <= 32)
 >                         fast_imageblit(image, p, dst1, fgcolor, bgcolor);
 >                 else
@@ -111,7 +111,7 @@ On Tuesday 18 August 2015 07:11:27 Peter Teoh wrote:
 >                 color_imageblit(image, p, dst1, start_index, pitch_i
 > 
 > 
-> Notice that bpp is not checked for zero, and thus bpp=0 is totally
+> Notice that bpp is not checked for zero, and thus bpp==0 is totally
 > feasible?   resulting in 32/bpp crashing the kernel?
 > 
 
diff --git a/a/content_digest b/N1/content_digest
index 70331ff..12aad49 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\0CAHnt0GX6442mtZ=J6CS_60TyTeUu==oROcf4Y=upHGSr71X3EA@mail.gmail.com\0"
  "From\0Pali Roh\303\241r <pali.rohar@gmail.com>\0"
  "Subject\0Re: omapdss: Division by zero in kernel\0"
- "Date\0Wed, 19 Aug 2015 08:11:39 +0000\0"
+ "Date\0Wed, 19 Aug 2015 10:11:39 +0200\0"
  "To\0Peter Teoh <htmldeveloper@gmail.com>\0"
  "Cc\0Tomi Valkeinen <tomi.valkeinen@ti.com>"
   Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
@@ -109,9 +109,9 @@
  ">         if (p->fbops->fb_sync)\n"
  ">                 p->fbops->fb_sync(p);\n"
  "> \n"
- ">         if (image->depth = 1) {\n"
- ">                 if (p->fix.visual = FB_VISUAL_TRUECOLOR ||\n"
- ">                     p->fix.visual = FB_VISUAL_DIRECTCOLOR) {\n"
+ ">         if (image->depth == 1) {\n"
+ ">                 if (p->fix.visual == FB_VISUAL_TRUECOLOR ||\n"
+ ">                     p->fix.visual == FB_VISUAL_DIRECTCOLOR) {\n"
  ">                         fgcolor = ((u32*)(p->pseudo_palette))[image->fg_color];\n"
  ">                         bgcolor = ((u32*)(p->pseudo_palette))[image->bg_color];\n"
  ">                 } else {\n"
@@ -119,8 +119,8 @@
  ">                         bgcolor = image->bg_color;\n"
  ">                 }\n"
  "> \n"
- ">                 if (32 % bpp = 0 && !start_index && !pitch_index &&\n"
- ">                     ((width & (32/bpp-1)) = 0) &&\n"
+ ">                 if (32 % bpp == 0 && !start_index && !pitch_index &&\n"
+ ">                     ((width & (32/bpp-1)) == 0) &&\n"
  ">                     bpp >= 8 && bpp <= 32)\n"
  ">                         fast_imageblit(image, p, dst1, fgcolor, bgcolor);\n"
  ">                 else\n"
@@ -130,7 +130,7 @@
  ">                 color_imageblit(image, p, dst1, start_index, pitch_i\n"
  "> \n"
  "> \n"
- "> Notice that bpp is not checked for zero, and thus bpp=0 is totally\n"
+ "> Notice that bpp is not checked for zero, and thus bpp==0 is totally\n"
  "> feasible?   resulting in 32/bpp crashing the kernel?\n"
  "> \n"
  "\n"
@@ -144,4 +144,4 @@
  "Pali Roh\303\241r\n"
  pali.rohar@gmail.com
 
-23201ae87c889063e16c3e24f95e3feaaa854150df62959d698103762fc47009
+a996e5077d898d9c7ee9748701f38ee2787832a2b8f8a77464ff13cb1758f935

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.