diff for duplicates of <20140123082128.GA28688@elgon.mountain> diff --git a/a/1.txt b/N1/1.txt index 472c8a9..27501c4 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -14,7 +14,7 @@ index 1351f22f651c..e9e3db321e64 100644 @@ -183,7 +183,7 @@ int snd_card_create(int idx, const char *xid, if (idx < 0) { for (idx2 = 0; idx2 < SNDRV_CARDS; idx2++) { - /* idx == -1 == 0xffff means: take any free slot */ + /* idx = -1 = 0xffff means: take any free slot */ - if (idx2 < sizeof(int) && !(idx & (1U << idx2))) + if (idx2 < 32 && !(idx & (1U << idx2))) continue; diff --git a/a/content_digest b/N1/content_digest index b26d607..074365c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] ALSA: bits vs bytes bug in snd_card_create()\0" - "Date\0Thu, 23 Jan 2014 11:21:28 +0300\0" + "Date\0Thu, 23 Jan 2014 08:21:28 +0000\0" "To\0Jaroslav Kysela <perex@perex.cz>\0" "Cc\0Takashi Iwai <tiwai@suse.de>" Yacine Belkadi <yacine.belkadi.1@gmail.com> @@ -24,11 +24,11 @@ "@@ -183,7 +183,7 @@ int snd_card_create(int idx, const char *xid,\n" " \tif (idx < 0) {\n" " \t\tfor (idx2 = 0; idx2 < SNDRV_CARDS; idx2++) {\n" - " \t\t\t/* idx == -1 == 0xffff means: take any free slot */\n" + " \t\t\t/* idx = -1 = 0xffff means: take any free slot */\n" "-\t\t\tif (idx2 < sizeof(int) && !(idx & (1U << idx2)))\n" "+\t\t\tif (idx2 < 32 && !(idx & (1U << idx2)))\n" " \t\t\t\tcontinue;\n" " \t\t\tif (!test_bit(idx2, snd_cards_lock)) {\n" " \t\t\t\tif (!slots[idx2] || !*slots[idx2]) {" -0ce5ede158b2e6960ffc10db4ba314085ce57f535fd323305666f273db001038 +69c6e6f23974137f43a28922c82b7811237206ee75b144a45d6f4c7b1d7b9f52
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.