From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 1/2] stk: Fix sizeof on memcpy
Date: Wed, 22 May 2013 21:38:18 -0500 [thread overview]
Message-ID: <519D811A.9050307@gmail.com> (raw)
In-Reply-To: <1369263708-19011-1-git-send-email-lucas.demarchi@intel.com>
[-- Attachment #1: Type: text/plain, Size: 554 bytes --]
Hi Lucas,
On 05/22/2013 06:01 PM, Lucas De Marchi wrote:
> src/stk.c: In function ‘__ofono_cbs_sim_download’:
> src/stk.c:283:45: error: argument to ‘sizeof’ in ‘memcpy’ call is the
> same expression as the source; did you mean to dereference it?
> [-Werror=sizeof-pointer-memaccess]
> memcpy(&e.cbs_pp_download.page, msg, sizeof(msg));
> ^
> ---
> src/stk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Patch has been applied, thanks.
Regards,
-Denis
prev parent reply other threads:[~2013-05-23 2:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-22 23:01 [PATCH 1/2] stk: Fix sizeof on memcpy Lucas De Marchi
2013-05-22 23:01 ` [PATCH 2/2] gitignore: Ignore file generated by Automake 1.13 Lucas De Marchi
2013-05-23 2:39 ` Denis Kenzior
2013-05-23 2:38 ` 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=519D811A.9050307@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