Re: [PATCH 1/2] staging: ks7010: Unnecessary parentheses are removed to make coder nicer.

From: kbuild test robot
Date: Mon Feb 20 2017 - 02:25:50 EST

Hi Arushi,

[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.10 next-20170217]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

config: i386-randconfig-x012-201708 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

drivers/staging/ks7010/ks_hostif.c: In function 'get_current_ap':
>> drivers/staging/ks7010/ks_hostif.c:116:5: error: incompatible types when assigning to type 'struct local_ap_t *' from type 'struct local_ap_t'
ap = priv->current_ap;

vim +116 drivers/staging/ks7010/ks_hostif.c

110 struct local_ap_t *ap;
111 union iwreq_data wrqu;
112 struct net_device *netdev = priv->net_dev;
113 int rc = 0;
115 DPRINTK(3, "\n");
> 116 ap = priv->current_ap;
118 if ((priv->connect_status & CONNECT_STATUS_MASK) == DISCONNECT_STATUS) {
119 memset(ap, 0, sizeof(struct local_ap_t));

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip