mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Chunyan Zhang <zhang.chunyan@linaro.org>
Cc: kbuild-all@01.org, mathieu.poirier@linaro.org,
	alexander.shishkin@linux.intel.com, robh@kernel.org,
	broonie@kernel.org, pratikp@codeaurora.org, nicolas.guion@st.com,
	corbet@lwn.net, mark.rutland@arm.com, zhang.lyra@gmail.com,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, linux-api@vger.kernel.orgi,
	linux-doc@vger.kernel.org
Subject: Re: [PATCH 6/6] coresight-stm: adding driver for CoreSight STM component
Date: Mon, 1 Feb 2016 18:01:26 +0800	[thread overview]
Message-ID: <201602011753.FpQPQQPf%fengguang.wu@intel.com> (raw)
In-Reply-To: <1454313529-8860-7-git-send-email-zhang.chunyan@linaro.org>

[-- Attachment #1: Type: text/plain, Size: 15554 bytes --]

Hi Pratik,

[auto build test ERROR on robh/for-next]
[also build test ERROR on v4.5-rc2 next-20160201]
[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/Chunyan-Zhang/Introduce-CoreSight-STM-support/20160201-160437
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux for-next
config: arm-allmodconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> drivers/hwtracing/coresight/coresight-stm.c:671:27: error: unknown type name 'tcsr'
    coresight_stm_simple_func(tcsr, STMTCSR);
                              ^
   drivers/hwtracing/coresight/coresight-stm.c:669:44: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                               ^
>> drivers/hwtracing/coresight/coresight-stm.c:57:20: error: expected declaration specifiers or '...' before numeric constant
    #define STMTCSR    0xe80
                       ^
   drivers/hwtracing/coresight/coresight-stm.c:669:50: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                                     ^
   drivers/hwtracing/coresight/coresight-stm.c:671:33: note: in expansion of macro 'STMTCSR'
    coresight_stm_simple_func(tcsr, STMTCSR);
                                    ^
>> drivers/hwtracing/coresight/coresight-stm.c:672:27: error: unknown type name 'tsfreqr'
    coresight_stm_simple_func(tsfreqr, STMTSFREQR);
                              ^
   drivers/hwtracing/coresight/coresight-stm.c:669:44: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                               ^
   drivers/hwtracing/coresight/coresight-stm.c:59:22: error: expected declaration specifiers or '...' before numeric constant
    #define STMTSFREQR   0xe8c
                         ^
   drivers/hwtracing/coresight/coresight-stm.c:669:50: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                                     ^
   drivers/hwtracing/coresight/coresight-stm.c:672:36: note: in expansion of macro 'STMTSFREQR'
    coresight_stm_simple_func(tsfreqr, STMTSFREQR);
                                       ^
>> drivers/hwtracing/coresight/coresight-stm.c:673:27: error: unknown type name 'syncr'
    coresight_stm_simple_func(syncr, STMSYNCR);
                              ^
   drivers/hwtracing/coresight/coresight-stm.c:669:44: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                               ^
   drivers/hwtracing/coresight/coresight-stm.c:60:20: error: expected declaration specifiers or '...' before numeric constant
    #define STMSYNCR   0xe90
                       ^
   drivers/hwtracing/coresight/coresight-stm.c:669:50: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                                     ^
   drivers/hwtracing/coresight/coresight-stm.c:673:34: note: in expansion of macro 'STMSYNCR'
    coresight_stm_simple_func(syncr, STMSYNCR);
                                     ^
>> drivers/hwtracing/coresight/coresight-stm.c:674:27: error: unknown type name 'sper'
    coresight_stm_simple_func(sper, STMSPER);
                              ^
   drivers/hwtracing/coresight/coresight-stm.c:669:44: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                               ^
   drivers/hwtracing/coresight/coresight-stm.c:49:20: error: expected declaration specifiers or '...' before numeric constant
    #define STMSPER    0xe00
                       ^
   drivers/hwtracing/coresight/coresight-stm.c:669:50: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                                     ^
   drivers/hwtracing/coresight/coresight-stm.c:674:33: note: in expansion of macro 'STMSPER'
    coresight_stm_simple_func(sper, STMSPER);
                                    ^
>> drivers/hwtracing/coresight/coresight-stm.c:675:27: error: unknown type name 'spter'
    coresight_stm_simple_func(spter, STMSPTER);
                              ^
   drivers/hwtracing/coresight/coresight-stm.c:669:44: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                               ^
   drivers/hwtracing/coresight/coresight-stm.c:50:20: error: expected declaration specifiers or '...' before numeric constant
    #define STMSPTER   0xe20
                       ^
   drivers/hwtracing/coresight/coresight-stm.c:669:50: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                                     ^
   drivers/hwtracing/coresight/coresight-stm.c:675:34: note: in expansion of macro 'STMSPTER'
    coresight_stm_simple_func(spter, STMSPTER);
                                     ^
>> drivers/hwtracing/coresight/coresight-stm.c:676:27: error: unknown type name 'privmaskr'
    coresight_stm_simple_func(privmaskr, STMPRIVMASKR);
                              ^
   drivers/hwtracing/coresight/coresight-stm.c:669:44: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                               ^
   drivers/hwtracing/coresight/coresight-stm.c:51:24: error: expected declaration specifiers or '...' before numeric constant
    #define STMPRIVMASKR   0xe40
                           ^
   drivers/hwtracing/coresight/coresight-stm.c:669:50: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                                     ^
   drivers/hwtracing/coresight/coresight-stm.c:676:38: note: in expansion of macro 'STMPRIVMASKR'
    coresight_stm_simple_func(privmaskr, STMPRIVMASKR);
                                         ^
>> drivers/hwtracing/coresight/coresight-stm.c:677:27: error: unknown type name 'spscr'
    coresight_stm_simple_func(spscr, STMSPSCR);
                              ^
   drivers/hwtracing/coresight/coresight-stm.c:669:44: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                               ^
   drivers/hwtracing/coresight/coresight-stm.c:52:20: error: expected declaration specifiers or '...' before numeric constant
    #define STMSPSCR   0xe60
                       ^
   drivers/hwtracing/coresight/coresight-stm.c:669:50: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                                     ^
   drivers/hwtracing/coresight/coresight-stm.c:677:34: note: in expansion of macro 'STMSPSCR'
    coresight_stm_simple_func(spscr, STMSPSCR);
                                     ^
>> drivers/hwtracing/coresight/coresight-stm.c:678:27: error: unknown type name 'spmscr'
    coresight_stm_simple_func(spmscr, STMSPMSCR);
                              ^
   drivers/hwtracing/coresight/coresight-stm.c:669:44: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                               ^
   drivers/hwtracing/coresight/coresight-stm.c:53:21: error: expected declaration specifiers or '...' before numeric constant
    #define STMSPMSCR   0xe64
                        ^
   drivers/hwtracing/coresight/coresight-stm.c:669:50: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                                     ^
   drivers/hwtracing/coresight/coresight-stm.c:678:35: note: in expansion of macro 'STMSPMSCR'
    coresight_stm_simple_func(spmscr, STMSPMSCR);
                                      ^
>> drivers/hwtracing/coresight/coresight-stm.c:679:27: error: unknown type name 'spfeat1r'
    coresight_stm_simple_func(spfeat1r, STMSPFEAT1R);
                              ^
   drivers/hwtracing/coresight/coresight-stm.c:669:44: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                               ^
   drivers/hwtracing/coresight/coresight-stm.c:62:23: error: expected declaration specifiers or '...' before numeric constant
    #define STMSPFEAT1R   0xea0
                          ^
   drivers/hwtracing/coresight/coresight-stm.c:669:50: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                                     ^
   drivers/hwtracing/coresight/coresight-stm.c:679:37: note: in expansion of macro 'STMSPFEAT1R'
    coresight_stm_simple_func(spfeat1r, STMSPFEAT1R);
                                        ^
>> drivers/hwtracing/coresight/coresight-stm.c:680:27: error: unknown type name 'spfeat2r'
    coresight_stm_simple_func(spfeat2r, STMSPFEAT2R);
                              ^
   drivers/hwtracing/coresight/coresight-stm.c:669:44: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                               ^
   drivers/hwtracing/coresight/coresight-stm.c:63:23: error: expected declaration specifiers or '...' before numeric constant
    #define STMSPFEAT2R   0xea4
                          ^
   drivers/hwtracing/coresight/coresight-stm.c:669:50: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                                     ^
   drivers/hwtracing/coresight/coresight-stm.c:680:37: note: in expansion of macro 'STMSPFEAT2R'
    coresight_stm_simple_func(spfeat2r, STMSPFEAT2R);
                                        ^
>> drivers/hwtracing/coresight/coresight-stm.c:681:27: error: unknown type name 'spfeat3r'
    coresight_stm_simple_func(spfeat3r, STMSPFEAT3R);
                              ^
   drivers/hwtracing/coresight/coresight-stm.c:669:44: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                               ^
   drivers/hwtracing/coresight/coresight-stm.c:64:23: error: expected declaration specifiers or '...' before numeric constant
    #define STMSPFEAT3R   0xea8
                          ^
   drivers/hwtracing/coresight/coresight-stm.c:669:50: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                                     ^
   drivers/hwtracing/coresight/coresight-stm.c:681:37: note: in expansion of macro 'STMSPFEAT3R'
    coresight_stm_simple_func(spfeat3r, STMSPFEAT3R);
                                        ^
>> drivers/hwtracing/coresight/coresight-stm.c:682:27: error: unknown type name 'devid'
    coresight_stm_simple_func(devid, CORESIGHT_DEVID);
                              ^
   drivers/hwtracing/coresight/coresight-stm.c:669:44: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                               ^
   drivers/hwtracing/coresight/coresight-priv.h:31:26: error: expected declaration specifiers or '...' before numeric constant
    #define CORESIGHT_DEVID  0xfc8
                             ^
   drivers/hwtracing/coresight/coresight-stm.c:669:50: note: in definition of macro 'coresight_stm_simple_func'
     coresight_simple_func(struct stm_drvdata, name, offset)
                                                     ^
   drivers/hwtracing/coresight/coresight-stm.c:682:34: note: in expansion of macro 'CORESIGHT_DEVID'
    coresight_stm_simple_func(devid, CORESIGHT_DEVID);
                                     ^
>> drivers/hwtracing/coresight/coresight-stm.c:694:3: error: 'dev_attr_tcsr' undeclared here (not in a function)
     &dev_attr_tcsr.attr,
      ^
>> drivers/hwtracing/coresight/coresight-stm.c:695:3: error: 'dev_attr_tsfreqr' undeclared here (not in a function)
     &dev_attr_tsfreqr.attr,
      ^
>> drivers/hwtracing/coresight/coresight-stm.c:696:3: error: 'dev_attr_syncr' undeclared here (not in a function)
     &dev_attr_syncr.attr,
      ^
>> drivers/hwtracing/coresight/coresight-stm.c:697:3: error: 'dev_attr_sper' undeclared here (not in a function)
     &dev_attr_sper.attr,
      ^
>> drivers/hwtracing/coresight/coresight-stm.c:698:3: error: 'dev_attr_spter' undeclared here (not in a function)
     &dev_attr_spter.attr,
      ^
>> drivers/hwtracing/coresight/coresight-stm.c:699:3: error: 'dev_attr_privmaskr' undeclared here (not in a function)
     &dev_attr_privmaskr.attr,
      ^
>> drivers/hwtracing/coresight/coresight-stm.c:700:3: error: 'dev_attr_spscr' undeclared here (not in a function)
     &dev_attr_spscr.attr,
      ^

vim +/tcsr +671 drivers/hwtracing/coresight/coresight-stm.c

   663		drvdata->traceid = val & 0x7f;
   664		return size;
   665	}
   666	static DEVICE_ATTR_RW(traceid);
   667	
   668	#define coresight_stm_simple_func(name, offset)	\
 > 669		coresight_simple_func(struct stm_drvdata, name, offset)
   670	
 > 671	coresight_stm_simple_func(tcsr, STMTCSR);
 > 672	coresight_stm_simple_func(tsfreqr, STMTSFREQR);
 > 673	coresight_stm_simple_func(syncr, STMSYNCR);
 > 674	coresight_stm_simple_func(sper, STMSPER);
 > 675	coresight_stm_simple_func(spter, STMSPTER);
 > 676	coresight_stm_simple_func(privmaskr, STMPRIVMASKR);
 > 677	coresight_stm_simple_func(spscr, STMSPSCR);
 > 678	coresight_stm_simple_func(spmscr, STMSPMSCR);
 > 679	coresight_stm_simple_func(spfeat1r, STMSPFEAT1R);
 > 680	coresight_stm_simple_func(spfeat2r, STMSPFEAT2R);
 > 681	coresight_stm_simple_func(spfeat3r, STMSPFEAT3R);
 > 682	coresight_stm_simple_func(devid, CORESIGHT_DEVID);
   683	
   684	static struct attribute *coresight_stm_attrs[] = {
   685		&dev_attr_hwevent_enable.attr,
   686		&dev_attr_hwevent_select.attr,
   687		&dev_attr_port_enable.attr,
   688		&dev_attr_port_select.attr,
   689		&dev_attr_traceid.attr,
   690		NULL,
   691	};
   692	
   693	static struct attribute *coresight_stm_mgmt_attrs[] = {
 > 694		&dev_attr_tcsr.attr,
 > 695		&dev_attr_tsfreqr.attr,
 > 696		&dev_attr_syncr.attr,
 > 697		&dev_attr_sper.attr,
 > 698		&dev_attr_spter.attr,
 > 699		&dev_attr_privmaskr.attr,
 > 700		&dev_attr_spscr.attr,
 > 701		&dev_attr_spmscr.attr,
 > 702		&dev_attr_spfeat1r.attr,
 > 703		&dev_attr_spfeat2r.attr,
 > 704		&dev_attr_spfeat3r.attr,
 > 705		&dev_attr_devid.attr,
   706		NULL,
   707	};
   708	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 56270 bytes --]

  parent reply	other threads:[~2016-02-01  9:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-01  7:58 [PATCH 0/6] Introduce CoreSight STM support Chunyan Zhang
2016-02-01  7:58 ` [PATCH 1/6] stm class: Add ioctl get_options interface Chunyan Zhang
2016-02-01  8:19   ` Chunyan Zhang
2016-02-01  7:58 ` [PATCH 2/6] stm class: adds a loop to extract the first valid STM device name Chunyan Zhang
2016-02-01  8:19   ` Chunyan Zhang
2016-02-01  7:58 ` [PATCH 3/6] stm class: provision for statically assigned masterIDs Chunyan Zhang
2016-02-01  8:20   ` Chunyan Zhang
2016-02-01  7:58 ` [PATCH 4/6] Documentations: Add explanations of the case for non-configurable masters Chunyan Zhang
2016-02-01  8:20   ` Chunyan Zhang
2016-02-01  7:58 ` [PATCH 5/6] coresight-stm: Bindings for System Trace Macrocell Chunyan Zhang
2016-02-01  8:20   ` Chunyan Zhang
2016-02-01  7:58 ` [PATCH 6/6] coresight-stm: adding driver for CoreSight STM component Chunyan Zhang
2016-02-01  8:21   ` Chunyan Zhang
2016-02-01 10:01   ` kbuild test robot [this message]
2016-02-01 12:44     ` Chunyan Zhang
2016-02-01 16:53       ` Mathieu Poirier
2016-02-01  8:18 ` [PATCH 0/6] Introduce CoreSight STM support Chunyan Zhang

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=201602011753.FpQPQQPf%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=broonie@kernel.org \
    --cc=corbet@lwn.net \
    --cc=kbuild-all@01.org \
    --cc=linux-api@vger.kernel.orgi \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mathieu.poirier@linaro.org \
    --cc=nicolas.guion@st.com \
    --cc=pratikp@codeaurora.org \
    --cc=robh@kernel.org \
    --cc=zhang.chunyan@linaro.org \
    --cc=zhang.lyra@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®