Re: [Linuxwacom-devel] [PATCH 1/4] Correct two comments

2018-10-24 Thread Ping Cheng
On Tue, Oct 23, 2018 at 7:48 PM Peter Hutterer 
wrote:

> Signed-off-by: Peter Hutterer 


Patchset looks good. The whole set is:

Reviewed-by: Ping Cheng 

Thank you Peter!

Ping

>
> ---
>  src/wcmUSB.c | 6 ++
>  1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/src/wcmUSB.c b/src/wcmUSB.c
> index 8ded958..8a07368 100644
> --- a/src/wcmUSB.c
> +++ b/src/wcmUSB.c
> @@ -980,9 +980,7 @@ static void usbParseEvent(InputInfoPtr pInfo,
>
> DBG(10, common, "\n");
>
> -   /* store events until we receive the MSC_SERIAL containing
> -* the serial number or a SYN_REPORT.
> -*/
> +   /* store events until we receive a SYN_REPORT */
>
> /* space left? bail if not. */
> if (private->wcmEventCnt >= ARRAY_SIZE(private->wcmEvents))
> @@ -1036,7 +1034,7 @@ static void usbParseSynEvent(InputInfoPtr pInfo,
> }
> else
> {
> -   /* not an SYN_REPORT and not an SYN_REPORT, bail out */
> +   /* not a MSC_SERIAL and not a SYN_REPORT, bail out */
> return;
> }
>
> --
> 2.19.1
>
>
>
> ___
> Linuxwacom-devel mailing list
> Linuxwacom-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
>
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


[Linuxwacom-devel] [PATCH 1/4] Correct two comments

2018-10-23 Thread Peter Hutterer
Signed-off-by: Peter Hutterer 
---
 src/wcmUSB.c | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/wcmUSB.c b/src/wcmUSB.c
index 8ded958..8a07368 100644
--- a/src/wcmUSB.c
+++ b/src/wcmUSB.c
@@ -980,9 +980,7 @@ static void usbParseEvent(InputInfoPtr pInfo,
 
DBG(10, common, "\n");
 
-   /* store events until we receive the MSC_SERIAL containing
-* the serial number or a SYN_REPORT.
-*/
+   /* store events until we receive a SYN_REPORT */
 
/* space left? bail if not. */
if (private->wcmEventCnt >= ARRAY_SIZE(private->wcmEvents))
@@ -1036,7 +1034,7 @@ static void usbParseSynEvent(InputInfoPtr pInfo,
}
else
{
-   /* not an SYN_REPORT and not an SYN_REPORT, bail out */
+   /* not a MSC_SERIAL and not a SYN_REPORT, bail out */
return;
}
 
-- 
2.19.1



___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel