From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH] isimodem: add some ss error enums
Date: Sun, 10 Oct 2010 06:58:37 -0500 [thread overview]
Message-ID: <4CB1AA6D.5060402@gmail.com> (raw)
In-Reply-To: <1286453525-30396-1-git-send-email-Pekka.Pessi@nokia.com>
[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]
Hi Pekka,
> +const char *ss_gsm_error_name(enum ss_gsm_error value)
> +{
> + switch (value) {
> + _(SS_GSM_UNKNOWN_SUBSCRIBER);
> + _(SS_GSM_ILLEGAL_SUBSCRIBER);
> + _(SS_GSM_BEARER_SERV_NOT_PROVISION);
<snip>
> +
> +const char *ss_other_error_name(enum ss_other_error value)
> +{
> + switch ((int)value) {
> + _(SS_SERVICE_BUSY);
> + _(SS_GSM_MM_RELEASE);
> + _(SS_GSM_DATA_ERROR);
Can be consistent with switch/case indentation?
<snip>
> +enum ss_other_error {
> + SS_SERVICE_BUSY = 0x00,
> + SS_GSM_MM_RELEASE = 0x01,
> + SS_GSM_DATA_ERROR = 0x02,
> + SS_GSM_TIMER_EXPIRED = 0x03,
> + SS_GSM_REQUEST_CANCELLED = 0x04,
> + SS_GSM_INDICATE_DEVICE_PASSWORD = 0x05,
> + SS_GSM_ACTIVATION_DATA_LOST = 0x09,
> + SS_GSM_MM_ERROR = 0x0B,
> + SS_GSM_SERVICE_NOT_ON_FDN_LIST = 0x0C,
> + SS_SIMATKCC_REJECTED = 0x0D,
> + SS_SIMATKCC_MODIFIED = 0x0E,
> + SS_CS_INACTIVE = 0x0F,
> + /* SS_GSM_SS_NOT_AVAILABLE = 0x12, */
> + /* SS_GSM_USSD_BUSY = 0x48, */
Why are these commented out?
> +};
> +
> #endif /* __ISIMODEM_SS_H */
Regards,
-Denis
next prev parent reply other threads:[~2010-10-10 11:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-07 12:12 [PATCH] isimodem: add some ss error enums Pekka.Pessi
2010-10-10 11:58 ` Denis Kenzior [this message]
2010-10-12 17:23 ` Pekka Pessi
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=4CB1AA6D.5060402@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.