xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Konrad Wilk <konrad.wilk@oracle.com>, Bob Liu <bob.liu@oracle.com>
Cc: Xen-devel List <xen-devel@lists.xen.org>
Subject: Coverity issues from 27/11/2013
Date: Wed, 27 Nov 2013 13:03:33 +0000	[thread overview]
Message-ID: <5295EDA5.4060509@citrix.com> (raw)

A very good Coverity run today.  30 issues fixed and only 2 introduced.

The two introduced were not directly as a result of recent changes, but
as a result of the tmem improvements.  Coverity tags an issue with types
and names, so refactored code gets new issues tagged against it.


The two 'new' issues are both to do with:

static inline void tmem_copy_to_client_buf_offset(tmem_cli_va_param_t clibuf,

                                                  int off,
                                                  char *tmembuf, int len)
{
    copy_to_guest_offset(clibuf,off,tmembuf,len);
}

Which throws away important errors which should not be ignored.

I guess this is more something which needs considering when doing
functional improvements to the tmem code.

~Andrew

             reply	other threads:[~2013-11-27 13:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-27 13:03 Andrew Cooper [this message]
2013-11-27 14:31 ` Coverity issues from 27/11/2013 Konrad Rzeszutek Wilk

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=5295EDA5.4060509@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=bob.liu@oracle.com \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xen.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;
as well as URLs for NNTP newsgroup(s).