audio/, crypto/, libnx/, and mm/: Change some err() ERRORS to warn() WARNINGS or info()

This commit is contained in:
Gregory Nutt
2016-06-12 09:46:23 -06:00
parent 0665c7e06c
commit b29a4dd49c
23 changed files with 74 additions and 65 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ int up_cryptoinitialize(void)
res = crypto_test();
if (res)
{
cryptllerr("crypto test failed\n");
cryptllerr("ERROR: crypto test failed\n");
}
else
{
+2 -2
View File
@@ -86,7 +86,7 @@ static int do_test_aes(FAR struct cipher_testvec *test, int mode, int encrypt)
#define AES_CYPHER_TEST_ENCRYPT(mode, mode_str, count, template) \
for (i = 0; i < count; i++) { \
if (do_test_aes(template + i, mode, CYPHER_ENCRYPT)) { \
cryptllerr("Failed " mode_str " encrypt test #%i\n", i); \
cryptllerr("ERROR: Failed " mode_str " encrypt test #%i\n", i); \
return -1; \
} \
}
@@ -94,7 +94,7 @@ static int do_test_aes(FAR struct cipher_testvec *test, int mode, int encrypt)
#define AES_CYPHER_TEST_DECRYPT(mode, mode_str, count, template) \
for (i = 0; i < count; i++) { \
if (do_test_aes(template + i, mode, CYPHER_DECRYPT)) { \
cryptllerr("Failed " mode_str " decrypt test #%i\n", i); \
cryptllerr("ERROR: Failed " mode_str " decrypt test #%i\n", i); \
return -1; \
} \
}