All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/rtc/rtc-v3020.c:76 v3020_mmio_map() warn: 'chip->ioaddress' not released on lines: 74.
@ 2020-09-17  3:03 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-09-17  3:03 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2990 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Christoph Hellwig <hch@lst.de>
CC: Arnd Bergmann <arnd@arndb.de>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5925fa68fe8244651b3f78a88c4af99190a88f0d
commit: 97c9801a15e5b0c9a20e495b2ccabf010894e74b asm-generic: don't provide ioremap for CONFIG_MMU
date:   10 months ago
:::::: branch date: 8 hours ago
:::::: commit date: 10 months ago
config: h8300-randconfig-m031-20200916 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
drivers/rtc/rtc-v3020.c:76 v3020_mmio_map() warn: 'chip->ioaddress' not released on lines: 74.
drivers/tty/serial/altera_uart.c:618 altera_uart_probe() warn: 'port->membase' not released on lines: 600.

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=97c9801a15e5b0c9a20e495b2ccabf010894e74b
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 97c9801a15e5b0c9a20e495b2ccabf010894e74b
vim +76 drivers/rtc/rtc-v3020.c

362600fe60fd18 Raphael Assenat 2006-06-25  60  
96615841e170f0 Mike Rapoport   2009-04-02  61  
96615841e170f0 Mike Rapoport   2009-04-02  62  static int v3020_mmio_map(struct v3020 *chip, struct platform_device *pdev,
96615841e170f0 Mike Rapoport   2009-04-02  63  			  struct v3020_platform_data *pdata)
96615841e170f0 Mike Rapoport   2009-04-02  64  {
96615841e170f0 Mike Rapoport   2009-04-02  65  	if (pdev->num_resources != 1)
96615841e170f0 Mike Rapoport   2009-04-02  66  		return -EBUSY;
96615841e170f0 Mike Rapoport   2009-04-02  67  
96615841e170f0 Mike Rapoport   2009-04-02  68  	if (pdev->resource[0].flags != IORESOURCE_MEM)
96615841e170f0 Mike Rapoport   2009-04-02  69  		return -EBUSY;
96615841e170f0 Mike Rapoport   2009-04-02  70  
96615841e170f0 Mike Rapoport   2009-04-02  71  	chip->leftshift = pdata->leftshift;
96615841e170f0 Mike Rapoport   2009-04-02  72  	chip->ioaddress = ioremap(pdev->resource[0].start, 1);
96615841e170f0 Mike Rapoport   2009-04-02  73  	if (chip->ioaddress == NULL)
96615841e170f0 Mike Rapoport   2009-04-02  74  		return -EBUSY;
96615841e170f0 Mike Rapoport   2009-04-02  75  
96615841e170f0 Mike Rapoport   2009-04-02 @76  	return 0;
96615841e170f0 Mike Rapoport   2009-04-02  77  }
96615841e170f0 Mike Rapoport   2009-04-02  78  

:::::: The code at line 76 was first introduced by commit
:::::: 96615841e170f0108832e64a90d51b469573a472 rtc-v3020: add ability to access v3020 chip with GPIOs

:::::: TO: Mike Rapoport <mike@compulab.co.il>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 23577 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-17  3:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17  3:03 drivers/rtc/rtc-v3020.c:76 v3020_mmio_map() warn: 'chip->ioaddress' not released on lines: 74 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.