diff options
author | Maxin B John <[email protected]> | 2011-07-25 17:12:59 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-07-25 20:57:14 -0700 |
commit | ae891a1b93bf62e9aaa116a7a71312375047fc9f (patch) | |
tree | 83e821e818654da3e3443ecddd757665251db6e0 /net/lapb/lapb_subr.c | |
parent | 5190f0c030f46b3169205f34f6d9ef480fa39ef2 (diff) |
devres: fix possible use after free
devres uses the pointer value as key after it's freed, which is safe but
triggers spurious use-after-free warnings on some static analysis tools.
Rearrange code to avoid such warnings.
Signed-off-by: Maxin B. John <[email protected]>
Reviewed-by: Rolf Eike Beer <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions