linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Amelie DELAUNAY <amelie.delaunay@st.com>
To: Felipe Balbi <balbi@kernel.org>,
	kernel test robot <lkp@intel.com>,
	Minas Harutyunyan <hminas@synopsys.com>
Cc: "kbuild-all@lists.01.org" <kbuild-all@lists.01.org>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [balbi-usb:testing/next 1/39] drivers/usb/dwc2/drd.c:80:36: error: 'struct dwc2_hsotg' has no member named 'test_mode'
Date: Fri, 24 Jul 2020 14:31:23 +0200	[thread overview]
Message-ID: <946c028b-5ee8-f604-2f4c-ba4256a313f3@st.com> (raw)
In-Reply-To: <a8176140-3c57-1d64-ba2b-a24b23bc4201@st.com>

On 7/24/20 12:48 PM, Amelie DELAUNAY wrote:
> On 7/24/20 9:59 AM, Amelie DELAUNAY wrote:
>> Hi Felipe,
>>
>> On 7/24/20 9:51 AM, Felipe Balbi wrote:
>>> kernel test robot <lkp@intel.com> writes:
>>>
>>>> tree:   
>>>> https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git 
>>>> testing/next
>>>> head:   74dbc49b08d37ed9d4fd440d8896626733f80564
>>>> commit: bc0f0d4a5853e32ba97a0318f774570428fc5634 [1/39] usb: dwc2: 
>>>> override PHY input signals with usb role switch support
>>>> config: nios2-randconfig-r002-20200724 (attached as .config)
>>>> compiler: nios2-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
>>>>          git checkout bc0f0d4a5853e32ba97a0318f774570428fc5634
>>>>          # save the attached .config to linux build tree
>>>>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 
>>>> make.cross ARCH=nios2
>>>>
>>>> If you fix the issue, kindly add following tag as appropriate
>>>> Reported-by: kernel test robot <lkp@intel.com>
>>>>
>>>> All errors (new ones prefixed by >>):
>>>>
>>>>     drivers/usb/dwc2/drd.c: In function 'dwc2_drd_role_sw_set':
>>>>>> drivers/usb/dwc2/drd.c:80:36: error: 'struct dwc2_hsotg' has no 
>>>>>> member named 'test_mode'
>>>>        80 |  if (role == USB_ROLE_NONE && hsotg->test_mode) {
>>>
>>> weird, this compiled just fine here with allmodconfig on AArch64.
>>>
>>> /me goes check. Oh, I see what's happening, hsotg->test_mode is only
>>> compiled on Peripheral-only and Dual-role builds. I'm assuming this was
>>> a Host-only build. Then the problem triggers because drd.o is
>>> unconditionally added to the binary.
>>>
>>> dwc2-y                    := core.o core_intr.o platform.o drd.o
>>>
>>> Is this an old problem or was it triggered by $subject?
>>>
>>
>> I sent a mail yesterday (https://lkml.org/lkml/2020/7/23/114) to warn 
>> about the upcoming v2.
>>
>> This build issue is fixed in the v2 
>> (https://lore.kernel.org/patchwork/project/lkml/list/?series=454729).
>>
> 
> Build issue fixed in v3 instead:
> https://lore.kernel.org/patchwork/project/lkml/list/?series=454936
> 

Drop the previous "Add USB role switch support to DWC2" patchset. I'm 
preparing a new patchset with fixes to address this build issue and 
remarks reported by Martin Blumenstingl.

>> Regards,
>> Amelie
>>

      reply	other threads:[~2020-07-24 12:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-24  5:17 [balbi-usb:testing/next 1/39] drivers/usb/dwc2/drd.c:80:36: error: 'struct dwc2_hsotg' has no member named 'test_mode' kernel test robot
2020-07-24  7:51 ` Felipe Balbi
2020-07-24  7:59   ` Amelie DELAUNAY
2020-07-24 10:48     ` Amelie DELAUNAY
2020-07-24 12:31       ` Amelie DELAUNAY [this message]

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=946c028b-5ee8-f604-2f4c-ba4256a313f3@st.com \
    --to=amelie.delaunay@st.com \
    --cc=balbi@kernel.org \
    --cc=hminas@synopsys.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=lkp@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).