On 24/01/12 08:37AM, Damien Le Moal wrote: > On 1/12/24 08:15, Christian Heusel wrote: > > - printk(KERN_ERR " %s: p%d could not be added: %ld\n", > > - disk->disk_name, p, -PTR_ERR(part)); > > + printk(KERN_ERR " %s: p%d could not be added: %pe\n", > > + disk->disk_name, p, part); > > pr_err() ? If desired I can send a v2 containing another patch which refactors the usages of printk into their respective pr_* aliases, but I wanted to keep this consistent to the usages in rest of the file and do one change at a time. Cheers, Chris
Attachment:
signature.asc
Description: PGP signature