Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e06f5e75 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

usb: pd: Fix compile warnings



Fix the following compiler warnings from gcc 6.1.1 with -Werror enabled:

 drivers/usb/pd/policy_engine.c:4274:
   format '%s' expects a matching 'char *' argument [-Werror=format=]
   usbpd_err(&pd->dev, "%s: Cannot send msg\n");

 drivers/usb/pd/policy_engine.c:4286:
   format '%s' expects a matching 'char *' argument [-Werror=format=]
   usbpd_err(&pd->dev, "%s: request timed out\n");

Fixes: 3f62e043 ("usb: pd: add snapshot of qpnp-pdphy and policy_engine drivers")
Change-Id: Ic0dedbad2da01c19793cb4aaf9a249ca68db1195
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 160fb9d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment