Re: [patch 6/6] Allow gsmdial to use gatchat ppp support

2010-03-20 Thread Marcel Holtmann
Hi Kristen,

> Add option to use PPP to gsmdial.
> 
> ---
>  gatchat/gsmdial.c |   90 
> --
>  1 file changed, 87 insertions(+), 3 deletions(-)
> 
> Index: ofono/gatchat/gsmdial.c
> ===
> --- ofono.orig/gatchat/gsmdial.c  2010-03-19 12:28:11.725601078 -0700
> +++ ofono/gatchat/gsmdial.c   2010-03-19 12:43:54.427612839 -0700
> @@ -29,10 +29,14 @@
>  #include 
>  #include 
>  #include 
> +#include 
> +#include 
> +#include 

patches have to be always submitted against the latest tree.

Regards

Marcel


___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


Re: [patch 1/6] Add PPP protocol support with HDLC framing

2010-03-20 Thread Marcel Holtmann
Hi Kristen,

> This patch implements the basic PPP protocol.  LCP, NCP etc. are handled in a
> different patch.
> 
> ---
>  Makefile.am  |4 
>  gatchat/gatppp.c |  133 
>  gatchat/gatppp.h |   59 +++
>  gatchat/ppp.c|  455 
> +++
>  gatchat/ppp.h|  130 +++
>  5 files changed, 780 insertions(+), 1 deletion(-)

please keep the patches whitespace clean. Otherwise you will make it
really hard and complicated for everybody if we have to do whitespace
cleanup in between patches.

Applying: Add PPP protocol support with HDLC framing
/data/devel/ofono/.git/rebase-apply/patch:572: space before tab in indent.
if (status != G_IO_STATUS_NORMAL && status != G_IO_STATUS_AGAIN)
/data/devel/ofono/.git/rebase-apply/patch:573: space before tab in indent.
return FALSE;
fatal: 2 lines add whitespace errors.

Using an editor that visualizes whitespaces and tabs might help here.

And empty lines at the end of a file. Please remove them and if your
editor is too stupid, then please pick a different editor.

Applying: Add PPP protocol support with HDLC framing
/data/devel/ofono/.git/rebase-apply/patch:166: new blank line at EOF.
+
/data/devel/ofono/.git/rebase-apply/patch:230: new blank line at EOF.
+
fatal: 2 lines add whitespace errors.

Before you submit any patches, you might wanna quickly check with git am
that they still apply. My .gitconfig uses a strict apply policy:

[diff]
color = auto
check = true
[apply]
whitespace = error
[format-patch]
check = true

Having diff and format-patch color your whitespace damages is always a
good idea. Then you see what is wrong.

Regards

Marcel


___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono