Received: from eggs.gnu.org ([2001:4830:134:3::10]:44547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2MqR-0006nT-JH for qemu-devel@nongnu.org; Fri, 27 Nov 2015 12:30:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2MqN-0001u3-GB for qemu-devel@nongnu.org; Fri, 27 Nov 2015 12:30:03 -0500 References: <1448626105-29540-1-git-send-email-pbonzini@redhat.com> <87oaefzeuh.fsf@blackfin.pond.sub.org> <56586B7D.2040205@redhat.com> <877fl3v5fm.fsf@blackfin.pond.sub.org> <56588168.2070003@redhat.com> <87poyvpfqb.fsf@blackfin.pond.sub.org> <87h9k7nze2.fsf@blackfin.pond.sub.org> From: Paolo Bonzini Message-ID: <56589313.80401@redhat.com> Date: Fri, 27 Nov 2015 18:29:55 +0100 MIME-Version: 1.0 In-Reply-To: <87h9k7nze2.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-2.5] bt: fix two struct sizes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org On 27/11/2015 18:08, Markus Armbruster wrote: >> > evt_encrypt_change 4 5 > Used in bt_hci_event_encrypt_change(). I figure it makes bt_hci_event() > overrun the destination by one byte. Yes, and Coverity complains. > Kernel has > > struct hci_ev_encrypt_change { > __u8 status; > __le16 handle; > __u8 encrypt; > } __packed; > > You changed this one. Plausible, but I don't want to have my R-by on it > all the same. Shall I proceed with this patch, just without R-by? Or only modify the one where Coverity complains? I picked this one because it matches a bluez patch. Paolo