1. 16 3月, 2017 1 次提交
    • P
      hwrng: geode - Revert managed API changes · 8c75704e
      Prarit Bhargava 提交于
      After commit e9afc746 ("hwrng: geode - Use linux/io.h instead of
      asm/io.h") the geode-rng driver uses devres with pci_dev->dev to keep
      track of resources, but does not actually register a PCI driver.  This
      results in the following issues:
      
      1.  The driver leaks memory because the driver does not attach to a
      device.  The driver only uses the PCI device as a reference.   devm_*()
      functions will release resources on driver detach, which the geode-rng
      driver will never do.  As a result,
      
      2.  The driver cannot be reloaded because there is always a use of the
      ioport and region after the first load of the driver.
      
      Revert the changes made by  e9afc746 ("hwrng: geode - Use linux/io.h
      instead of asm/io.h").
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NPrarit Bhargava <prarit@redhat.com>
      Fixes: 6e9b5e76 ("hwrng: geode - Migrate to managed API")
      Cc: Matt Mackall <mpm@selenic.com>
      Cc: Corentin LABBE <clabbe.montjoie@gmail.com>
      Cc: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
      Cc: Wei Yongjun <weiyongjun1@huawei.com>
      Cc: linux-crypto@vger.kernel.org
      Cc: linux-geode@lists.infradead.org
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      8c75704e
  2. 22 9月, 2016 1 次提交
  3. 13 9月, 2016 2 次提交
  4. 02 10月, 2014 1 次提交
  5. 25 6月, 2009 1 次提交
  6. 27 10月, 2008 1 次提交
  7. 11 1月, 2008 1 次提交
  8. 12 1月, 2007 1 次提交
  9. 01 8月, 2006 1 次提交
  10. 27 6月, 2006 2 次提交