mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
staging: wlan-ng: use "%*pE" for serial number
Almost every user of "%*pE" in the kernel uses just bare "%*pE". This is the only user of "%pEhp". I can't see why it's needed. Signed-off-by: J. Bruce Fields <bfields@redhat.com> Link: https://lore.kernel.org/r/1562799656-13401-1-git-send-email-bfields@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4ad366015d
commit
26a7ae2949
1 changed files with 1 additions and 1 deletions
|
@ -846,7 +846,7 @@ static int prism2sta_getcardinfo(struct wlandevice *wlandev)
|
||||||
result = hfa384x_drvr_getconfig(hw, HFA384x_RID_NICSERIALNUMBER,
|
result = hfa384x_drvr_getconfig(hw, HFA384x_RID_NICSERIALNUMBER,
|
||||||
snum, HFA384x_RID_NICSERIALNUMBER_LEN);
|
snum, HFA384x_RID_NICSERIALNUMBER_LEN);
|
||||||
if (!result) {
|
if (!result) {
|
||||||
netdev_info(wlandev->netdev, "Prism2 card SN: %*pEhp\n",
|
netdev_info(wlandev->netdev, "Prism2 card SN: %*pE\n",
|
||||||
HFA384x_RID_NICSERIALNUMBER_LEN, snum);
|
HFA384x_RID_NICSERIALNUMBER_LEN, snum);
|
||||||
} else {
|
} else {
|
||||||
netdev_err(wlandev->netdev, "Failed to retrieve Prism2 Card SN\n");
|
netdev_err(wlandev->netdev, "Failed to retrieve Prism2 Card SN\n");
|
||||||
|
|
Loading…
Reference in a new issue