From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751935AbbALL0z (ORCPT ); Mon, 12 Jan 2015 06:26:55 -0500 Received: from h1.radempa.de ([176.9.142.194]:53146 "EHLO mail.cosmopool.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750860AbbALL0x (ORCPT ); Mon, 12 Jan 2015 06:26:53 -0500 From: Harald Geyer To: Richard Weinberger cc: Jonathan Cameron , knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, sanjeev_sharma@mentor.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv2 1/3,RESEND] iio: dht11: Fix out-of-bounds read In-reply-to: <54B171D8.6020301@nod.at> References: <1417563176-31972-1-git-send-email-richard@nod.at> <54A53FBF.5000003@kernel.org> <7e4f6a70e48afe96457ebbcf07572224@imap.cosmopool.net> <54A680F8.30209@nod.at> <54A91DA1.6080107@kernel.org> <54AA97B9.7040703@nod.at> <54B10997.6090708@kernel.org> <54B171D8.6020301@nod.at> Comments: In-reply-to Richard Weinberger message dated "Sat, 10 Jan 2015 19:39:20 +0100." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4787.1421062005.1@stardust.g4.wien.funkfeuer.at> Date: Mon, 12 Jan 2015 12:26:45 +0100 Message-Id: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Richard Weinberger writes: > Am 10.01.2015 um 12:14 schrieb Jonathan Cameron: > > On 07/01/15 12:15, Harald Geyer wrote: > >> As we access i-1 we must not start with i=0. > >> > >> From: Richard Weinberger > >> Signed-off-by: Richard Weinberger > >> Acked-by: Hartmut Knaack > >> Acked-by: Harald Geyer > >> Reviewed-by: Sanjeev Sharma > >> --- > >> Resending again to get the metadata right. > > Putting a From: in doesn't work, you need to use > > git commit --amend --author to fix it up. > > Or just use "git am" to apply a patch to a tree and keep the original author. > If you use "git format-patch" later it will produce the correct "From:". Thats exactly what I did initially, but of course when pasting the patch into my MUA, the headers got lost. I guess you don't suggest that I forge your address, so what's the right way to handle this? Include the entire mbox file into the body of the message? TIA, Harald