From: kbuild test robot <lkp@intel.com>
To: Naeil ZOUEIDI <naeilzoueidi@ubuntu.com>
Cc: kbuild-all@01.org, gregkh@linuxfoundation.org,
bankarsandhya512@gmail.com, isdn@linux-pingi.de,
sudipm.mukherjee@gmail.com, arnd@arndb.de,
ansonjacob.aj@gmail.com, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org,
Naeil ZOUEIDI <naeilzoueidi@ubuntu.com>
Subject: Re: [PATCH] This is a patch to the capi.c file that fixes one instance of the following error: ERROR: do not use assignment in if condition
Date: Sun, 6 Nov 2016 17:28:30 +0800 [thread overview]
Message-ID: <201611061747.eFAXJFiE%fengguang.wu@intel.com> (raw)
In-Reply-To: <20161106085515.24141-1-naeilzoueidi@ubuntu.com>
[-- Attachment #1: Type: text/plain, Size: 2132 bytes --]
Hi Naeil,
[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.9-rc4 next-20161028]
[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/Naeil-ZOUEIDI/This-is-a-patch-to-the-capi-c-file-that-fixes-one-instance-of-the-following-error-ERROR-do-not-use-assignment-in-if-condition/20161106-165820
config: i386-randconfig-x077-201645 (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 error/warnings (new ones prefixed by >>):
drivers/staging/i4l/act2000/capi.c: In function 'actcapi_data_b3_ind':
>> drivers/staging/i4l/act2000/capi.c:571:32: error: expected ')' before ';' token
skb = alloc_skb(11, GFP_ATOMIC;
^
>> drivers/staging/i4l/act2000/capi.c:586:1: error: expected ';' before '}' token
}
^
>> drivers/staging/i4l/act2000/capi.c:586:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
vim +571 drivers/staging/i4l/act2000/capi.c
565 return 0;
566 if (card->bch[chan].plci != plci)
567 return 0;
568 blocknr = msg->msg.data_b3_ind.blocknr;
569 skb_pull(skb, 19);
570 card->interface.rcvcallb_skb(card->myid, chan, skb);
> 571 skb = alloc_skb(11, GFP_ATOMIC;
572 if (!skb) {
573 printk(KERN_WARNING "actcapi: alloc_skb failed\n");
574 return 1;
575 }
576 msg = (actcapi_msg *)skb_put(skb, 11);
577 msg->hdr.len = 11;
578 msg->hdr.applicationID = 1;
579 msg->hdr.cmd.cmd = 0x86;
580 msg->hdr.cmd.subcmd = 0x03;
581 msg->hdr.msgnum = actcapi_nextsmsg(card);
582 msg->msg.data_b3_resp.ncci = ncci;
583 msg->msg.data_b3_resp.blocknr = blocknr;
584 ACTCAPI_QUEUE_TX;
585 return 1;
> 586 }
587
588 /*
589 * Walk over ackq, unlink DATA_B3_REQ from it, if
---
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: 29790 bytes --]
prev parent reply other threads:[~2016-11-06 9:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-06 8:55 Naeil ZOUEIDI
2016-11-06 9:28 ` kbuild test robot [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=201611061747.eFAXJFiE%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=ansonjacob.aj@gmail.com \
--cc=arnd@arndb.de \
--cc=bankarsandhya512@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=isdn@linux-pingi.de \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=naeilzoueidi@ubuntu.com \
--cc=sudipm.mukherjee@gmail.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
all inboxes | Powered by JetHome®