mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 16:37:50 +00:00
s390/scm_block: fix printk format string
Use hex digits when referring to scm addresses. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
6c43a51961
commit
3bff6038f1
2 changed files with 3 additions and 3 deletions
|
@ -307,7 +307,7 @@ static void scm_blk_handle_error(struct scm_request *scmrq)
|
||||||
case EQC_WR_PROHIBIT:
|
case EQC_WR_PROHIBIT:
|
||||||
spin_lock_irqsave(&bdev->lock, flags);
|
spin_lock_irqsave(&bdev->lock, flags);
|
||||||
if (bdev->state != SCM_WR_PROHIBIT)
|
if (bdev->state != SCM_WR_PROHIBIT)
|
||||||
pr_info("%lu: Write access to the SCM increment is suspended\n",
|
pr_info("%lx: Write access to the SCM increment is suspended\n",
|
||||||
(unsigned long) bdev->scmdev->address);
|
(unsigned long) bdev->scmdev->address);
|
||||||
bdev->state = SCM_WR_PROHIBIT;
|
bdev->state = SCM_WR_PROHIBIT;
|
||||||
spin_unlock_irqrestore(&bdev->lock, flags);
|
spin_unlock_irqrestore(&bdev->lock, flags);
|
||||||
|
@ -445,7 +445,7 @@ void scm_blk_set_available(struct scm_blk_dev *bdev)
|
||||||
|
|
||||||
spin_lock_irqsave(&bdev->lock, flags);
|
spin_lock_irqsave(&bdev->lock, flags);
|
||||||
if (bdev->state == SCM_WR_PROHIBIT)
|
if (bdev->state == SCM_WR_PROHIBIT)
|
||||||
pr_info("%lu: Write access to the SCM increment is restored\n",
|
pr_info("%lx: Write access to the SCM increment is restored\n",
|
||||||
(unsigned long) bdev->scmdev->address);
|
(unsigned long) bdev->scmdev->address);
|
||||||
bdev->state = SCM_OPER;
|
bdev->state = SCM_OPER;
|
||||||
spin_unlock_irqrestore(&bdev->lock, flags);
|
spin_unlock_irqrestore(&bdev->lock, flags);
|
||||||
|
|
|
@ -19,7 +19,7 @@ static void scm_notify(struct scm_device *scmdev, enum scm_event event)
|
||||||
|
|
||||||
switch (event) {
|
switch (event) {
|
||||||
case SCM_CHANGE:
|
case SCM_CHANGE:
|
||||||
pr_info("%lu: The capabilities of the SCM increment changed\n",
|
pr_info("%lx: The capabilities of the SCM increment changed\n",
|
||||||
(unsigned long) scmdev->address);
|
(unsigned long) scmdev->address);
|
||||||
SCM_LOG(2, "State changed");
|
SCM_LOG(2, "State changed");
|
||||||
SCM_LOG_STATE(2, scmdev);
|
SCM_LOG_STATE(2, scmdev);
|
||||||
|
|
Loading…
Reference in a new issue