All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Aman Jain <ahjain2706@gmail.com>,
	alexander.deucher@amd.com, christian.koenig@amd.com,
	airlied@linux.ie, daniel@ffwll.ch, amd-gfx@lists.freedesktop.org,
	linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com
Subject: Re: [PATCH] This patch replaces all the instances of dev_info with drm_info
Date: Wed, 23 Jun 2021 02:34:12 +0800	[thread overview]
Message-ID: <202106230232.qIWD7mLf-lkp@intel.com> (raw)
In-Reply-To: <YNGOEugOA232znQD@reb0rn>

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

Hi Aman,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.13-rc7 next-20210622]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Aman-Jain/This-patch-replaces-all-the-instances-of-dev_info-with-drm_info/20210622-151557
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a96bfed64c8986d6404e553f18203cae1f5ac7e6
config: powerpc64-randconfig-r001-20210622 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project b3634d3e88b7f26534a5057bff182b7dced584fc)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        # https://github.com/0day-ci/linux/commit/ca9c5b613cf15d038d10e80c402b78e5925fc31e
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Aman-Jain/This-patch-replaces-all-the-instances-of-dev_info-with-drm_info/20210622-151557
        git checkout ca9c5b613cf15d038d10e80c402b78e5925fc31e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 

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

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/radeon/radeon_drv.c:33:
   In file included from include/linux/compat.h:14:
   In file included from include/linux/sem.h:5:
   In file included from include/uapi/linux/sem.h:5:
   In file included from include/linux/ipc.h:5:
   In file included from include/linux/spinlock.h:51:
   In file included from include/linux/preempt.h:11:
   In file included from include/linux/list.h:9:
   In file included from include/linux/kernel.h:12:
   In file included from include/linux/bitops.h:32:
   In file included from arch/powerpc/include/asm/bitops.h:62:
   arch/powerpc/include/asm/barrier.h:49:9: warning: '__lwsync' macro redefined [-Wmacro-redefined]
   #define __lwsync()      __asm__ __volatile__ (stringify_in_c(LWSYNC) : : :"memory")
           ^
   <built-in>:309:9: note: previous definition is here
   #define __lwsync __builtin_ppc_lwsync
           ^
