Public bug reported:

[Impact]

 * There is a typo in ERRMSG of function show_mem_usage affecting Xenial
and Zesty AND Debian.

    This should be "show_mem_usage: No memory is reserved for crashkernel!" 
instead of :
    "show_mem_usage: No memory is reserved for crashkenrel!"

[Test Case]

 * Take a system with no crashkernel memory reservation set
 * run command : makedumpfile --mem-usage /proc/kcore

 * Error message :
show_mem_usage: No memory is reserved for crashkenrel!

[Regression Potential]

 * No regression, it is a trivial change with no behavioural change.

[Other Info]

The typo is located here in src code for Xenial and Zesty (devel
release) AND Debian:

# filename : makedumpfile.c
10447 int show_mem_usage(void)
10448 {
10449         uint64_t vmcoreinfo_addr, vmcoreinfo_len;
10450         struct cycle cycle = {0};
10451
10452         if (!is_crashkernel_mem_reserved()) {
10453                 ERRMSG("No memory is reserved for crashkenrel!\n");
10454                 return FALSE;
10455         }

** Affects: makedumpfile (Ubuntu)
     Importance: Low
     Assignee: Eric Desrochers (slashd)
         Status: New

** Changed in: makedumpfile (Ubuntu)
   Importance: Undecided => Low

** Changed in: makedumpfile (Ubuntu)
     Assignee: (unassigned) => Eric Desrochers (slashd)

** Description changed:

  [Impact]
  
-  * There is a typo in ERRMSG of function show_mem_usage affecting Xenial and 
Zesty.
-    
-     This should be "show_mem_usage: No memory is reserved for crashkernel!" 
instead of :
-     "show_mem_usage: No memory is reserved for crashkenrel!"
+  * There is a typo in ERRMSG of function show_mem_usage affecting Xenial
+ and Zesty AND Debian.
+ 
+     This should be "show_mem_usage: No memory is reserved for crashkernel!" 
instead of :
+     "show_mem_usage: No memory is reserved for crashkenrel!"
  
  [Test Case]
  
-  * Take a system with no crashkernel memory reservation set
-  * run command : makedumpfile --mem-usage /proc/kcore
+  * Take a system with no crashkernel memory reservation set
+  * run command : makedumpfile --mem-usage /proc/kcore
  
-  * Error message :
+  * Error message :
  show_mem_usage: No memory is reserved for crashkenrel!
  
+ [Regression Potential]
  
- [Regression Potential] 
- 
-  * No regression, it is a trivial change with no behavioural change.
+  * No regression, it is a trivial change with no behavioural change.
  
  [Other Info]
  
  The typo is located here in src code for Xenial and Zesty (devel
- release) :
+ release) AND Debian:
  
  # filename : makedumpfile.c
  10447 int show_mem_usage(void)
  10448 {
  10449         uint64_t vmcoreinfo_addr, vmcoreinfo_len;
  10450         struct cycle cycle = {0};
- 10451 
+ 10451
  10452         if (!is_crashkernel_mem_reserved()) {
  10453                 ERRMSG("No memory is reserved for crashkenrel!\n");
  10454                 return FALSE;
  10455         }

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to makedumpfile in Ubuntu.
https://bugs.launchpad.net/bugs/1670696

Title:
  Error msg typo when no crashkernel memory reservation

Status in makedumpfile package in Ubuntu:
  New

Bug description:
  [Impact]

   * There is a typo in ERRMSG of function show_mem_usage affecting
  Xenial and Zesty AND Debian.

      This should be "show_mem_usage: No memory is reserved for crashkernel!" 
instead of :
      "show_mem_usage: No memory is reserved for crashkenrel!"

  [Test Case]

   * Take a system with no crashkernel memory reservation set
   * run command : makedumpfile --mem-usage /proc/kcore

   * Error message :
  show_mem_usage: No memory is reserved for crashkenrel!

  [Regression Potential]

   * No regression, it is a trivial change with no behavioural change.

  [Other Info]

  The typo is located here in src code for Xenial and Zesty (devel
  release) AND Debian:

  # filename : makedumpfile.c
  10447 int show_mem_usage(void)
  10448 {
  10449         uint64_t vmcoreinfo_addr, vmcoreinfo_len;
  10450         struct cycle cycle = {0};
  10451
  10452         if (!is_crashkernel_mem_reserved()) {
  10453                 ERRMSG("No memory is reserved for crashkenrel!\n");
  10454                 return FALSE;
  10455         }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1670696/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to