From 8b1e002a454b078fbea53a48e2c146a53d782fb4 Mon Sep 17 00:00:00 2001 From: xbw Date: Mon, 5 Sep 2011 16:21:48 +0800 Subject: [PATCH] modify a bug about the parameter for printk which cause panic --- drivers/mmc/host/rk29_sdmmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/rk29_sdmmc.c b/drivers/mmc/host/rk29_sdmmc.c index 87bfb41b5e53..ae9f6c322c5e 100755 --- a/drivers/mmc/host/rk29_sdmmc.c +++ b/drivers/mmc/host/rk29_sdmmc.c @@ -2510,15 +2510,15 @@ static void rk29_sdmmc_tasklet_func(unsigned long priv) && (rk29_sdmmc_test_pending(host, EVENT_CMD_COMPLETE)|| rk29_sdmmc_test_pending(host, EVENT_DATA_COMPLETE) ); if(pending_flag) { - printk("%s..%d... cmd=%d(arg=0x%x),completedone=%d, retrycount=%d, doneflag=%d, \n \ + xbwprintk(7, "%s..%d... cmd=%d(arg=0x%x),completedone=%d, retrycount=%d, doneflag=%d, \n \ host->state=0x%x, switchstate=%x, \n \ pendingEvent=0x%lu, completeEvents=0x%lu, \n \ mrqCMD=%d, arg=0x%x \n ====xbw[%s]====\n",\ __FUNCTION__, __LINE__,host->cmd->opcode, host->cmd->arg, host->complete_done,\ host->retryfunc, host->mmc->doneflag,host->state, state, \ - host->pending_events,host->completed_events,host->dma_name, \ - host->mrq->cmd->opcode, host->mrq->cmd->arg); + host->pending_events,host->completed_events,\ + host->mrq->cmd->opcode, host->mrq->cmd->arg, host->dma_name); cpu_relax(); } -- 2.34.1