Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/staging/ath6kl/miscdrv
Julia Lawall 193634ce77 drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.c: adjust array index
Convert array index from the loop bound to the loop index.

A simplified version of the semantic patch that fixes this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression e1,e2,ar;
@@

for(e1 = 0; e1 < e2; e1++) { <...
  ar[
- e2
+ e1
  ]
  ...> }
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-02 16:10:18 -07:00
..
ar3kps drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsparser.c: adjust array index 2011-08-02 16:10:18 -07:00
ar3kconfig.c ath6kl: Replace data type macros with kernel defined ones 2011-05-03 12:29:58 -07:00
common_drv.c ath6kl: Remove ununsed macros from gpio_reg.h 2011-05-06 09:31:55 -07:00
credit_dist.c ath6kl: Replace data type macros with kernel defined ones 2011-05-03 12:29:58 -07:00
miscdrv.h staging: ath6kl: Convert A_UINT32 to u32 2011-02-02 14:34:50 -08:00