Re: [PATCH v2 16/16] usb: host: ehci-dbg: add function output_buf_tds_dir()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Geyslan,

[auto build test ERROR on usb/usb-testing]
[also build test ERROR on next-20160105]
[cannot apply to v4.4-rc8]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Geyslan-G-Bem/usb-host-ehci-dbg-cleanup-and-refactoring/20160106-024114
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: x86_64-rhel (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   In file included from drivers/usb/host/ehci-hcd.c:139:0:
   drivers/usb/host/ehci-dbg.c: In function 'output_buf_tds_dir':
>> drivers/usb/host/ehci-dbg.c:676:19: error: 'next' undeclared (first use in this function)
     return scnprintf(next, size, " (%c%d ep%d%s [%d/%d] q%d p%d)",
                      ^
   drivers/usb/host/ehci-dbg.c:676:19: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/usb/host/ehci-dbg.c:680:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +/next +676 drivers/usb/host/ehci-dbg.c

   670			case 1:
   671				type = "in";
   672				continue;
   673			}
   674		}
   675	
 > 676		return scnprintf(next, size, " (%c%d ep%d%s [%d/%d] q%d p%d)",
   677				speed_char(scratch), scratch & 0x007f,
   678				(scratch >> 8) & 0x000f, type, qh->ps.usecs,
   679				qh->ps.c_usecs, temp, 0x7ff & (scratch >> 16));
 > 680	}
   681	
   682	#define DBG_SCHED_LIMIT 64
   683	static ssize_t fill_periodic_buffer(struct debug_buffer *buf)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux