Bug 21192
Summary: | drivers/net/wireless/rt2x00/rt2800lib.c:2367: error: ‘word’ undeclared | ||
---|---|---|---|
Product: | Drivers | Reporter: | jd1008 |
Component: | network-wireless | Assignee: | drivers_network-wireless (drivers_network-wireless) |
Status: | CLOSED INVALID | ||
Severity: | blocking | CC: | linville |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.36-git7 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
jd1008
2010-10-26 15:27:33 UTC
I can't recreate this, and the compile error above doesn't match any version of source I have. Perhaps the patch didn't apply correctly for some reason? The patch applied without any errors or rejects. Also, perhaps in your build config, you do not include the rt2XXXX wifi drivers?? I simply added the declaration u16 word in the function rt2800_init_bbp and recompiled and all went well. The thing is, there are no references to "word" in rt2800_init_bbp -- at least not in any version of the source I have. I assure you that I built the file in question. Perhaps you could attach your .config? Please close as user error. I had forgotten that I had previously applied patch bz17501-2.6.35.patch, then applied git7 patch. I re-did these steps, and this time I saved stdout and stderr into a file, (my scrollback buffer is not that big). I checked the output file and indeed there were rejects due to the fact that I had applied bz17501-2.6.35.patch. I started out with a pristine 2.6.36, applied the git7 patch and all is well. I am a bit amazed that in my goofup, the absence of the declaration of "word" was the only compilation error. How lucky (or unlucky) can one get? Hey, it happens. :-) The beauty of diff/patch is that it automates editing even with intervening changes in the target file. The downside is that it can do some surprising things from time to time! |