Skip to content

Commit

Permalink
Remove error raised when LimitDevAccess cannot be found in Driver Con…
Browse files Browse the repository at this point in the history
…fig File.

When this occurs it should just print a warning if warnings are enabled as it is
still valid to continue using a default value.

Change-Id: Iccdb0cc14ce3fcc9e059f04df8b875df3b03d9bc
Signed-off-by: Steve Linsell <stevenx.linsell@intel.com>
  • Loading branch information
stevelinsell committed Apr 3, 2017
1 parent e0eab06 commit cdae8c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion e_qat.c
Expand Up @@ -977,7 +977,6 @@ static int qat_engine_init(ENGINE *e)
if (!checkLimitDevAccessValue((int *)&limitDevAccess,
ICPConfigSectionName_libcrypto)) {
WARN("Could not load driver config file. Assuming LimitDevAccess = 0\n");
QATerr(QAT_F_QAT_ENGINE_INIT, QAT_R_LOAD_CONFIG_FILE_FAILURE);
}
#endif

Expand Down

0 comments on commit cdae8c4

Please sign in to comment.