lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201901050534.S350qrzd%fengguang.wu@intel.com>
Date:   Sat, 5 Jan 2019 05:45:19 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Sven Van Asbroeck <thesven73@...il.com>
Cc:     kbuild-all@...org, svendev@...x.com, robh+dt@...nel.org,
        linus.walleij@...aro.org, lee.jones@...aro.org,
        mark.rutland@....com, afaerber@...e.de, treding@...dia.com,
        david@...hnology.com, noralf@...nnes.org, johan@...nel.org,
        monstr@...str.eu, michal.vokac@...ft.com, arnd@...db.de,
        gregkh@...uxfoundation.org, john.garry@...wei.com,
        geert+renesas@...der.be, robin.murphy@....com,
        paul.gortmaker@...driver.com,
        sebastien.bourdelin@...oirfairelinux.com, icenowy@...c.io,
        stuyoder@...il.com, maxime.ripard@...tlin.com,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH fieldbus v6 6/6] fieldbus_dev: support HMS Profinet IRT
 industrial controller

Hi Sven,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v4.20]
[cannot apply to next-20190103]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Sven-Van-Asbroeck/Add-Fieldbus-subsystem-support-HMS-Profinet-card/20190104-123600
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> drivers/fieldbus/dev_core.c:230:27: warning: incorrect type in initializer (different base types)
   drivers/fieldbus/dev_core.c:230:27:    expected restricted __poll_t ( *poll )( ... )
   drivers/fieldbus/dev_core.c:230:27:    got unsigned int ( * )( ... )
--
>> drivers/fieldbus/anybuss/host.c:1350:25: warning: cast to restricted __be16
>> drivers/fieldbus/anybuss/host.c:1350:25: warning: cast to restricted __be16
>> drivers/fieldbus/anybuss/host.c:1350:25: warning: cast to restricted __be16
>> drivers/fieldbus/anybuss/host.c:1350:25: warning: cast to restricted __be16
--
>> drivers/fieldbus/anybuss/arcx-anybus.c:118:30: warning: incorrect type in initializer (different address spaces)
   drivers/fieldbus/anybuss/arcx-anybus.c:118:30:    expected void [noderef] <asn:2> *base
   drivers/fieldbus/anybuss/arcx-anybus.c:118:30:    got void *context
   drivers/fieldbus/anybuss/arcx-anybus.c:127:30: warning: incorrect type in initializer (different address spaces)
   drivers/fieldbus/anybuss/arcx-anybus.c:127:30:    expected void [noderef] <asn:2> *base
   drivers/fieldbus/anybuss/arcx-anybus.c:127:30:    got void *context
>> drivers/fieldbus/anybuss/arcx-anybus.c:157:16: warning: incorrect type in argument 3 (different address spaces)
   drivers/fieldbus/anybuss/arcx-anybus.c:157:16:    expected void *bus_context
   drivers/fieldbus/anybuss/arcx-anybus.c:157:16:    got void [noderef] <asn:2> *[assigned] base

vim +230 drivers/fieldbus/dev_core.c

238e0534 Sven Van Asbroeck 2019-01-03  224  
238e0534 Sven Van Asbroeck 2019-01-03  225  static const struct file_operations fieldbus_fops = {
238e0534 Sven Van Asbroeck 2019-01-03  226  	.open		= fieldbus_open,
238e0534 Sven Van Asbroeck 2019-01-03  227  	.release	= fieldbus_release,
238e0534 Sven Van Asbroeck 2019-01-03  228  	.read		= fieldbus_read,
238e0534 Sven Van Asbroeck 2019-01-03  229  	.write		= fieldbus_write,
238e0534 Sven Van Asbroeck 2019-01-03 @230  	.poll		= fieldbus_poll,
238e0534 Sven Van Asbroeck 2019-01-03  231  	.llseek		= generic_file_llseek,
238e0534 Sven Van Asbroeck 2019-01-03  232  	.owner		= THIS_MODULE,
238e0534 Sven Van Asbroeck 2019-01-03  233  };
238e0534 Sven Van Asbroeck 2019-01-03  234  

:::::: The code at line 230 was first introduced by commit
:::::: 238e053411976bb767ebc63e01522457d00b073e fieldbus_dev: add Fieldbus Device subsystem.

:::::: TO: Sven Van Asbroeck <thesven73@...il.com>
:::::: CC: 0day robot <lkp@...el.com>

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

Download attachment ".config.gz" of type "application/gzip" (67255 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