From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 2/6] gemalto: support ALS3 in gemalto's plugin
Date: Mon, 19 Mar 2018 08:50:23 -0500 [thread overview]
Message-ID: <da322612-43b7-b3c8-9113-1c552c2f3015@gmail.com> (raw)
In-Reply-To: <04d0b76b-3c78-1ec7-9b20-f74c41713f36@smile.fr>
[-- Attachment #1: Type: text/plain, Size: 942 bytes --]
Hi Gabriel,
>>> + if(app == NULL)
>>> + return;
>>
>> Not our coding style. Also, the "Application" property should not
>> disappear under you, so I would leave this check out.
> Is it like this :
> /* foo bar
> * bar
> */
> or
> /*
> * foo bar
> * bar
> */
> ?
For multi-line comments it the latter. See doc/coding-style.txt item M2.
For single line comments:
/* foo bar */ is acceptable.
However, I meant there's no space between if and () I believe.
>>> +
>>> + app = ofono_modem_get_string(modem, "Application");
>>> + mdm = ofono_modem_get_string(modem, "Modem");
> Here, I've realized I'm getting the "Modem" property but I'm not
> opening it. Should I still get it here such that I could check that it
> isn't NULL ? Or do you prefer it to be handled in gemalto_initialize() ?
I would check it here since the error path is easier.
Regards,
-Denis
next prev parent reply other threads:[~2018-03-19 13:50 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-15 12:49 [PATCH 0/6] gemalto's ALS3 and PHS8P support Gabriel Lucas
2018-03-15 12:49 ` [PATCH 1/6] gemalto: add detection of ALS3 modem Gabriel Lucas
2018-03-15 17:22 ` Denis Kenzior
2018-03-15 12:49 ` [PATCH 2/6] gemalto: support ALS3 in gemalto's plugin Gabriel Lucas
2018-03-15 17:11 ` Denis Kenzior
2018-03-16 10:30 ` Gabriel Lucas
2018-03-16 14:23 ` Denis Kenzior
2018-03-16 15:53 ` Gabriel Lucas
2018-03-16 15:59 ` Gabriel Lucas
2018-03-16 16:08 ` Gabriel Lucas
2018-03-16 16:08 ` Denis Kenzior
2018-03-19 9:45 ` Gabriel Lucas
2018-03-19 13:50 ` Denis Kenzior [this message]
2018-03-19 15:15 ` Gabriel Lucas
2018-03-19 15:24 ` Denis Kenzior
2018-03-15 12:49 ` [PATCH 3/6] gemalto: acquire the network technology Gabriel Lucas
2018-03-15 17:19 ` Denis Kenzior
2018-03-16 12:04 ` Gabriel Lucas
2018-03-16 12:59 ` Gabriel Lucas
2018-03-16 14:27 ` Denis Kenzior
2018-03-16 15:30 ` Gabriel LUCAS
2018-03-15 12:49 ` [PATCH 4/6] gemalto: handle sim is inserted or removed URCs Gabriel Lucas
2018-03-15 17:26 ` Denis Kenzior
2018-03-16 13:28 ` Gabriel Lucas
2018-03-16 14:03 ` Denis Kenzior
2018-03-19 15:57 ` Gabriel Lucas
2018-03-19 16:08 ` Denis Kenzior
2018-03-19 16:26 ` Gabriel Lucas
2018-03-19 17:10 ` Denis Kenzior
2018-03-20 8:37 ` Gabriel Lucas
2018-03-15 12:49 ` [PATCH 5/6] sim: give access to the driver Gabriel Lucas
2018-03-15 17:27 ` Denis Kenzior
2018-03-15 12:49 ` [PATCH 6/6] gemalto: fix sim reinsertion issue Gabriel Lucas
2018-03-15 17:29 ` Denis Kenzior
2018-03-16 13:30 ` Gabriel Lucas
2018-03-19 16:01 ` Gabriel Lucas
-- strict thread matches above, loose matches on Subject: below --
2018-03-12 12:57 [PATCH 0/6] gemalto's ALS3 and PHS8P support Gabriel Lucas
2018-03-12 12:57 ` [PATCH 2/6] gemalto: support ALS3 in gemalto's plugin Gabriel Lucas
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=da322612-43b7-b3c8-9113-1c552c2f3015@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.