Skip to content

Commit

Permalink
Increase log buffer shift and add pr_alert when last_kmsg is not init…
Browse files Browse the repository at this point in the history
…ialized
  • Loading branch information
javilonas committed May 15, 2015
1 parent e85b857 commit 0b66824
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/configs/apq8084_sec_defconfig
Expand Up @@ -730,7 +730,7 @@ CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=n
CONFIG_CRYPTO_ANSI_CPRNG=y
CONFIG_CRYPTO_FIPS=y
CONFIG_CRYPTO_SHA512=y
CONFIG_LOG_BUF_SHIFT=18
CONFIG_LOG_BUF_SHIFT=20
#jh43.jung FIPS Cerified code merge - end
CONFIG_SEC_NET_FILTER=y
CONFIG_ARM_ERRATA_754327=y
Expand Down
Empty file modified include/uapi/linux/nfc/pn544.h 100755 → 100644
Empty file.
3 changes: 3 additions & 0 deletions kernel/printk.c
Expand Up @@ -1935,7 +1935,10 @@ static int __init seclog_late_init(void)
struct proc_dir_entry *entry;

if (!sec_log_buf)
{
pr_alert("LAST_KMSG DID NOT INITIALIZE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n");
return 0;
}

/* The reason we are using the file name "last_kmsg" is only
* because the dumpstate app is dumping this file.
Expand Down

0 comments on commit 0b66824

Please sign in to comment.