mt76: mt7921: fix a precision vs width bug in printk
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 21 Apr 2021 13:16:06 +0000 (16:16 +0300)
committerFelix Fietkau <nbd@nbd.name>
Wed, 21 Apr 2021 18:55:56 +0000 (20:55 +0200)
commit2bf301bc81df81907ceabbfd7bf57743696899bb
tree97637b57ead1e4fd7c3393cee3811835f5d31b52
parentb2bcc6d2a5874b0265aeeb926618e2d265f96b50
mt76: mt7921: fix a precision vs width bug in printk

Precision %.*s was intended instead of width %*s.  The original code
is potentially an information leak.

Fixes: c7cc5ec57303 ("mt76: mt7921: rework mt7921_mcu_debug_msg_event routine")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/mcu.c