[bug report] mm,hwpoison: refactor get_any_page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Oscar Salvador,

The patch 8295d535e2aa: "mm,hwpoison: refactor get_any_page" from Dec
14, 2020, leads to the following static checker warning:

	mm/memory-failure.c:1943 soft_offline_page()
	error: '%pG' must be followed by one of [gpv]

mm/memory-failure.c
  1933          put_online_mems();
  1934  
  1935          if (ret > 0) {
  1936                  ret = soft_offline_in_use_page(page);
  1937          } else if (ret == 0) {
  1938                  if (soft_offline_free_page(page) && try_again) {
  1939                          try_again = false;
  1940                          goto retry;
  1941                  }
  1942          } else if (ret == -EIO) {
  1943                  pr_info("%s: %#lx: unknown page type: %lx (%pGP)\n",
                                                                   ^^^^
Presumably lower case 'p' was intended.  "%pGp".  See the flags_string()
function for more details.

  1944                           __func__, pfn, page->flags, &page->flags);
  1945          }
  1946  
  1947          return ret;
  1948  }

regards,
dan carpenter




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux