All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20100514144824.GB17487@bicker>

diff --git a/a/1.txt b/N1/1.txt
index 2c1686e..21de1a8 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,4 +1,4 @@
-Smatch complains that if (dev == SNDRV_CARDS) we're one past the end of
+Smatch complains that if (dev = SNDRV_CARDS) we're one past the end of
 the array.  That's unlikely to happen in real life, I suppose.
 
 Also smatch complains about "strcpy(card->shortname, pcm->name);"
@@ -27,13 +27,13 @@ index fdcce31..0cde813 100644
 +		"%s at 0x%lx, irq %i, dma %i", pcm->name, chip->port,
 +		 chip->irq, chip->dma8);
  
- 	if (fm_port[n] == SNDRV_AUTO_PORT)
+ 	if (fm_port[n] = SNDRV_AUTO_PORT)
  		fm_port[n] = port[n];	/* share the same port */
 @@ -271,6 +272,8 @@ static int __devinit snd_es968_pnp_detect(struct pnp_card_link *pcard,
  		if (enable[dev] && isapnp[dev])
  			break;
  	}
-+	if (dev == SNDRV_CARDS)
++	if (dev = SNDRV_CARDS)
 +		return -ENODEV;
  
  	error = snd_card_create(index[dev], id[dev], THIS_MODULE,
diff --git a/a/content_digest b/N1/content_digest
index 51ec81f..0b45e00 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Dan Carpenter <error27@gmail.com>\0"
  "Subject\0[patch -next] sound/es1688: add pedantic range checks\0"
- "Date\0Fri, 14 May 2010 16:48:28 +0200\0"
+ "Date\0Fri, 14 May 2010 14:48:28 +0000\0"
  "To\0Jaroslav Kysela <perex@perex.cz>\0"
  "Cc\0Takashi Iwai <tiwai@suse.de>"
   Jean Delvare <khali@linux-fr.org>
@@ -9,7 +9,7 @@
  " alsa-devel@alsa-project.org\0"
  "\00:1\0"
  "b\0"
- "Smatch complains that if (dev == SNDRV_CARDS) we're one past the end of\n"
+ "Smatch complains that if (dev = SNDRV_CARDS) we're one past the end of\n"
  "the array.  That's unlikely to happen in real life, I suppose.\n"
  "\n"
  "Also smatch complains about \"strcpy(card->shortname, pcm->name);\"\n"
@@ -38,16 +38,16 @@
  "+\t\t\"%s at 0x%lx, irq %i, dma %i\", pcm->name, chip->port,\n"
  "+\t\t chip->irq, chip->dma8);\n"
  " \n"
- " \tif (fm_port[n] == SNDRV_AUTO_PORT)\n"
+ " \tif (fm_port[n] = SNDRV_AUTO_PORT)\n"
  " \t\tfm_port[n] = port[n];\t/* share the same port */\n"
  "@@ -271,6 +272,8 @@ static int __devinit snd_es968_pnp_detect(struct pnp_card_link *pcard,\n"
  " \t\tif (enable[dev] && isapnp[dev])\n"
  " \t\t\tbreak;\n"
  " \t}\n"
- "+\tif (dev == SNDRV_CARDS)\n"
+ "+\tif (dev = SNDRV_CARDS)\n"
  "+\t\treturn -ENODEV;\n"
  " \n"
  " \terror = snd_card_create(index[dev], id[dev], THIS_MODULE,\n"
  " \t\t\t\tsizeof(struct snd_es1688), &card);"
 
-377d250a7eb00bdc567dc14465d33db505f0903737339075ebede2c887d9bcae
+4b018f9fa56830847451f0459dac961fff513dfe7962658b1d5d5e6805fdf44f

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.