mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-10 15:58:13 -04:00
s390/cpum_sf: Fix format string in pr_err()
Fix format string in pr_err() and use the built-in hexadecimal prefix %#x to display a number with a leading hexadecimal indicator 0x. No functional change. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Reviewed-by: Sumanth Korikkar <sumanthk@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
committed by
Heiko Carstens
parent
f2e9d46ac6
commit
0c25132396
@@ -1981,7 +1981,7 @@ static void cpumf_measurement_alert(struct ext_code ext_code,
|
||||
|
||||
/* Invalid sampling buffer entry */
|
||||
if (alert & (CPU_MF_INT_SF_IAE|CPU_MF_INT_SF_ISE)) {
|
||||
pr_err("A sampling buffer entry is incorrect (alert=0x%x)\n",
|
||||
pr_err("A sampling buffer entry is incorrect (alert=%#x)\n",
|
||||
alert);
|
||||
cpuhw->flags |= PMU_F_ERR_IBE;
|
||||
sf_disable();
|
||||
|
||||
Reference in New Issue
Block a user