From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLGRX-00051B-Ip for qemu-devel@nongnu.org; Mon, 18 Jan 2016 15:30:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aLGRU-0004Ny-EW for qemu-devel@nongnu.org; Mon, 18 Jan 2016 15:30:27 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aLGRU-0004NW-9O for qemu-devel@nongnu.org; Mon, 18 Jan 2016 15:30:24 -0500 References: <1453032795-12690-1-git-send-email-caoj.fnst@cn.fujitsu.com> <1453032795-12690-2-git-send-email-caoj.fnst@cn.fujitsu.com> From: Eric Blake Message-ID: <569D4B5E.8060109@redhat.com> Date: Mon, 18 Jan 2016 13:30:22 -0700 MIME-Version: 1.0 In-Reply-To: <1453032795-12690-2-git-send-email-caoj.fnst@cn.fujitsu.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UxSP2q4VUQglwqqQqtGwo3bGu1B6tvLJ9" Subject: Re: [Qemu-devel] [PATCH v6 1/6] Change xen_host_pci_sysfs_path() to return void List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cao jin , qemu-devel@nongnu.org Cc: stefano.stabellini@eu.citrix.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --UxSP2q4VUQglwqqQqtGwo3bGu1B6tvLJ9 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/17/2016 05:13 AM, Cao jin wrote: > And assert the snprintf() error, because user can do nothing in case of= > snprintf() fail. s/fail/failure/ >=20 > Signed-off-by: Cao jin > --- > hw/xen/xen-host-pci-device.c | 35 +++++++++++------------------------ > 1 file changed, 11 insertions(+), 24 deletions(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --UxSP2q4VUQglwqqQqtGwo3bGu1B6tvLJ9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWnUteAAoJEKeha0olJ0NqCxMIAKJ5oGsYkkhIcy9tWgdTCYg7 kqLEWVcSHcAKfSdxE4Xvzux8TfgV9ZVf/7Gem9sySG7FUQtcOPDWvdu6gENVk5C4 K5eQ9kyIAtFXOePAGVfC0yQUhSzTPkJyD3cneC0zLlMvpjCxchbYMPlrzIfpFDNv DEETZj8bOnLpfvim4IbHbTp0otiHL/ECGFv4w8ixGAi0v8GjEEa9CrHGK72BAW90 3nU/g9U/3/c5LhMCrAVJ/ao/WtJ+QkHfoK2bi0Ga+ZBltO7hUvwPV/Cg5a5ijuq7 KZOf7a5X8nRjQFBd9pO2jf5qhi+cZDzw0fLxfWqheUfrIGXEtHkwRM54SGJjpDA= =gzha -----END PGP SIGNATURE----- --UxSP2q4VUQglwqqQqtGwo3bGu1B6tvLJ9--