diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2014-01-22 18:41:04 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2014-01-22 18:48:19 +0100 |
commit | 139f77a7efd40d2eb2a4a8b2d8041b80dd3965b8 (patch) | |
tree | 125e88e64aa6f6ab96cbcbad0a206c081c6458b5 /fs/fs_struct.c | |
parent | 1d3625dd9903bcc59e2df56836565ebb682948c1 (diff) |
Check null pointers for sysfs calls
When grepping through sysfs, grep tries to read all sysfs files
which are available. Some of them lead to error due to null pointers.
Therefor check for null pointers before using them.
Diffstat (limited to 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions