powerpc: Use pr_warn instead of pr_warning
At some point, pr_warning will be removed so all logging messages use a consistent <prefix>_warn style. Update arch/powerpc/ Miscellanea: o Coalesce formats o Realign arguments o Use %s, __func__ instead of embedded function names o Remove unnecessary line continuations Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Geoff Levand <geoff@infradead.org> [mpe: Rebase due to some %pOF changes.] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

szülő
ae64f9bd1d
commit
f2c2cbcc35
@@ -663,8 +663,8 @@ static void ps3_find_and_add_device(u64 bus_id, u64 dev_id)
|
||||
if (rem)
|
||||
break;
|
||||
}
|
||||
pr_warning("%s:%u: device %llu:%llu not found\n", __func__, __LINE__,
|
||||
bus_id, dev_id);
|
||||
pr_warn("%s:%u: device %llu:%llu not found\n",
|
||||
__func__, __LINE__, bus_id, dev_id);
|
||||
return;
|
||||
|
||||
found:
|
||||
@@ -859,11 +859,9 @@ static int ps3_probe_thread(void *data)
|
||||
|
||||
if (notify_event->event_type != notify_region_probe ||
|
||||
notify_event->bus_id != dev.sbd.bus_id) {
|
||||
pr_warning("%s:%u: bad notify_event: event %llu, "
|
||||
"dev_id %llu, dev_type %llu\n",
|
||||
__func__, __LINE__, notify_event->event_type,
|
||||
notify_event->dev_id,
|
||||
notify_event->dev_type);
|
||||
pr_warn("%s:%u: bad notify_event: event %llu, dev_id %llu, dev_type %llu\n",
|
||||
__func__, __LINE__, notify_event->event_type,
|
||||
notify_event->dev_id, notify_event->dev_type);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@@ -607,8 +607,8 @@ static int dma_ioc0_map_pages(struct ps3_dma_region *r, unsigned long phys_addr,
|
||||
r->ioid,
|
||||
iopte_flag);
|
||||
if (result) {
|
||||
pr_warning("%s:%d: lv1_put_iopte failed: %s\n",
|
||||
__func__, __LINE__, ps3_result(result));
|
||||
pr_warn("%s:%d: lv1_put_iopte failed: %s\n",
|
||||
__func__, __LINE__, ps3_result(result));
|
||||
goto fail_map;
|
||||
}
|
||||
DBG("%s: pg=%d bus=%#lx, lpar=%#lx, ioid=%#x\n", __func__,
|
||||
|
@@ -699,7 +699,7 @@ static void os_area_queue_work_handler(struct work_struct *work)
|
||||
|
||||
error = update_flash_db();
|
||||
if (error)
|
||||
pr_warning("%s: Could not update FLASH ROM\n", __func__);
|
||||
pr_warn("%s: Could not update FLASH ROM\n", __func__);
|
||||
|
||||
pr_debug(" <- %s:%d\n", __func__, __LINE__);
|
||||
}
|
||||
|
Reference in New Issue
Block a user