All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20141127104231.GA5500@wrath>

diff --git a/a/1.txt b/N1/1.txt
index fdd7fd3..676c18c 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -47,10 +47,12 @@ f(...) {
 - int xname;
 <...
 (
-  x - 1;
+  x =
+- 1;
 + true;
 |
-  x - -1;
+  x =
+- -1;
 + false;
 )
 ...>
@@ -96,8 +98,8 @@ index e5d11b1..5884846 100644
  	u32 pixclock;
  
 @@ -1228,7 +1230,7 @@ sisfb_do_set_var(struct fb_var_screeninfo *var, int isactive, struct fb_info *in
- 		    (sisbios_mode[ivideo->sisfb_mode_idx].yres = var->yres) &&
- 		    (sisbios_mode[ivideo->sisfb_mode_idx].bpp = var->bits_per_pixel)) {
+ 		    (sisbios_mode[ivideo->sisfb_mode_idx].yres == var->yres) &&
+ 		    (sisbios_mode[ivideo->sisfb_mode_idx].bpp == var->bits_per_pixel)) {
  			ivideo->mode_no = sisbios_mode[ivideo->sisfb_mode_idx].mode_no[ivideo->mni];
 -			found_mode = 1;
 +			found_mode = true;
@@ -114,7 +116,7 @@ index e5d11b1..5884846 100644
  	bool recalc_clock = false;
  	u32 pixclock;
 @@ -1466,7 +1468,7 @@ sisfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
- 		    (sisbios_mode[search_idx].bpp = var->bits_per_pixel)) {
+ 		    (sisbios_mode[search_idx].bpp == var->bits_per_pixel)) {
  			if((tidx = sisfb_validate_mode(ivideo, search_idx,
  						ivideo->currentvbflags)) > 0) {
 -				found_mode = 1;
@@ -123,7 +125,7 @@ index e5d11b1..5884846 100644
  				break;
  			}
 @@ -1482,7 +1484,7 @@ sisfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
- 		       (var->bits_per_pixel = sisbios_mode[search_idx].bpp) ) {
+ 		       (var->bits_per_pixel == sisbios_mode[search_idx].bpp) ) {
  			if((tidx = sisfb_validate_mode(ivideo,search_idx,
  						ivideo->currentvbflags)) > 0) {
 -				found_mode = 1;
@@ -159,7 +161,7 @@ index e5d11b1..5884846 100644
  	poh_freed = memheap->oh_used.poh_next;
  
  	while(poh_freed != &memheap->oh_used) {
- 		if(poh_freed->offset = base) {
+ 		if(poh_freed->offset == base) {
 -			foundNode = 1;
 +			foundNode = true;
  			break;
@@ -235,7 +237,7 @@ index e5d11b1..5884846 100644
 @@ -4275,10 +4277,10 @@ static int sisfb_post_300_rwtest(struct sis_video_info *ivideo, int iteration,
  
  		/* Read data */
- 		if(readw(FBAddr + BankNumHigh + PhysicalAdrHigh) = PhysicalAdrHigh)
+ 		if(readw(FBAddr + BankNumHigh + PhysicalAdrHigh) == PhysicalAdrHigh)
 -			return 1;
 +			return true;
  	}
@@ -261,7 +263,7 @@ index e5d11b1..5884846 100644
  
  	while((pdev = pci_get_class(PCI_CLASS_BRIDGE_HOST, pdev))) {
  		temp = pdev->vendor;
- 		if(temp = pcivendor) {
+ 		if(temp == pcivendor) {
 -			ret = 1;
 +			ret = true;
  			pci_dev_put(pdev);
diff --git a/a/content_digest b/N1/content_digest
index 25ec233..0462adb 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Quentin Lambert <lambert.quentin@gmail.com>\0"
  "Subject\0[PATCH] video: fbdev: sis: sis_main.c: converting relevant int to bool\0"
- "Date\0Thu, 27 Nov 2014 10:42:31 +0000\0"
+ "Date\0Thu, 27 Nov 2014 11:42:31 +0100\0"
  "To\0Thomas Winischhofer <thomas@winischhofer.net>\0"
  "Cc\0Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>"
   Tomi Valkeinen <tomi.valkeinen@ti.com>
@@ -57,10 +57,12 @@
  "- int xname;\n"
  "<...\n"
  "(\n"
- "  x - 1;\n"
+ "  x =\n"
+ "- 1;\n"
  "+ true;\n"
  "|\n"
- "  x - -1;\n"
+ "  x =\n"
+ "- -1;\n"
  "+ false;\n"
  ")\n"
  "...>\n"
@@ -106,8 +108,8 @@
  " \tu32 pixclock;\n"
  " \n"
  "@@ -1228,7 +1230,7 @@ sisfb_do_set_var(struct fb_var_screeninfo *var, int isactive, struct fb_info *in\n"
- " \t\t    (sisbios_mode[ivideo->sisfb_mode_idx].yres = var->yres) &&\n"
- " \t\t    (sisbios_mode[ivideo->sisfb_mode_idx].bpp = var->bits_per_pixel)) {\n"
+ " \t\t    (sisbios_mode[ivideo->sisfb_mode_idx].yres == var->yres) &&\n"
+ " \t\t    (sisbios_mode[ivideo->sisfb_mode_idx].bpp == var->bits_per_pixel)) {\n"
  " \t\t\tivideo->mode_no = sisbios_mode[ivideo->sisfb_mode_idx].mode_no[ivideo->mni];\n"
  "-\t\t\tfound_mode = 1;\n"
  "+\t\t\tfound_mode = true;\n"
@@ -124,7 +126,7 @@
  " \tbool recalc_clock = false;\n"
  " \tu32 pixclock;\n"
  "@@ -1466,7 +1468,7 @@ sisfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)\n"
- " \t\t    (sisbios_mode[search_idx].bpp = var->bits_per_pixel)) {\n"
+ " \t\t    (sisbios_mode[search_idx].bpp == var->bits_per_pixel)) {\n"
  " \t\t\tif((tidx = sisfb_validate_mode(ivideo, search_idx,\n"
  " \t\t\t\t\t\tivideo->currentvbflags)) > 0) {\n"
  "-\t\t\t\tfound_mode = 1;\n"
@@ -133,7 +135,7 @@
  " \t\t\t\tbreak;\n"
  " \t\t\t}\n"
  "@@ -1482,7 +1484,7 @@ sisfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)\n"
- " \t\t       (var->bits_per_pixel = sisbios_mode[search_idx].bpp) ) {\n"
+ " \t\t       (var->bits_per_pixel == sisbios_mode[search_idx].bpp) ) {\n"
  " \t\t\tif((tidx = sisfb_validate_mode(ivideo,search_idx,\n"
  " \t\t\t\t\t\tivideo->currentvbflags)) > 0) {\n"
  "-\t\t\t\tfound_mode = 1;\n"
@@ -169,7 +171,7 @@
  " \tpoh_freed = memheap->oh_used.poh_next;\n"
  " \n"
  " \twhile(poh_freed != &memheap->oh_used) {\n"
- " \t\tif(poh_freed->offset = base) {\n"
+ " \t\tif(poh_freed->offset == base) {\n"
  "-\t\t\tfoundNode = 1;\n"
  "+\t\t\tfoundNode = true;\n"
  " \t\t\tbreak;\n"
@@ -245,7 +247,7 @@
  "@@ -4275,10 +4277,10 @@ static int sisfb_post_300_rwtest(struct sis_video_info *ivideo, int iteration,\n"
  " \n"
  " \t\t/* Read data */\n"
- " \t\tif(readw(FBAddr + BankNumHigh + PhysicalAdrHigh) = PhysicalAdrHigh)\n"
+ " \t\tif(readw(FBAddr + BankNumHigh + PhysicalAdrHigh) == PhysicalAdrHigh)\n"
  "-\t\t\treturn 1;\n"
  "+\t\t\treturn true;\n"
  " \t}\n"
@@ -271,7 +273,7 @@
  " \n"
  " \twhile((pdev = pci_get_class(PCI_CLASS_BRIDGE_HOST, pdev))) {\n"
  " \t\ttemp = pdev->vendor;\n"
- " \t\tif(temp = pcivendor) {\n"
+ " \t\tif(temp == pcivendor) {\n"
  "-\t\t\tret = 1;\n"
  "+\t\t\tret = true;\n"
  " \t\t\tpci_dev_put(pdev);\n"
@@ -312,4 +314,4 @@
  "-- \n"
  1.9.1
 
-d3725d6800787bc6f42c706078ddb29cb8c66a9abc66d0f9050782672a9cfde7
+7cfd6dafbf7563738dbe4fa792c1c6abcd081bc1e3e147c3e49faf41a86ed531

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.