Re: [PATCH v2] i2c: rk3x: Don't print visible virtual mapping MMIO address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 18, 2018 at 08:45:30AM +0800, Shawn Lin wrote:
> Now %p doesn't print visible pointer address unless the user
> really want it. According to Documentation/core-api/printk-formats.rst,
> %px should be used instead, otherwise we could see:
> 
> rk3x-i2c ff110000.i2c: Initialized RK3xxx I2C bus at (____ptrval____)
> rk3x-i2c ff130000.i2c: Initialized RK3xxx I2C bus at (____ptrval____)
> rk3x-i2c ff3c0000.i2c: Initialized RK3xxx I2C bus at (____ptrval____)
> rk3x-i2c ff3d0000.i2c: Initialized RK3xxx I2C bus at (____ptrval____)
> 
> But I don't really understand why we need dump it in the first place!
> Let's remove the whole pointless log.
> 
> Signed-off-by: Shawn Lin <shawn.lin@xxxxxxxxxxxxxx>
> Reviewed-by: Heiko Stuebner <heiko@xxxxxxxxx>

Applied to for-next, thanks!

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux