diff options
| author | Aishwarya Pant <[email protected]> | 2017-03-01 23:54:01 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-06 13:57:17 +0100 |
| commit | 36b4894e4a03293f20a7e34e20336f2f05b546d1 (patch) | |
| tree | 20c9dceb7223a14d2e98a9c9332c9dfbe299aa40 /tools/perf/scripts/python | |
| parent | 16255382204b92fd7b657e01469442e4be8d0082 (diff) | |
staging: bcm2835-camera: prefer allocating memory using sizeof(*ptr) instead of sizeof(struct type name)
Using sizeof(*ptr) instead of sizeof(struct type name) is more robust to
errors.
Signed-off-by: Aishwarya Pant <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions