Re: [PATCH] USB / dwc3: fix checkpatch warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 01, 2022 at 06:46:46PM +0530, Kushagra Verma wrote:
> This patch fixes the following checkpatch warnings in core.c and
> core.h:
>    1. WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
>    2. WARNING: Possible unnecessary 'out of memory' message
>    3. WARNING: No space before tabs
> 
> It also changes 'Error to get property' to 'Couldn't get property' in
> dev_err() as the latter one is more meaningful.
> 
> Signed-off-by: Kushagra Verma <kushagra765@xxxxxxxxxxx>
> ---
>  drivers/usb/dwc3/core.c | 10 ++++------
>  drivers/usb/dwc3/core.h | 28 ++++++++++++++--------------
>  2 files changed, 18 insertions(+), 20 deletions(-)

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman.  You have sent him
a patch that has triggered this response.  He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created.  Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.

You are receiving this message because of the following common error(s)
as indicated below:

- Your patch did many different things all at once, making it difficult
  to review.  All Linux kernel patches need to only do one thing at a
  time.  If you need to do multiple things (such as clean up all coding
  style issues in a file/driver), do it in a sequence of patches, each
  one doing only one thing.  This will make it easier to review the
  patches to ensure that they are correct, and to help alleviate any
  merge issues that larger patches can cause.

If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.

thanks,

greg k-h's patch email bot



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux