Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1408398

Re: [PATCH] Revert "i2c: dev: switch from register_chrdev to cdev API"

From Dan Carpenter <dan.carpenter@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] Revert "i2c: dev: switch from register_chrdev to cdev API"
Date 2016-05-28 11:20 +0200
Message-ID <rDIzv-75v-1@gated-at.bofh.it> (permalink)
References <rDIpQ-72k-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] Revert "i2c: dev: switch from register_chrdev to cdev API" Wolfram Sang <wsa@the-dreams.de> - 2016-05-28 11:10 +0200
  Re: [PATCH] Revert "i2c: dev: switch from register_chrdev to cdev  API" Dan Carpenter <dan.carpenter@oracle.com> - 2016-05-28 11:20 +0200
    Re: [PATCH] Revert "i2c: dev: switch from register_chrdev to cdev  API" Wolfram Sang <wsa@the-dreams.de> - 2016-05-28 18:10 +0200
      Re: [PATCH] Revert "i2c: dev: switch from register_chrdev to cdev  API" Dan Carpenter <dan.carpenter@oracle.com> - 2016-05-30 09:10 +0200

csiph-web