From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 1/5] sim: Cache flushing functions.
Date: Wed, 12 Jan 2011 14:09:33 -0600 [thread overview]
Message-ID: <4D2E0A7D.6080505@gmail.com> (raw)
In-Reply-To: <1294657295-14041-1-git-send-email-andrew.zaborowski@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1119 bytes --]
Hi Andrew,
On 01/10/2011 05:01 AM, Andrzej Zaborowski wrote:
> ---
> src/sim.c | 23 ++++++++++++++++++++
> src/simfs.c | 68 ++++++++++++++++++++++++++++++++++++++++++++--------------
> src/simfs.h | 5 ++++
> 3 files changed, 79 insertions(+), 17 deletions(-)
>
So I applied this patch but...:
> +
> +static void sim_file_changed_flush(struct ofono_sim *sim, int id)
> +{
> + int i, imgid;
> +
> + if (id == SIM_EFIMG_FILEID)
> + /* All cached images become invalid */
> + sim_fs_image_cache_flush(sim->simfs);
> + else if (sim->efimg)
> + /*
> + * Data and CLUT for image instances stored in the changed
> + * file need to be re-read.
> + */
> + for (i = sim->efimg_length / 9 - 1; i >= 0; i--) {
> + imgid = (sim->efimg[i * 9 + 3] << 8) |
> + sim->efimg[i * 9 + 4];
> +
> + if (imgid == id)
> + sim_fs_image_cache_flush_file(sim->simfs, i);
> + }
> +
> + sim_fs_cache_flush_file(sim->simfs, id);
> +}
This function seems extraneous to this patch. I assumed that it was
meant to be included in patch 4 and I left it out.
Regards,
-Denis
next prev parent reply other threads:[~2011-01-12 20:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-10 11:01 [PATCH 1/5] sim: Cache flushing functions Andrzej Zaborowski
2011-01-10 11:01 ` [PATCH 2/5] Add SIM filesystem watch api Andrzej Zaborowski
2011-01-10 11:01 ` [PATCH 3/5] sim: Implement file watching and basic refresh Andrzej Zaborowski
2011-01-12 21:55 ` Denis Kenzior
2011-01-31 17:23 ` Andrzej Zaborowski
2011-01-31 17:45 ` Denis Kenzior
2011-01-31 18:29 ` Andrzej Zaborowski
2011-01-10 11:01 ` [PATCH 4/5] Watch files that ofono keeps in memory Andrzej Zaborowski
2011-01-10 11:01 ` [PATCH 5/5] stk: Partially handle Refresh command Andrzej Zaborowski
2011-01-12 20:09 ` Denis Kenzior [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-12-28 9:17 [PATCH 1/5] sim: Cache flushing functions Andrzej Zaborowski
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=4D2E0A7D.6080505@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox