OSDN Git Service

sdcard: Reduce sdcard_set_blocklen() trace digits
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 21 Jun 2018 17:12:48 +0000 (14:12 -0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 29 Jun 2018 14:04:18 +0000 (15:04 +0100)
commitdcfebcf9a3f350034d5acff6fe6019ce3586438a
treef81a5041a8e5ee4d83c6a12de22e99d8b2722ec6
parent82c4f87e0ed1701c1f51a46a3146643ed89b0bef
sdcard: Reduce sdcard_set_blocklen() trace digits

Per the Physical Layer Simplified Spec. "5.3 CSD Register":

  "The maximum block length might therefore be in the range 512...2048 bytes"

Therefore 3 hexdigits are enough to report the block length.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/sd/trace-events