diff options
| author | Igor Nabirushkin <inabirushkin@nvidia.com> | 2018-03-30 02:27:53 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-03-30 16:46:41 -0400 |
| commit | 22f214a65cf48d10e84392f03d630366bb6a2df7 (patch) | |
| tree | 18ee5580168ed8aa1e17a937867482e71182cf44 /include | |
| parent | a6e1234a27c8d47d5dd751ccb289f6cff601d81c (diff) | |
misc: eventlib: fix uninitialized .read callback
Fix uninitialized .read callback for "events" sysfs files.
This prevents possible error in kernfs_fop_read:
Call trace:
[<000003e800001b58>] 0x3e800001b58
[<ffffffc000239fc8>] kernfs_fop_read+0xc0/0x16c
[<ffffffc0001d0354>] __vfs_read+0x30/0xdc
[<ffffffc0001d0970>] vfs_read+0x80/0x14c
[<ffffffc0001d14b0>] SyS_read+0x44/0x88
[<ffffffc0000847f0>] el0_svc_naked+0x24/0x28
Bug 200384956
Change-Id: I3112803f9f7b070c57bf4d9dc9190d4605a440f1
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1685086
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dmitry Antipov <dantipov@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
