]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mei: fix idle print specifiers
authorAlexander Usyskin <alexander.usyskin@intel.com>
Sun, 1 Feb 2026 09:43:53 +0000 (11:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2026 15:08:36 +0000 (17:08 +0200)
%01d is equal to %d, simplify the format.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Link: https://patch.msgid.link/20260201094358.1440593-3-alexander.usyskin@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/init.c

index b789c4d9c709f29a1ffae7a0aaa2d00aee9c7ba7..f54991b40fc7724da77a5e950f20b26bd2e13af5 100644 (file)
@@ -348,7 +348,7 @@ bool mei_write_is_idle(struct mei_device *dev)
                list_empty(&dev->write_list)   &&
                list_empty(&dev->write_waiting_list));
 
-       dev_dbg(&dev->dev, "write pg: is idle[%d] state=%s ctrl=%01d write=%01d wwait=%01d\n",
+       dev_dbg(&dev->dev, "write pg: is idle[%d] state=%s ctrl=%d write=%d wwait=%d\n",
                idle,
                mei_dev_state_str(dev->dev_state),
                list_empty(&dev->ctrl_wr_list),