diff options
| author | Tushar Sugandhi <[email protected]> | 2021-08-13 21:37:59 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2021-08-20 20:07:35 +0000 |
| commit | f1cd6cb24b6b3cd95227e8016d092310a4015e96 (patch) | |
| tree | d9b72f7301b9b21ad7702244861783a21d9c84e5 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | dm ima: prefix ima event name related to device mapper with dm_ (diff) | |
| download | kernel-f1cd6cb24b6b3cd95227e8016d092310a4015e96.tar.gz kernel-f1cd6cb24b6b3cd95227e8016d092310a4015e96.zip | |
dm ima: add a warning in dm_init if duplicate ima events are not measured
The end-users of DM devices/targets may remove and re-create the same
device multiple times. IMA does not measure such duplicate events if the
configuration CONFIG_IMA_DISABLE_HTABLE is set to 'n'.
To avoid confusion, the end-users need some indication on the client
if that configuration option is disabled.
Add a one-time warning during dm_init() if CONFIG_IMA_DISABLE_HTABLE
is set to 'n', to notify the end-users that duplicate events will not
be measured in the ima log. Also cleanup some whitespace in dm_init().
Signed-off-by: Tushar Sugandhi <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
