tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git devel head: e03dce926b960a0c917d6b372ed754b27b0ce92d commit: a9d21d8da76636abdb0ac21a7d248ab8f9e6cc50 [60/61] gpio: dwapb: fix missing first irq for edgeboth irq type config: x86_64-randconfig-x010-201725 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout a9d21d8da76636abdb0ac21a7d248ab8f9e6cc50 # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers//gpio/gpio-dwapb.c: In function 'dwapb_irq_set_type': drivers//gpio/gpio-dwapb.c:291:5: error: stray '\357' in program if (type != IRQ_TYPE_EDGE_BOTH) ^ drivers//gpio/gpio-dwapb.c:291:6: error: stray '\274' in program if (type != IRQ_TYPE_EDGE_BOTH) ^ drivers//gpio/gpio-dwapb.c:291:7: error: stray '\210' in program if (type != IRQ_TYPE_EDGE_BOTH) ^ >> drivers//gpio/gpio-dwapb.c:291:8: error: expected '(' before 'type' if (type != IRQ_TYPE_EDGE_BOTH) ^~~~ drivers//gpio/gpio-dwapb.c:291:8: warning: statement with no effect [-Wunused-value] drivers//gpio/gpio-dwapb.c:291:34: error: stray '\357' in program if (type != IRQ_TYPE_EDGE_BOTH) ^ drivers//gpio/gpio-dwapb.c:291:35: error: stray '\274' in program if (type != IRQ_TYPE_EDGE_BOTH) ^ drivers//gpio/gpio-dwapb.c:291:36: error: stray '\211' in program if (type != IRQ_TYPE_EDGE_BOTH) ^ vim +/357 +291 drivers//gpio/gpio-dwapb.c 275 level |= BIT(bit); 276 polarity &= ~BIT(bit); 277 break; 278 case IRQ_TYPE_LEVEL_HIGH: 279 level &= ~BIT(bit); 280 polarity |= BIT(bit); 281 break; 282 case IRQ_TYPE_LEVEL_LOW: 283 level &= ~BIT(bit); 284 polarity &= ~BIT(bit); 285 break; 286 } 287 288 irq_setup_alt_chip(d, type); 289 290 dwapb_write(gpio, GPIO_INTTYPE_LEVEL, level); > 291 if (type != IRQ_TYPE_EDGE_BOTH) 292 dwapb_write(gpio, GPIO_INT_POLARITY, polarity); 293 spin_unlock_irqrestore(&gc->bgpio_lock, flags); 294 295 return 0; 296 } 297 298 static int dwapb_gpio_set_debounce(struct gpio_chip *gc, 299 unsigned offset, unsigned debounce) --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip