linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Ben Chuang <benchuanggli@gmail.com>,
	adrian.hunter@intel.com, riteshh@codeaurora.org,
	asutoshd@codeaurora.org, ulf.hansson@linaro.org
Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org,
	kernelnewbies <kernelnewbies@kernelnewbies.org>
Subject: Re: [PATCH] mmc: cqhci: Fix a print format for the task descriptor
Date: Wed, 15 Jul 2020 00:52:36 -0700	[thread overview]
Message-ID: <70107f0baa54e5ee8da989e01519f292536a41ef.camel@perches.com> (raw)
In-Reply-To: <20200715073344.8965-1-benchuanggli@gmail.com>

On Wed, 2020-07-15 at 15:33 +0800, Ben Chuang wrote:
> The format string of the task descriptor should be "%016llx".

There are a lot of these:

$ git grep -P -n '\b0x\d+%'
arch/m68k/include/asm/mmu_context.h:166:        pr_info("ksp load failed: mm=0x%p ksp=0x08%lx\n", mm, mmuar);
arch/powerpc/kvm/book3s_xive.c:1706:    pr_devel("  val=0x016%llx (server=0x%x, guest_prio=%d)\n",
drivers/atm/eni.c:590:                  EVENT("bad PDU (descr=0x08%lx,length=%ld)\n",descr,
drivers/dma/ppc4xx/adma.c:4366:                 "uses 0x1%02x polynomial.\n", reg);
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c:3023:             DRM_INFO("Using rlc debug ucode. mmRLC_GPM_GENERAL_6 ==0x08%x / fw_ver == %i \n",
drivers/gpu/drm/i915/intel_uncore.c:495:                drm_dbg(&uncore->i915->drm, "GTFIFODBG = 0x08%x\n", fifodbg);
drivers/media/usb/gspca/ov519.c:2760:                           gspca_err(gspca_dev, "Unknown sensor: 0x76%02x\n",
drivers/mmc/host/cqhci.c:425:   pr_debug("%s: cqhci: tag %d task descriptor 0x016%llx\n",
drivers/mmc/host/s3cmci.c:192:           "#%u%s op:%i arg:0x%08x flags:0x08%x retries:%u",
drivers/net/can/flexcan.c:1517:         "gpr %s req_gpr=0x02%x req_bit=%u ack_gpr=0x02%x ack_bit=%u\n",
drivers/net/ethernet/intel/i40e/i40e_debugfs.c:444:              "    info: cmd_reserved[] = 0x%02x 0x%02x 0x%02x 0x0%02x 0x%02x 0x%02x 0x%02x 0x0%02x\n",
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c:1397:                         "i = %d  buffer_info->dma = 0x08%llx  buffer_info->length = 0x%x\n",
drivers/net/wireless/intel/iwlwifi/pcie/trans.c:2298:           "Queue %d is %sactive on fifo %d and stuck for %u ms. SW [%d, %d] HW [%d, %d] FH TRB=0x0%x\n",
drivers/net/wireless/intersil/hostap/hostap_hw.c:779:                  "(%d,0x04%x,%d); reg=0x%04x\n",
drivers/net/wireless/realtek/rtw88/rtw8822c.c:429:              rtw_dbg(rtwdev, RTW_DBG_RFK, "[DACK] ADCK 0x%08x=0x08%x\n",
drivers/scsi/mpt3sas/mpt3sas_scsih.c:6161:              ioc_err(ioc, "device is not present handle(0x04%x)!!!\n",
drivers/scsi/mpt3sas/mpt3sas_scsih.c:6923:              ioc_err(ioc, "device is not present handle(0x04%x)!!!\n",
drivers/staging/rtl8723bs/hal/hal_com_phycfg.c:328:                     DBG_871X("Invalid RegAddr 0x3%x in PHY_GetRateSectionIndexOfTxPowerByRate()", RegAddr);
drivers/usb/serial/spcp8x5.c:225:       dev_dbg(&port->dev, "0xc0:0x22:0:6  %d - 0x02%x\n", ret, *buf);
drivers/video/fbdev/s1d13xxxfb.c:500:   dbg_blit("(copyarea) bpp=%d=0x0%d, mem_offset1=%d, mem_offset2=%d\n", bpp, (bpp >> 1),
sound/pci/es1938.c:306:         "snd_es1938_write_cmd timeout (0x02%x/0x02%x)\n", cmd, v);
sound/pci/es1938.c:319: dev_err(chip->card->dev, "get_byte timeout: status 0x02%x\n", v);




  reply	other threads:[~2020-07-15  8:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-15  7:33 [PATCH] mmc: cqhci: Fix a print format for the task descriptor Ben Chuang
2020-07-15  7:52 ` Joe Perches [this message]
2020-08-05  6:35 ` Ulf Hansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=70107f0baa54e5ee8da989e01519f292536a41ef.camel@perches.com \
    --to=joe@perches.com \
    --cc=adrian.hunter@intel.com \
    --cc=asutoshd@codeaurora.org \
    --cc=benchuanggli@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=riteshh@codeaurora.org \
    --cc=ulf.hansson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).