Message ID | a7142b5e06ec9305703f5e47c137bd57f5471078.1562323443.git.msuchanek@suse.de |
---|---|
State | Superseded |
Delegated to: | Marek Vasut |
Headers | show |
Series | [U-Boot,v3,1/7] usb_kdb: only process events succesfully received | expand |
On Fri, Jul 5, 2019 at 6:44 PM Michal Suchanek <msuchanek@suse.de> wrote: > > Use the wrapper because the unwrapped function prototype will be changed > in the following patch. > > Signed-off-by: Michal Suchanek <msuchanek@suse.de> > --- > v2: usb_submit_int_msg -> usb_int_msg > v3: fix indentation > --- > common/usb_storage.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff --git a/common/usb_storage.c b/common/usb_storage.c index 8c889bb1a648..995a96baa57d 100644 --- a/common/usb_storage.c +++ b/common/usb_storage.c @@ -650,8 +650,8 @@ static int usb_stor_CBI_get_status(struct scsi_cmd *srb, struct us_data *us) int timeout; us->ip_wanted = 1; - submit_int_msg(us->pusb_dev, us->irqpipe, - (void *) &us->ip_data, us->irqmaxp, us->irqinterval); + usb_int_msg(us->pusb_dev, us->irqpipe, + (void *) &us->ip_data, us->irqmaxp, us->irqinterval); timeout = 1000; while (timeout--) { if (us->ip_wanted == 0)
Use the wrapper because the unwrapped function prototype will be changed in the following patch. Signed-off-by: Michal Suchanek <msuchanek@suse.de> --- v2: usb_submit_int_msg -> usb_int_msg v3: fix indentation --- common/usb_storage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)