From: xbw Date: Mon, 5 Sep 2011 08:21:48 +0000 (+0800) Subject: modify a bug about the parameter for printk which cause panic X-Git-Tag: firefly_0821_release~9767^2~40 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=8b1e002a454b078fbea53a48e2c146a53d782fb4;p=firefly-linux-kernel-4.4.55.git modify a bug about the parameter for printk which cause panic --- 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(); }