Re: [PATCH V2] riscv: Convert uses of REG_FMT to %p

2018-08-16 Thread Petr Mladek
On Sun 2018-07-29 17:21:19, Andy Shevchenko wrote: > On Sat, Jul 28, 2018 at 7:39 PM, Joe Perches wrote: > > Use %p pointer output instead of REG_FMT and cast the unsigned longs to > > (void *) to avoid exposing kernel addresses. > > > > Miscellanea: > > > > o Convert pr_cont to printk(KERN_DEFAUL

Re: [PATCH V2] riscv: Convert uses of REG_FMT to %p

2018-08-07 Thread Kees Cook
On Tue, Aug 7, 2018 at 7:18 AM, Petr Mladek wrote: > On Sat 2018-07-28 09:39:57, Joe Perches wrote: >> Use %p pointer output instead of REG_FMT and cast the unsigned longs to >> (void *) to avoid exposing kernel addresses. >> >> Miscellanea: >> >> o Convert pr_cont to printk(KERN_DEFAULT as these

Re: [PATCH V2] riscv: Convert uses of REG_FMT to %p

2018-08-07 Thread Petr Mladek
On Sat 2018-07-28 09:39:57, Joe Perches wrote: > Use %p pointer output instead of REG_FMT and cast the unsigned longs to > (void *) to avoid exposing kernel addresses. > > Miscellanea: > > o Convert pr_cont to printk(KERN_DEFAULT as these uses are > new logging lines and not previous line conti

Re: [PATCH V2] riscv: Convert uses of REG_FMT to %p

2018-07-29 Thread Joe Perches
On Sun, 2018-07-29 at 17:21 +0300, Andy Shevchenko wrote: > On Sat, Jul 28, 2018 at 7:39 PM, Joe Perches wrote: > > Use %p pointer output instead of REG_FMT and cast the unsigned longs to > > (void *) to avoid exposing kernel addresses. > > > > Miscellanea: > > > > o Convert pr_cont to printk(KE

Re: [PATCH V2] riscv: Convert uses of REG_FMT to %p

2018-07-29 Thread Andy Shevchenko
On Sat, Jul 28, 2018 at 7:39 PM, Joe Perches wrote: > Use %p pointer output instead of REG_FMT and cast the unsigned longs to > (void *) to avoid exposing kernel addresses. > > Miscellanea: > > o Convert pr_cont to printk(KERN_DEFAULT as these uses are > new logging lines and not previous line c