From: kbuild test robot <lkp@intel.com>
To: Radoslaw Pietrzyk <radoslaw.pietrzyk@gmail.com>
Cc: kbuild-all@01.org, thomas.petazzoni@free-electrons.com,
gregkh@linuxfoundation.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: fbtft: Allows bpp to be set from dt
Date: Mon, 13 Mar 2017 06:12:58 +0800 [thread overview]
Message-ID: <201703130613.cotRnqVC%fengguang.wu@intel.com> (raw)
In-Reply-To: <1489137927-13347-2-git-send-email-radoslaw.pietrzyk@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3347 bytes --]
Hi Radoslaw,
[auto build test WARNING on staging/staging-testing]
[also build test WARNING on v4.11-rc2 next-20170310]
[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/Radoslaw-Pietrzyk/staging-fbtft-Allows-bpp-to-be-set-from-dt/20170313-053026
config: i386-randconfig-x000-201711 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from drivers/staging/fbtft/fbtft-core.c:19:
drivers/staging/fbtft/fbtft-core.c: In function 'fbtft_framebuffer_alloc':
drivers/staging/fbtft/fbtft-core.c:702:11: error: 'struct fbtft_platform_data' has no member named 'bpp'
if (pdata->bpp)
^
include/linux/compiler.h:160:30: note: in definition of macro '__trace_if'
if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
^~~~
>> drivers/staging/fbtft/fbtft-core.c:702:2: note: in expansion of macro 'if'
if (pdata->bpp)
^~
drivers/staging/fbtft/fbtft-core.c:702:11: error: 'struct fbtft_platform_data' has no member named 'bpp'
if (pdata->bpp)
^
include/linux/compiler.h:160:42: note: in definition of macro '__trace_if'
if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
^~~~
>> drivers/staging/fbtft/fbtft-core.c:702:2: note: in expansion of macro 'if'
if (pdata->bpp)
^~
drivers/staging/fbtft/fbtft-core.c:702:11: error: 'struct fbtft_platform_data' has no member named 'bpp'
if (pdata->bpp)
^
include/linux/compiler.h:171:16: note: in definition of macro '__trace_if'
______r = !!(cond); \
^~~~
>> drivers/staging/fbtft/fbtft-core.c:702:2: note: in expansion of macro 'if'
if (pdata->bpp)
^~
drivers/staging/fbtft/fbtft-core.c:703:14: error: 'struct fbtft_platform_data' has no member named 'bpp'
bpp = pdata->bpp;
^~
vim +/if +702 drivers/staging/fbtft/fbtft-core.c
686 }
687
688 /* defaults */
689 if (!fps)
690 fps = 20;
691 if (!bpp)
692 bpp = 16;
693
694 if (!pdata) {
695 dev_err(dev, "platform data is missing\n");
696 return NULL;
697 }
698
699 /* override driver values? */
700 if (pdata->fps)
701 fps = pdata->fps;
> 702 if (pdata->bpp)
703 bpp = pdata->bpp;
704 if (pdata->txbuflen)
705 txbuflen = pdata->txbuflen;
706 if (pdata->display.init_sequence)
707 init_sequence = pdata->display.init_sequence;
708 if (pdata->gamma)
709 gamma = pdata->gamma;
710 if (pdata->display.debug)
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 21476 bytes --]
next prev parent reply other threads:[~2017-03-12 22:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-10 9:25 [PATCH] Allows setting bpp from dt Radoslaw Pietrzyk
2017-03-10 9:25 ` [PATCH] staging: fbtft: Allows bpp to be set " Radoslaw Pietrzyk
2017-03-12 14:27 ` Greg KH
2017-03-12 22:12 ` kbuild test robot [this message]
2017-03-13 10:28 ` [PATCH v2] " Radoslaw Pietrzyk
2017-03-13 11:00 ` Dan Carpenter
2017-03-13 11:07 ` Radosław Pietrzyk
2017-03-13 11:11 ` Dan Carpenter
2017-03-13 11:16 ` Radosław Pietrzyk
2017-03-13 11:19 ` Dan Carpenter
2017-03-13 11:21 ` Radosław Pietrzyk
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=201703130613.cotRnqVC%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=radoslaw.pietrzyk@gmail.com \
--cc=thomas.petazzoni@free-electrons.com \
/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.