From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Subject: Re: [PATCH] Revert "i2c: dev: switch from register_chrdev to cdev API" Date: Sat, 28 May 2016 12:15:59 +0300 Message-ID: <20160528091559.GR11011@mwanda> References: <1464426467-1824-1-git-send-email-wsa@the-dreams.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from aserp1040.oracle.com ([141.146.126.69]:35112 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751147AbcE1JQU (ORCPT ); Sat, 28 May 2016 05:16:20 -0400 Content-Disposition: inline In-Reply-To: <1464426467-1824-1-git-send-email-wsa@the-dreams.de> Sender: linux-i2c-owner@vger.kernel.org List-Id: linux-i2c@vger.kernel.org To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Erico Nunes , kernel-janitors@vger.kernel.org, LKP On Sat, May 28, 2016 at 11:07:47AM +0200, Wolfram Sang wrote: > This reverts commit d6760b14d4a1243f918d983bba1e35c5a5cd5a6d. When > hitting Linus' tree, buildbots ran additional checks and found boot > problems. Although Dan Carpenter provided an obvious fix already, I > still could not reproduce one problem manually (at least not on a > Saturday morning). So we'll try again later after some more > investigation. > These kinds of use after frees don't always cause a runtime problem. I found it using static analysis, but I bet you could detect it if you enabled kasan. The other option is to enable PAGE_POISONING? regards, dan carpenter