All of lore.kernel.org
 help / color / mirror / Atom feed
* [arnd-playground:Wextra 31/32] drivers/s390/block/dasd_proc.c:64:32: warning: trigraph ignored, use -trigraphs to enable
@ 2020-10-19  7:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-10-19  7:29 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git Wextra
head:   5d0c476a9aa8d83304ee40320c1533a7443c6af5
commit: 51d8bbf29f744fc470126e3b0a5a64fd5c155f0d [31/32] kbuild: consolidate extra warnings in scripts/Makefile.extrawarn
config: s390-allyesconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/commit/?id=51d8bbf29f744fc470126e3b0a5a64fd5c155f0d
        git remote add arnd-playground https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git
        git fetch --no-tags arnd-playground Wextra
        git checkout 51d8bbf29f744fc470126e3b0a5a64fd5c155f0d
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390 

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

All warnings (new ones prefixed by >>):

   drivers/s390/block/dasd_proc.c: In function 'dasd_devices_show':
>> drivers/s390/block/dasd_proc.c:64:32: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs]
      64 |   seq_printf(m, "  at (???:??????)");
         |                                 

vim +64 drivers/s390/block/dasd_proc.c

^1da177e4c3f41 Linus Torvalds   2005-04-16   34  
^1da177e4c3f41 Linus Torvalds   2005-04-16   35  static int
^1da177e4c3f41 Linus Torvalds   2005-04-16   36  dasd_devices_show(struct seq_file *m, void *v)
^1da177e4c3f41 Linus Torvalds   2005-04-16   37  {
^1da177e4c3f41 Linus Torvalds   2005-04-16   38  	struct dasd_device *device;
8e09f21574ea30 Stefan Weinhuber 2008-01-26   39  	struct dasd_block *block;
^1da177e4c3f41 Linus Torvalds   2005-04-16   40  	char *substr;
^1da177e4c3f41 Linus Torvalds   2005-04-16   41  
^1da177e4c3f41 Linus Torvalds   2005-04-16   42  	device = dasd_device_from_devindex((unsigned long) v - 1);
^1da177e4c3f41 Linus Torvalds   2005-04-16   43  	if (IS_ERR(device))
^1da177e4c3f41 Linus Torvalds   2005-04-16   44  		return 0;
8e09f21574ea30 Stefan Weinhuber 2008-01-26   45  	if (device->block)
8e09f21574ea30 Stefan Weinhuber 2008-01-26   46  		block = device->block;
a5e2383991ee98 Stefan Weinhuber 2008-03-05   47  	else {
a5e2383991ee98 Stefan Weinhuber 2008-03-05   48  		dasd_put_device(device);
8e09f21574ea30 Stefan Weinhuber 2008-01-26   49  		return 0;
a5e2383991ee98 Stefan Weinhuber 2008-03-05   50  	}
^1da177e4c3f41 Linus Torvalds   2005-04-16   51  	/* Print device number. */
2a0217d5c7d22d Kay Sievers      2008-10-10   52  	seq_printf(m, "%s", dev_name(&device->cdev->dev));
^1da177e4c3f41 Linus Torvalds   2005-04-16   53  	/* Print discipline string. */
294001a80c9810 Stefan Haberland 2010-01-27   54  	if (device->discipline != NULL)
^1da177e4c3f41 Linus Torvalds   2005-04-16   55  		seq_printf(m, "(%s)", device->discipline->name);
^1da177e4c3f41 Linus Torvalds   2005-04-16   56  	else
^1da177e4c3f41 Linus Torvalds   2005-04-16   57  		seq_printf(m, "(none)");
^1da177e4c3f41 Linus Torvalds   2005-04-16   58  	/* Print kdev. */
8e09f21574ea30 Stefan Weinhuber 2008-01-26   59  	if (block->gdp)
^1da177e4c3f41 Linus Torvalds   2005-04-16   60  		seq_printf(m, " at (%3d:%6d)",
f331c0296f2a9f Tejun Heo        2008-09-03   61  			   MAJOR(disk_devt(block->gdp)),
f331c0296f2a9f Tejun Heo        2008-09-03   62  			   MINOR(disk_devt(block->gdp)));
^1da177e4c3f41 Linus Torvalds   2005-04-16   63  	else
^1da177e4c3f41 Linus Torvalds   2005-04-16  @64  		seq_printf(m, "  at (???:??????)");
^1da177e4c3f41 Linus Torvalds   2005-04-16   65  	/* Print device name. */
8e09f21574ea30 Stefan Weinhuber 2008-01-26   66  	if (block->gdp)
8e09f21574ea30 Stefan Weinhuber 2008-01-26   67  		seq_printf(m, " is %-8s", block->gdp->disk_name);
^1da177e4c3f41 Linus Torvalds   2005-04-16   68  	else
^1da177e4c3f41 Linus Torvalds   2005-04-16   69  		seq_printf(m, " is ????????");
^1da177e4c3f41 Linus Torvalds   2005-04-16   70  	/* Print devices features. */
c6eb7b7703ac4b Horst Hummel     2005-09-03   71  	substr = (device->features & DASD_FEATURE_READONLY) ? "(ro)" : " ";
^1da177e4c3f41 Linus Torvalds   2005-04-16   72  	seq_printf(m, "%4s: ", substr);
^1da177e4c3f41 Linus Torvalds   2005-04-16   73  	/* Print device status information. */
294001a80c9810 Stefan Haberland 2010-01-27   74  	switch (device->state) {
^1da177e4c3f41 Linus Torvalds   2005-04-16   75  	case DASD_STATE_NEW:
^1da177e4c3f41 Linus Torvalds   2005-04-16   76  		seq_printf(m, "new");
^1da177e4c3f41 Linus Torvalds   2005-04-16   77  		break;
^1da177e4c3f41 Linus Torvalds   2005-04-16   78  	case DASD_STATE_KNOWN:
^1da177e4c3f41 Linus Torvalds   2005-04-16   79  		seq_printf(m, "detected");
^1da177e4c3f41 Linus Torvalds   2005-04-16   80  		break;
^1da177e4c3f41 Linus Torvalds   2005-04-16   81  	case DASD_STATE_BASIC:
^1da177e4c3f41 Linus Torvalds   2005-04-16   82  		seq_printf(m, "basic");
^1da177e4c3f41 Linus Torvalds   2005-04-16   83  		break;
90f0094dc607ab Horst Hummel     2006-03-07   84  	case DASD_STATE_UNFMT:
b707dbe6c52e14 Horst Hummel     2006-03-09   85  		seq_printf(m, "unformatted");
90f0094dc607ab Horst Hummel     2006-03-07   86  		break;
^1da177e4c3f41 Linus Torvalds   2005-04-16   87  	case DASD_STATE_READY:
^1da177e4c3f41 Linus Torvalds   2005-04-16   88  	case DASD_STATE_ONLINE:
^1da177e4c3f41 Linus Torvalds   2005-04-16   89  		seq_printf(m, "active ");
8e09f21574ea30 Stefan Weinhuber 2008-01-26   90  		if (dasd_check_blocksize(block->bp_block))
^1da177e4c3f41 Linus Torvalds   2005-04-16   91  			seq_printf(m, "n/f	 ");
^1da177e4c3f41 Linus Torvalds   2005-04-16   92  		else
^1da177e4c3f41 Linus Torvalds   2005-04-16   93  			seq_printf(m,
7bf76f01695382 Jan Höppner      2017-08-15   94  				   "at blocksize: %u, %lu blocks, %lu MB",
8e09f21574ea30 Stefan Weinhuber 2008-01-26   95  				   block->bp_block, block->blocks,
8e09f21574ea30 Stefan Weinhuber 2008-01-26   96  				   ((block->bp_block >> 9) *
8e09f21574ea30 Stefan Weinhuber 2008-01-26   97  				    block->blocks) >> 11);
^1da177e4c3f41 Linus Torvalds   2005-04-16   98  		break;
^1da177e4c3f41 Linus Torvalds   2005-04-16   99  	default:
^1da177e4c3f41 Linus Torvalds   2005-04-16  100  		seq_printf(m, "no stat");
^1da177e4c3f41 Linus Torvalds   2005-04-16  101  		break;
^1da177e4c3f41 Linus Torvalds   2005-04-16  102  	}
^1da177e4c3f41 Linus Torvalds   2005-04-16  103  	dasd_put_device(device);
^1da177e4c3f41 Linus Torvalds   2005-04-16  104  	if (dasd_probeonly)
^1da177e4c3f41 Linus Torvalds   2005-04-16  105  		seq_printf(m, "(probeonly)");
^1da177e4c3f41 Linus Torvalds   2005-04-16  106  	seq_printf(m, "\n");
^1da177e4c3f41 Linus Torvalds   2005-04-16  107  	return 0;
^1da177e4c3f41 Linus Torvalds   2005-04-16  108  }
^1da177e4c3f41 Linus Torvalds   2005-04-16  109  

:::::: The code at line 64 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.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: 64415 bytes --]

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

only message in thread, other threads:[~2020-10-19  7:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19  7:29 [arnd-playground:Wextra 31/32] drivers/s390/block/dasd_proc.c:64:32: warning: trigraph ignored, use -trigraphs to enable 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.