Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1364263

Re: [PATCH 08/13] eeprom: at24: call read and write routines via function pointers

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 08/13] eeprom: at24: call read and write routines via function pointers
Date 2016-03-24 16:20 +0100
Message-ID <rgfdg-4ss-9@gated-at.bofh.it> (permalink)
References <rgeTT-42l-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Bartosz,

[auto build test ERROR on next-20160324]
[cannot apply to v4.5-rc7 v4.5-rc6 v4.5-rc5 v4.5]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Bartosz-Golaszewski/eeprom-support-for-at24cs-and-at24mac/20160324-230008
config: x86_64-randconfig-x012-201612 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/misc/eeprom/at24.c: In function 'at24_probe':
>> drivers/misc/eeprom/at24.c:617:18: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
     at24->read_func = at24_read;
                     ^
   drivers/misc/eeprom/at24.c:618:19: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
     at24->write_func = at24_write;
                      ^
   cc1: some warnings being treated as errors

vim +617 drivers/misc/eeprom/at24.c

   611		mutex_init(&at24->wrbuf_lock);
   612		at24->use_smbus = use_smbus;
   613		at24->use_smbus_write = use_smbus_write;
   614		at24->chip = chip;
   615		at24->num_addresses = num_addresses;
   616	
 > 617		at24->read_func = at24_read;
   618		at24->write_func = at24_write;
   619	
   620		writable = !(chip.flags & AT24_FLAG_READONLY);

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/13] eeprom: support for at24cs and at24mac Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 15:50 +0100
  [PATCH 08/13] eeprom: at24: call read and write routines via function pointers Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
    Re: [PATCH 08/13] eeprom: at24: call read and write routines via  function pointers kbuild test robot <lkp@intel.com> - 2016-03-24 16:20 +0100
  [PATCH 13/13] eeprom: at24: add at24mac chips to the list of supported devices Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
  [PATCH 07/13] eeprom: at24: support reading of the serial number Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
  [PATCH 01/13] eeprom: at24: remove a reduntant if Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
  [PATCH 05/13] eeprom: at24: replace msleep() with usleep_range() Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
  [PATCH 12/13] eeprom: at24: add support for at24mac series Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
  [PATCH 09/13] eeprom: at24: use at24cs_serial_read() Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
  [PATCH 10/13] eeprom: at24: add the at24cs series to the list of supported devices Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
  [PATCH 11/13] eeprom: at24: add at24mac series flag Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100

csiph-web