Re: [PATCH 6/7] AGPGART-UniNorth: Rename a jump label in uninorth_create_gatt_table()

From: kbuild test robot
Date: Thu Sep 15 2016 - 13:39:19 EST


Hi Markus,

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v4.8-rc6 next-20160915]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url: https://github.com/0day-ci/linux/commits/SF-Markus-Elfring/AGPGART-Fine-tuning-for-four-function-implementations/20160914-045406
base: git://people.freedesktop.org/~airlied/linux.git drm-next
config: powerpc-pmac32_defconfig (attached as .config)
compiler: powerpc-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc

All errors (new ones prefixed by >>):

drivers/char/agp/uninorth-agp.c: In function 'uninorth_create_gatt_table':
>> drivers/char/agp/uninorth-agp.c:426:3: error: label 'enomem' used but not defined
goto enomem;
^

vim +/enomem +426 drivers/char/agp/uninorth-agp.c

e8a5f9001 Michel Dänzer 2009-08-04 420 /* Need to clear out any dirty data still sitting in caches */
e8a5f9001 Michel Dänzer 2009-08-04 421 flush_dcache_range((unsigned long)table,
79905ad50 Paul Mackerras 2010-06-01 422 (unsigned long)table_end + 1);
5ada62b10 Denis Kirjanov 2015-06-12 423 bridge->gatt_table = vmap(uninorth_priv.pages_arr, (1 << page_order), 0, PAGE_KERNEL_NCG);
e8a5f9001 Michel Dänzer 2009-08-04 424
e8a5f9001 Michel Dänzer 2009-08-04 425 if (bridge->gatt_table == NULL)
e8a5f9001 Michel Dänzer 2009-08-04 @426 goto enomem;
e8a5f9001 Michel Dänzer 2009-08-04 427
6a12235c7 David Woodhouse 2009-07-29 428 bridge->gatt_bus_addr = virt_to_phys(table);
^1da177e4 Linus Torvalds 2005-04-16 429

:::::: The code at line 426 was first introduced by commit
:::::: e8a5f900148d058bce2d7bdce3d6bcbcb40267ec agp/uninorth: Simplify cache flushing.

:::::: TO: Michel Dänzer <daenzer@xxxxxxxxxx>
:::::: CC: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data