Commit 83ffb38
Dan Carpenter
struct_assignment: fix returns_zeroed_mem() for fake assignments
If you have a struct within a struct like "foo.bar.baz" then an assignment
gets translated into a series of fake assignments:
foo.bar = fake assign();
The returns_zeroed_mem() doesn't says "fake assign();" does not return
zeroed mem, but it should instead look at the kzalloc() that is being
faked.
Signed-off-by: Dan Carpenter <[email protected]>1 parent 5e24569 commit 83ffb38
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| 310 | + | |
310 | 311 | | |
311 | 312 | | |
312 | 313 | | |
313 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
314 | 325 | | |
315 | 326 | | |
316 | 327 | | |
| |||
0 commit comments