All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 3/3] sim: support PIN retry counters for telit modems
Date: Thu, 16 Aug 2012 01:09:44 -0500	[thread overview]
Message-ID: <502C8EA8.7090506@gmail.com> (raw)
In-Reply-To: <1345102640-8465-3-git-send-email-christopher.vogl@hale.at>

[-- Attachment #1: Type: text/plain, Size: 1226 bytes --]

Hi Christopher/August,

On 08/16/2012 02:37 AM, Christopher Vogl wrote:
> From: August Mayer<august.mayer@hale.at>
>
> ---
>   drivers/atmodem/sim.c |   61 +++++++++++++++++++++++++++++++++++++++++++++++++
>   1 files changed, 61 insertions(+), 0 deletions(-)
>

Patch has been applied, however it had 3 trailing whitespace violations. 
  I had to edit it manually for it to apply.

Please configure your editor appropriately and add:
[apply]
         whitespace = error

to your .git/config.  It always doesn't hurt to test-apply your patches 
before submission.

Also:

<snip>

> +	enum ofono_sim_password_type pin_type = ofono_sim_get_password_type(sim);

We still prefer C90 syntax for variable declarations, so I had to fix 
this in a follow-on commit.

> +	if (pin_type == OFONO_SIM_PASSWORD_NONE) {
> +		DBG("Note: No password required, returning maximum retries:");
> +		AT_PCT_SET_RETRIES(retries, OFONO_SIM_PASSWORD_SIM_PIN, 3);
> +		AT_PCT_SET_RETRIES(retries, OFONO_SIM_PASSWORD_SIM_PIN2, 3);
> +		AT_PCT_SET_RETRIES(retries, OFONO_SIM_PASSWORD_SIM_PUK, 10);
> +		AT_PCT_SET_RETRIES(retries, OFONO_SIM_PASSWORD_SIM_PUK2, 10);
> +		goto callback;
> +	}
> +

Regards,
-Denis

      reply	other threads:[~2012-08-16  6:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-13 13:21 [PATCH 3/8] sim: support PIN retry counters for telit modems Christopher Vogl
2012-08-13 16:41 ` Denis Kenzior
2012-08-16  7:37   ` [PATCH 1/3] sim: add function to get password type Christopher Vogl
2012-08-16  6:06     ` Denis Kenzior
2012-08-16  7:37   ` [PATCH 2/3] sim: implement " Christopher Vogl
2012-08-16  6:06     ` Denis Kenzior
2012-08-16  7:37   ` [PATCH 3/3] sim: support PIN retry counters for telit modems Christopher Vogl
2012-08-16  6:09     ` Denis Kenzior [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=502C8EA8.7090506@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.