mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
Merge branch 'linux-next' of git://git.infradead.org/ubifs-2.6
* 'linux-next' of git://git.infradead.org/ubifs-2.6: UBIFS: fix key printing UBIFS: use snprintf instead of sprintf when printing keys UBIFS: fix debugging messages UBIFS: make debugging messages light again UBI: fix debugging messages UBI: make vid_hdr non-static
This commit is contained in:
commit
94b1984ab9
8 changed files with 115 additions and 106 deletions
|
|
@ -43,7 +43,10 @@
|
|||
pr_debug("UBI DBG " type ": " fmt "\n", ##__VA_ARGS__)
|
||||
|
||||
/* Just a debugging messages not related to any specific UBI subsystem */
|
||||
#define dbg_msg(fmt, ...) ubi_dbg_msg("msg", fmt, ##__VA_ARGS__)
|
||||
#define dbg_msg(fmt, ...) \
|
||||
printk(KERN_DEBUG "UBI DBG (pid %d): %s: " fmt "\n", \
|
||||
current->pid, __func__, ##__VA_ARGS__)
|
||||
|
||||
/* General debugging messages */
|
||||
#define dbg_gen(fmt, ...) ubi_dbg_msg("gen", fmt, ##__VA_ARGS__)
|
||||
/* Messages from the eraseblock association sub-system */
|
||||
|
|
|
|||
|
|
@ -306,7 +306,7 @@ static int create_vtbl(struct ubi_device *ubi, struct ubi_scan_info *si,
|
|||
int copy, void *vtbl)
|
||||
{
|
||||
int err, tries = 0;
|
||||
static struct ubi_vid_hdr *vid_hdr;
|
||||
struct ubi_vid_hdr *vid_hdr;
|
||||
struct ubi_scan_leb *new_seb;
|
||||
|
||||
ubi_msg("create volume table (copy #%d)", copy + 1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue