From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751485AbdJFHyO (ORCPT ); Fri, 6 Oct 2017 03:54:14 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:45864 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750791AbdJFHyM (ORCPT ); Fri, 6 Oct 2017 03:54:12 -0400 Subject: Re: [PATCH v1] i2c:i2c-stm32f7: fix setup structure To: Wolfram Sang CC: Rob Herring , Mark Rutland , Maxime Coquelin , Alexandre Torgue , Russell King , , , , References: <1506000609-27409-1-git-send-email-pierre-yves.mordret@st.com> <20171005111444.77qib2ddnz4jmbnr@ninjato> From: Pierre Yves MORDRET Message-ID: <3b0e9bd4-298f-3ec9-7560-9758a8198e27@st.com> Date: Fri, 6 Oct 2017 09:53:23 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171005111444.77qib2ddnz4jmbnr@ninjato> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) To SFHDAG5NODE2.st.com (10.75.127.14) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-10-06_02:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/05/2017 01:14 PM, Wolfram Sang wrote: > On Thu, Sep 21, 2017 at 03:30:09PM +0200, Pierre-Yves MORDRET wrote: >> I2C drive setup structure is not properly allocated. >> Make it static instead of pointer to store driver data. >> >> Signed-off-by: Pierre-Yves MORDRET > > Ouch! How did it work before? Well yes it did. When it has been discovered during internal code review I was skeptical but it turned out to be true. I tested on STM32 F7/H7 without any trouble : scary ! > > Applied to for-current, thanks! Please provide a Fixes: tag next time, > did this for you now. > Sorry I wasn't aware about that. I gonna remember for the next time. Thanks ! Py