>> drivers/gpu/drm/radeon/radeon_drv.c:312:4: error: no member named 'dev' in 'struct device'
                           drm_info(&pdev->dev,
                           ^~~~~~~~~~~~~~~~~~~~
   include/drm/drm_print.h:416:2: note: expanded from macro 'drm_info'
           __drm_printk((drm), info,, fmt, ##__VA_ARGS__)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/drm/drm_print.h:412:27: note: expanded from macro '__drm_printk'
           dev_##level##type((drm)->dev, "[drm] " fmt, ##__VA_ARGS__)
           ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/dev_printk.h:118:12: note: expanded from macro 'dev_info'
           _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__)
                     ^~~
   drivers/gpu/drm/radeon/radeon_drv.c:324:4: error: no member named 'dev' in 'struct device'
                           drm_info(&pdev->dev,
                           ^~~~~~~~~~~~~~~~~~~~
   include/drm/drm_print.h:416:2: note: expanded from macro 'drm_info'
           __drm_printk((drm), info,, fmt, ##__VA_ARGS__)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/drm/drm_print.h:412:27: note: expanded from macro '__drm_printk'
           dev_##level##type((drm)->dev, "[drm] " fmt, ##__VA_ARGS__)
           ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/dev_printk.h:118:12: note: expanded from macro 'dev_info'
           _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__)
                     ^~~
   1 warning and 2 errors generated.


vim +312 drivers/gpu/drm/radeon/radeon_drv.c

   292	
   293	static int radeon_pci_probe(struct pci_dev *pdev,
   294				    const struct pci_device_id *ent)
   295	{
   296		unsigned long flags = 0;
   297		struct drm_device *dev;
   298		int ret;
   299	
   300		if (!ent)
   301			return -ENODEV; /* Avoid NULL-ptr deref in drm_get_pci_dev */
   302	
   303		flags = ent->driver_data;
   304	
   305		if (!radeon_si_support) {
   306			switch (flags & RADEON_FAMILY_MASK) {
   307			case CHIP_TAHITI:
   308			case CHIP_PITCAIRN:
   309			case CHIP_VERDE:
   310			case CHIP_OLAND:
   311			case CHIP_HAINAN:
 > 312				drm_info(&pdev->dev,
   313					 "SI support disabled by module param\n");
   314				return -ENODEV;
   315			}
   316		}
   317		if (!radeon_cik_support) {
   318			switch (flags & RADEON_FAMILY_MASK) {
   319			case CHIP_KAVERI:
   320			case CHIP_BONAIRE:
   321			case CHIP_HAWAII:
   322			case CHIP_KABINI:
   323			case CHIP_MULLINS:
   324				drm_info(&pdev->dev,
   325					 "CIK support disabled by module param\n");
   326				return -ENODEV;
   327			}
   328		}
   329	
   330		if (vga_switcheroo_client_probe_defer(pdev))
   331			return -EPROBE_DEFER;
   332	
   333		/* Get rid of things like offb */
   334		ret = drm_fb_helper_remove_conflicting_pci_framebuffers(pdev, "radeondrmfb");
   335		if (ret)
   336			return ret;
   337	
   338		dev = drm_dev_alloc(&kms_driver, &pdev->dev);
   339		if (IS_ERR(dev))
   340			return PTR_ERR(dev);
   341	
   342		ret = pci_enable_device(pdev);
   343		if (ret)
   344			goto err_free;
   345	
   346		pci_set_drvdata(pdev, dev);
   347	
   348		if (pci_find_capability(pdev, PCI_CAP_ID_AGP))
   349			dev->agp = drm_agp_init(dev);
   350		if (dev->agp) {
   351			dev->agp->agp_mtrr = arch_phys_wc_add(
   352				dev->agp->agp_info.aper_base,
   353				dev->agp->agp_info.aper_size *
   354				1024 * 1024);
   355		}
   356	
   357		ret = drm_dev_register(dev, ent->driver_data);
   358		if (ret)
   359			goto err_agp;
   360	
   361		return 0;
   362	
   363	err_agp:
   364		if (dev->agp)
   365			arch_phys_wc_del(dev->agp->agp_mtrr);
   366		kfree(dev->agp);
   367		pci_disable_device(pdev);
   368	err_free:
   369		drm_dev_put(dev);
   370		return ret;
   371	}
   372	

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

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Aman Jain <ahjain2706@gmail.com>,
	alexander.deucher@amd.com, christian.koenig@amd.com,
	airlied@linux.ie, daniel@ffwll.ch, amd-gfx@lists.freedesktop.org,
	linux-kernel@vger.kernel.org
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org
Subject: Re: [PATCH] This patch replaces all the instances of dev_info with drm_info
Date: Wed, 23 Jun 2021 02:34:12 +0800	[thread overview]
Message-ID: <202106230232.qIWD7mLf-lkp@intel.com> (raw)
In-Reply-To: <YNGOEugOA232znQD@reb0rn>

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

Hi Aman,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.13-rc7 next-20210622]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Aman-Jain/This-patch-replaces-all-the-instances-of-dev_info-with-drm_info/20210622-151557
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a96bfed64c8986d6404e553f18203cae1f5ac7e6
config: powerpc64-randconfig-r001-20210622 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project b3634d3e88b7f26534a5057bff182b7dced584fc)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        # https://github.com/0day-ci/linux/commit/ca9c5b613cf15d038d10e80c402b78e5925fc31e
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Aman-Jain/This-patch-replaces-all-the-instances-of-dev_info-with-drm_info/20210622-151557
        git checkout ca9c5b613cf15d038d10e80c402b78e5925fc31e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 

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

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/radeon/radeon_drv.c:33:
   In file included from include/linux/compat.h:14:
   In file included from include/linux/sem.h:5:
   In file included from include/uapi/linux/sem.h:5:
   In file included from include/linux/ipc.h:5:
   In file included from include/linux/spinlock.h:51:
   In file included from include/linux/preempt.h:11:
   In file included from include/linux/list.h:9:
   In file included from include/linux/kernel.h:12:
   In file included from include/linux/bitops.h:32:
   In file included from arch/powerpc/include/asm/bitops.h:62:
   arch/powerpc/include/asm/barrier.h:49:9: warning: '__lwsync' macro redefined [-Wmacro-redefined]
   #define __lwsync()      __asm__ __volatile__ (stringify_in_c(LWSYNC) : : :"memory")
           ^
   <built-in>:309:9: note: previous definition is here
   #define __lwsync __builtin_ppc_lwsync
           ^
