Searched hist:"2 c191464a150b84ed11f5f5e99b10212f80a6d8d" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/onenand/ |
| H A D | onenand_bbt.c | 2c191464a150b84ed11f5f5e99b10212f80a6d8d Tue Oct 17 15:10:48 UTC 2017 Masahiro Yamada <yamada.masahiro@socionext.com> UPSTREAM: mtd: replace MTDDEBUG() with pr_debug()
In old days, the MTD subsystem in Linux had debug facility like DEBUG(MTD_DEBUG_LEVEL1, ...).
They were all replaced with pr_debug() until Linux 3.2. See Linux commit 289c05222172 ("mtd: replace DEBUG() with pr_debug()").
U-Boot still uses similar macros. Covert all of them for easier sync.
Done with the help of Coccinelle.
The semantic patch I used is as follows:
// <smpl> @@ expression e1, e2; @@ -MTDDEBUG(e1, e2) +pr_debug(e2) @@ expression e1, e2; @@ -MTDDEBUG(e1, e2, +pr_debug(e2, ...) // </smpl>
Change-Id: Ibacb18e06c109869fac9f6ed950d3aa2194ed7d8 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 166cae20dd797dcb25fc550269792f15704d9c58)
|
| H A D | onenand_base.c | 2c191464a150b84ed11f5f5e99b10212f80a6d8d Tue Oct 17 15:10:48 UTC 2017 Masahiro Yamada <yamada.masahiro@socionext.com> UPSTREAM: mtd: replace MTDDEBUG() with pr_debug()
In old days, the MTD subsystem in Linux had debug facility like DEBUG(MTD_DEBUG_LEVEL1, ...).
They were all replaced with pr_debug() until Linux 3.2. See Linux commit 289c05222172 ("mtd: replace DEBUG() with pr_debug()").
U-Boot still uses similar macros. Covert all of them for easier sync.
Done with the help of Coccinelle.
The semantic patch I used is as follows:
// <smpl> @@ expression e1, e2; @@ -MTDDEBUG(e1, e2) +pr_debug(e2) @@ expression e1, e2; @@ -MTDDEBUG(e1, e2, +pr_debug(e2, ...) // </smpl>
Change-Id: Ibacb18e06c109869fac9f6ed950d3aa2194ed7d8 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 166cae20dd797dcb25fc550269792f15704d9c58)
|