diff options
author | Daniel Mentz <danielmentz@google.com> | 2021-09-28 17:27:25 -0700 |
---|---|---|
committer | Daniel Mentz <danielmentz@google.com> | 2021-09-28 17:34:13 -0700 |
commit | 778dcf7f2af7696ec067f57e5b1b1f5c27afeea4 (patch) | |
tree | 968fc564f255ff406bfb24c42d441c639bb2c0c4 | |
parent | e9d525cfaca023fbc0a2387431e7acf7bfa2ca42 (diff) | |
download | fts_touch-778dcf7f2af7696ec067f57e5b1b1f5c27afeea4.tar.gz |
touch/fts: Fix printk format strings
Align printk format specifiers with list of arguments and vice versa.
Bug: 193539695
Fixes: 177a930 ("touch/fts: add directory ftm5")
Fixes: 414f728 ("touch: fts: add mutex_lock to protect the i/o buffers")
Signed-off-by: Daniel Mentz <danielmentz@google.com>
Change-Id: I48870c3be19953ac00bc5cd1e5f7383af7fc7138
-rw-r--r-- | ftm5/fts_lib/ftsIO.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftm5/fts_lib/ftsIO.c b/ftm5/fts_lib/ftsIO.c index 9c098b8..37c7acd 100644 --- a/ftm5/fts_lib/ftsIO.c +++ b/ftm5/fts_lib/ftsIO.c @@ -591,7 +591,7 @@ int fts_writeU8UX(struct fts_ts_info *info, u8 cmd, AddrSize addrSize, toWrite = remaining; finalCmd[0] = cmd; - dev_dbg(info->dev, "%s: addrSize = %d, address = %X\n", + dev_dbg(info->dev, "%s: addrSize = %d, address = %llX\n", __func__, addrSize, address); p = (u8 *)&address + addrSize - 1; @@ -659,7 +659,7 @@ int fts_writeReadU8UX(struct fts_ts_info *info, u8 cmd, AddrSize addrSize, toRead = remaining; finalCmd[0] = cmd; - dev_dbg(info->dev, "%s: addrSize = %d, address = %X\n", + dev_dbg(info->dev, "%s: addrSize = %d, address = %llX\n", __func__, addrSize, address); p = (u8 *)&address + addrSize - 1; |