>> drivers/gpu/drm/radeon/radeon_drv.c:312:4: error: no member named 'dev' in 'struct device'
                           drm_info(&pdev->dev,
                           ^~~~~~~~~~~~~~~~~~~~
   include/drm/drm_print.h:416:2: note: expanded from macro 'drm_info'
           __drm_printk((drm), info,, fmt, ##__VA_ARGS__)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/drm/drm_print.h:412:27: note: expanded from macro '__drm_printk'
           dev_##level##type((drm)->dev, "[drm] " fmt, ##__VA_ARGS__)
           ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/dev_printk.h:118:12: note: expanded from macro 'dev_info'
           _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__)
                     ^~~
   drivers/gpu/drm/radeon/radeon_drv.c:324:4: error: no member named 'dev' in 'struct device'
                           drm_info(&pdev->dev,
                           ^~~~~~~~~~~~~~~~~~~~
   include/drm/drm_print.h:416:2: note: expanded from macro 'drm_info'
           __drm_printk((drm), info,, fmt, ##__VA_ARGS__)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/drm/drm_print.h:412:27: note: expanded from macro '__drm_printk'
           dev_##level##type((drm)->dev, "[drm] " fmt, ##__VA_ARGS__)
           ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/dev_printk.h:118:12: note: expanded from macro 'dev_info'
           _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__)
                     ^~~
   1 warning and 2 errors generated.


vim +312 drivers/gpu/drm/radeon/radeon_drv.c

   292	
   293	static int radeon_pci_probe(struct pci_dev *pdev,
   294				    const struct pci_device_id *ent)
   295	{
   296		unsigned long flags = 0;
   297		struct drm_device *dev;
   298		int ret;
   299	
   300		if (!ent)
   301			return -ENODEV; /* Avoid NULL-ptr deref in drm_get_pci_dev */
   302	
   303		flags = ent->driver_data;
   304	
   305		if (!radeon_si_support) {
   306			switch (flags & RADEON_FAMILY_MASK) {
   307			case CHIP_TAHITI:
   308			case CHIP_PITCAIRN:
   309			case CHIP_VERDE:
   310			case CHIP_OLAND:
   311			case CHIP_HAINAN:
 > 312				drm_info(&pdev->dev,
   313					 "SI support disabled by module param\n");
   314				return -ENODEV;
   315			}
   316		}
   317		if (!radeon_cik_support) {
   318			switch (flags & RADEON_FAMILY_MASK) {
   319			case CHIP_KAVERI:
   320			case CHIP_BONAIRE:
   321			case CHIP_HAWAII:
   322			case CHIP_KABINI:
   323			case CHIP_MULLINS:
   324				drm_info(&pdev->dev,
   325					 "CIK support disabled by module param\n");
   326				return -ENODEV;
   327			}
   328		}
   329	
   330		if (vga_switcheroo_client_probe_defer(pdev))
   331			return -EPROBE_DEFER;
   332	
   333		/* Get rid of things like offb */
   334		ret = drm_fb_helper_remove_conflicting_pci_framebuffers(pdev, "radeondrmfb");
   335		if (ret)
   336			return ret;
   337	
   338		dev = drm_dev_alloc(&kms_driver, &pdev->dev);
   339		if (IS_ERR(dev))
   340			return PTR_ERR(dev);
   341	
   342		ret = pci_enable_device(pdev);
   343		if (ret)
   344			goto err_free;
   345	
   346		pci_set_drvdata(pdev, dev);
   347	
   348		if (pci_find_capability(pdev, PCI_CAP_ID_AGP))
   349			dev->agp = drm_agp_init(dev);
   350		if (dev->agp) {
   351			dev->agp->agp_mtrr = arch_phys_wc_add(
   352				dev->agp->agp_info.aper_base,
   353				dev->agp->agp_info.aper_size *
   354				1024 * 1024);
   355		}
   356	
   357		ret = drm_dev_register(dev, ent->driver_data);
   358		if (ret)
   359			goto err_agp;
   360	
   361		return 0;
   362	
   363	err_agp:
   364		if (dev->agp)
   365			arch_phys_wc_del(dev->agp->agp_mtrr);
   366		kfree(dev->agp);
   367		pci_disable_device(pdev);
   368	err_free:
   369		drm_dev_put(dev);
   370		return ret;
   371	}
   372	

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

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

[-- Attachment #3: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH] This patch replaces all the instances of dev_info with drm_info
Date: Wed, 23 Jun 2021 02:34:12 +0800	[thread overview]
Message-ID: <202106230232.qIWD7mLf-lkp@intel.com> (raw)
In-Reply-To: <YNGOEugOA232znQD@reb0rn>

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

Hi Aman,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.13-rc7 next-20210622]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Aman-Jain/This-patch-replaces-all-the-instances-of-dev_info-with-drm_info/20210622-151557
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a96bfed64c8986d6404e553f18203cae1f5ac7e6
config: powerpc64-randconfig-r001-20210622 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project b3634d3e88b7f26534a5057bff182b7dced584fc)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        # https://github.com/0day-ci/linux/commit/ca9c5b613cf15d038d10e80c402b78e5925fc31e
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Aman-Jain/This-patch-replaces-all-the-instances-of-dev_info-with-drm_info/20210622-151557
        git checkout ca9c5b613cf15d038d10e80c402b78e5925fc31e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 

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

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/radeon/radeon_drv.c:33:
   In file included from include/linux/compat.h:14:
   In file included from include/linux/sem.h:5:
   In file included from include/uapi/linux/sem.h:5:
   In file included from include/linux/ipc.h:5:
   In file included from include/linux/spinlock.h:51:
   In file included from include/linux/preempt.h:11:
   In file included from include/linux/list.h:9:
   In file included from include/linux/kernel.h:12:
   In file included from include/linux/bitops.h:32:
   In file included from arch/powerpc/include/asm/bitops.h:62:
   arch/powerpc/include/asm/barrier.h:49:9: warning: '__lwsync' macro redefined [-Wmacro-redefined]
   #define __lwsync()      __asm__ __volatile__ (stringify_in_c(LWSYNC) : : :"memory")
           ^
   <built-in>:309:9: note: previous definition is here
   #define __lwsync __builtin_ppc_lwsync
           ^
>> drivers/gpu/drm/radeon/radeon_drv.c:312:4: error: no member named 'dev' in 'struct device'
                           drm_info(&pdev->dev,
                           ^~~~~~~~~~~~~~~~~~~~
   include/drm/drm_print.h:416:2: note: expanded from macro 'drm_info'
           __drm_printk((drm), info,, fmt, ##__VA_ARGS__)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/drm/drm_print.h:412:27: note: expanded from macro '__drm_printk'
           dev_##level##type((drm)->dev, "[drm] " fmt, ##__VA_ARGS__)
           ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/dev_printk.h:118:12: note: expanded from macro 'dev_info'
           _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__)
                     ^~~
   drivers/gpu/drm/radeon/radeon_drv.c:324:4: error: no member named 'dev' in 'struct device'
                           drm_info(&pdev->dev,
                           ^~~~~~~~~~~~~~~~~~~~
   include/drm/drm_print.h:416:2: note: expanded from macro 'drm_info'
           __drm_printk((drm), info,, fmt, ##__VA_ARGS__)
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/drm/drm_print.h:412:27: note: expanded from macro '__drm_printk'
           dev_##level##type((drm)->dev, "[drm] " fmt, ##__VA_ARGS__)
           ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/dev_printk.h:118:12: note: expanded from macro 'dev_info'
           _dev_info(dev, dev_fmt(fmt), ##__VA_ARGS__)
                     ^~~
   1 warning and 2 errors generated.


vim +312 drivers/gpu/drm/radeon/radeon_drv.c

   292	
   293	static int radeon_pci_probe(struct pci_dev *pdev,
   294				    const struct pci_device_id *ent)
   295	{
   296		unsigned long flags = 0;
   297		struct drm_device *dev;
   298		int ret;
   299	
   300		if (!ent)
   301			return -ENODEV; /* Avoid NULL-ptr deref in drm_get_pci_dev */
   302	
   303		flags = ent->driver_data;
   304	
   305		if (!radeon_si_support) {
   306			switch (flags & RADEON_FAMILY_MASK) {
   307			case CHIP_TAHITI:
   308			case CHIP_PITCAIRN:
   309			case CHIP_VERDE:
   310			case CHIP_OLAND:
   311			case CHIP_HAINAN:
 > 312				drm_info(&pdev->dev,
   313					 "SI support disabled by module param\n");
   314				return -ENODEV;
   315			}
   316		}
   317		if (!radeon_cik_support) {
   318			switch (flags & RADEON_FAMILY_MASK) {
   319			case CHIP_KAVERI:
   320			case CHIP_BONAIRE:
   321			case CHIP_HAWAII:
   322			case CHIP_KABINI:
   323			case CHIP_MULLINS:
   324				drm_info(&pdev->dev,
   325					 "CIK support disabled by module param\n");
   326				return -ENODEV;
   327			}
   328		}
   329	
   330		if (vga_switcheroo_client_probe_defer(pdev))
   331			return -EPROBE_DEFER;
   332	
   333		/* Get rid of things like offb */
   334		ret = drm_fb_helper_remove_conflicting_pci_framebuffers(pdev, "radeondrmfb");
   335		if (ret)
   336			return ret;
   337	
   338		dev = drm_dev_alloc(&kms_driver, &pdev->dev);
   339		if (IS_ERR(dev))
   340			return PTR_ERR(dev);
   341	
   342		ret = pci_enable_device(pdev);
   343		if (ret)
   344			goto err_free;
   345	
   346		pci_set_drvdata(pdev, dev);
   347	
   348		if (pci_find_capability(pdev, PCI_CAP_ID_AGP))
   349			dev->agp = drm_agp_init(dev);
   350		if (dev->agp) {
   351			dev->agp->agp_mtrr = arch_phys_wc_add(
   352				dev->agp->agp_info.aper_base,
   353				dev->agp->agp_info.aper_size *
   354				1024 * 1024);
   355		}
   356	
   357		ret = drm_dev_register(dev, ent->driver_data);
   358		if (ret)
   359			goto err_agp;
   360	
   361		return 0;
   362	
   363	err_agp:
   364		if (dev->agp)
   365			arch_phys_wc_del(dev->agp->agp_mtrr);
   366		kfree(dev->agp);
   367		pci_disable_device(pdev);
   368	err_free:
   369		drm_dev_put(dev);
   370		return ret;
   371	}
   372	

---
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: 30021 bytes --]

  reply	other threads:[~2021-06-22 18:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-22  7:15 [PATCH] This patch replaces all the instances of dev_info with drm_info Aman Jain
2021-06-22  7:15 ` Aman Jain
2021-06-22 18:34 ` kernel test robot [this message]
2021-06-22 18:34   ` kernel test robot
2021-06-22 18:34   ` kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202106230232.qIWD7mLf-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ahjain2706@gmail.com \
    --cc=airlied@linux.ie \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=daniel@ffwll.ch \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.