Skip to contentSkip to conversation

modpost: Fix typo

PATCH Applied Brian Gerst 2 participants 3 messages Jan 8, 2006 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 modpost: Fix typo

SND_MAX should be FF_MAX

---
commit 71bc7fe59ac4b225d6279af4f45affbc5f2eec1b
tree d1789dd69878466807dc3612dc8643c8102bbcda
parent 12a9d2c317f6447caa5c5ccd553780516369f701
author Brian Gerst <[email protected]> Sun, 08 Jan 2006 10:52:26 -0500 committer Brian Gerst <[email protected]> Sun, 08 Jan 2006 10:52:26 -0500

 scripts/mod/file2alias.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/mod/file2alias.c +1 -1
index e0eedff..be97caf 100644
@@ -417,7 +417,7 @@ static int do_input_entry(const char *fi
 		do_input(alias, id->sndbit, 0, SND_MAX);
 	sprintf(alias + strlen(alias), "f*");
 	if (id->flags&INPUT_DEVICE_ID_MATCH_FFBIT)
-		do_input(alias, id->ffbit, 0, SND_MAX);
+		do_input(alias, id->ffbit, 0, FF_MAX);
 	sprintf(alias + strlen(alias), "w*");
 	if (id->flags&INPUT_DEVICE_ID_MATCH_SWBIT)
 		do_input(alias, id->swbit, 0, SW_MAX);
Applied
#1 lore raw
Quoted 3 lines · Brian Gerst

SND_MAX should be FF_MAX

Applied, though I have not found a way to actually check this one is correct.

Sam

Quoted 26 lines

---
commit 71bc7fe59ac4b225d6279af4f45affbc5f2eec1b
tree d1789dd69878466807dc3612dc8643c8102bbcda
parent 12a9d2c317f6447caa5c5ccd553780516369f701
author Brian Gerst <[email protected]> Sun, 08 Jan 2006 10:52:26 -0500 committer Brian Gerst <[email protected]> Sun, 08 Jan 2006 10:52:26 -0500

 scripts/mod/file2alias.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/mod/file2alias.c +1 -1
index e0eedff..be97caf 100644
@@ -417,7 +417,7 @@ static int do_input_entry(const char *fi
 		do_input(alias, id->sndbit, 0, SND_MAX);
 	sprintf(alias + strlen(alias), "f*");
 	if (id->flags&INPUT_DEVICE_ID_MATCH_FFBIT)
-		do_input(alias, id->ffbit, 0, SND_MAX);
+		do_input(alias, id->ffbit, 0, FF_MAX);
 	sprintf(alias + strlen(alias), "w*");
 	if (id->flags&INPUT_DEVICE_ID_MATCH_SWBIT)
 		do_input(alias, id->swbit, 0, SW_MAX);
#2 lore raw
Quoted 8 lines · Sam Ravnborg
Quoted 3 lines · Brian Gerst

SND_MAX should be FF_MAX

Applied, though I have not found a way to actually check this one is correct.

id->ffbit is defined as kernel_ulong_t ffbit[FF_MAX/BITS_PER_LONG+1]

--
Brian Gerst