Received: by 10.213.65.68 with SMTP id h4csp1178816imn; Sat, 24 Mar 2018 05:39:31 -0700 (PDT) X-Google-Smtp-Source: AG47ELsFs1xxGmOujX1wewq6tJXO4ai3klfw/z19A/V1Fs9mC4sgB5t+1OD8XPR4LbuI6ipZFUJy X-Received: by 10.99.110.6 with SMTP id j6mr23012349pgc.29.1521895171446; Sat, 24 Mar 2018 05:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521895171; cv=none; d=google.com; s=arc-20160816; b=R6S00ltu0pILG8phj8TVkTYJkS1ANT9uR28pjg1Qc3vCnzvEeQCYcCrL0TJkAoT9bn dAPE2WooIi/IEVYa2AH1Ru2WXNpflhBuuSt2hfri5sBhvx7ac5dNpovGldVTCpRk6Md0 h40oL1D0Mg0UqA7Sgvq2yQVTm0ubGsEjcDWiyYqlB6KzPSu9NjuD/pBspXo4dMuF9lcH nf26i8MbdBmbNNlHYj5J3bZSqBlPVcgmyhip+Cm1uzXT3pngZGDHZ+WrM2fCISIuKMav HcLTV+QP0/1EloPw55aTeg/yIBBWrAujnP0xFzy5qQ5jY4St4Ix6xvrakStiPmyCfVKP EoJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=w4P8Smu2dy1QHiowhB+BTg139DH+laL5nxA2pZ3q+Rk=; b=bZYV8XNN2VQA2P9JVQTxn9uz+8iZhUJu36xO0MQYCDq9SD+0/8YYAofgAzUUtdwmaL +hNRZLSM3R+qkPGtgbq7G4VLTVAA4yld6qDkwfC/K7n+TfY5iPmNY9ELvsUPJ4ZAVW21 j1ySb4y6QvUvqz9aDPqG8R4YA+5+uTzFgltQF9D3dyLEboI5qQXpnf8FUJR5Ow8iXSbk 5TJ8LnuFMroJozW5tsWZRmE1l3Jsc9AL5v9wqeF8+wuipJhjJVwmxogEhJWk1kHnT15W 1sjXejgTS3Z3GpAYAK+y/UJDYqcbwCeHfFFoKHYcOvcIcCn8EAxK9v8au1atrF0sTVKE vkcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j3si8509400pfb.288.2018.03.24.05.39.15; Sat, 24 Mar 2018 05:39:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752095AbeCXMiR (ORCPT + 99 others); Sat, 24 Mar 2018 08:38:17 -0400 Received: from sauhun.de ([88.99.104.3]:40952 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751903AbeCXMiQ (ORCPT ); Sat, 24 Mar 2018 08:38:16 -0400 Received: from localhost (p54B33AE5.dip0.t-ipconnect.de [84.179.58.229]) by pokefinder.org (Postfix) with ESMTPSA id A0EF045AB01; Sat, 24 Mar 2018 13:38:14 +0100 (CET) Date: Sat, 24 Mar 2018 13:38:14 +0100 From: Wolfram Sang To: Pierre-Yves MORDRET Cc: Maxime Coquelin , Alexandre Torgue , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] i2c: i2c-stm32f7: fix no check on returned setup Message-ID: <20180324123814.xgwgtvq57d4whd6c@ninjato> References: <1521650920-11578-1-git-send-email-pierre-yves.mordret@st.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="opvfwbopasbraelv" Content-Disposition: inline In-Reply-To: <1521650920-11578-1-git-send-email-pierre-yves.mordret@st.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --opvfwbopasbraelv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 21, 2018 at 05:48:40PM +0100, Pierre-Yves MORDRET wrote: > Before assigning returned setup structure check if not null >=20 > Fixes: 463a9215f3ca7600b5ff ("i2c: stm32f7: fix setup structure") > Signed-off-by: Pierre-Yves MORDRET Applied to for-current, thanks! --opvfwbopasbraelv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAlq2RrYACgkQFA3kzBSg KbZ2HRAAjvj1Q/oQ7rm1O3iQ9tJ2FniovR9nO8BIRDdeb6uRscipMW0THGi1PD7J Xy/IQo/QDqKa8zTMn0ZwH2KDIcBSoSOseDHeKjtEImRHKxVXJAiF5W4HitjdNqDm vL6cC51FwRg/QHFMiSVvV+sKYUhJyUkhvTPFrUbUFdhcvDIR+VNostMorY2rX15B oQDh790MnWEfRrbdqbFcHxD7g/8zzClx1S/GLLcHGxecxyduHwSXl7Mf1aDI0Ox+ jVH7VY4+zjypCCjk00aI0B5cSsBWCaRtsSvyI+WzR6bbzV/16dH/cC1YTew61wEi DpmywqVBdns8/rvIZJOFBBpwCohWaZbF9K8mDky3IP6gs/kdyN8zz0p27blXhYQV e4NSn+c+dj6qNhnaKDP8PHB/mjhvXVC9iIHWr5ABpRu00E07PUuy7Gqeoj+wr1Ej tInXjuM0YlWf2OgRgPTotKk3h8ERTCbuwUFnt0NHRXbwjmIodJfHIjp5iWfnofRB FHpaPaViWW1dsdh1tSwn5RMq7NIAw+Fz0YxPHpH5CUlMHpoGmZfqOP3BMdTWYmd0 cQXKYyT9iZAGWBS5fRF6EaNwVTmWB9IVjuaqdjQnknW91ALI+PhB1rKAllLohglU 03Qooj00MPhQ4JBqxZOhmGVFucZKxENZVs9G4j/BQstGirkq/5A= =bNGg -----END PGP SIGNATURE----- --opvfwbopasbraelv--