commit | 055a1eda5fe143fdb8137cfd6eee39c9b58fe72d | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Fri Oct 08 14:56:04 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Oct 08 07:29:55 2010 -0700 |
tree | bdc4021878e019cb5b6da226d6c377540e2f58e3 | |
parent | 785698e38dcd01cd15dacbf0cf1309a04b1e3208 [diff] |
Staging: bcm: mocro expansion bug The WIMAX_MAX_MTU macro is used in drivers/staging/bcm/CmHost.c like this: if (Adapter->PackInfo[uiSearchRuleIndex].uiMaxBucketSize < WIMAX_MAX_MTU * 8) The multiplication by eight has precedence over the addition so the macro needs parenthesis to work. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>