* [hare-scsi-devel:ata-debug.v3 21/40] drivers/ata/sata_dwc_460ex.c:1066:26: error: 'qp' undeclared; did you mean 'ap'?
@ 2020-03-03 18:11 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-03-03 18:11 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2510 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git ata-debug.v3
head: 8a4f0e6a2a23086577f04e6582ecba328e380ba8
commit: 285decf190c0c781954fd9770d2bdd7206241aff [21/40] sata_dwc_460ex: use generic tracepoints
config: c6x-allyesconfig (attached as .config)
compiler: c6x-elf-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 285decf190c0c781954fd9770d2bdd7206241aff
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=c6x
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/ata/sata_dwc_460ex.c: In function 'sata_dwc_qc_issue':
>> drivers/ata/sata_dwc_460ex.c:1066:26: error: 'qp' undeclared (first use in this function); did you mean 'ap'?
trace_ata_exec_command(qp, &qc->tf, tag);
^~
ap
drivers/ata/sata_dwc_460ex.c:1066:26: note: each undeclared identifier is reported only once for each function it appears in
vim +1066 drivers/ata/sata_dwc_460ex.c
1040
1041 static unsigned int sata_dwc_qc_issue(struct ata_queued_cmd *qc)
1042 {
1043 u32 sactive;
1044 u8 tag = qc->hw_tag;
1045 struct ata_port *ap = qc->ap;
1046 struct sata_dwc_device_port *hsdevp = HSDEVP_FROM_AP(ap);
1047
1048 if (!ata_is_ncq(qc->tf.protocol))
1049 tag = 0;
1050
1051 if (ata_is_dma(qc->tf.protocol)) {
1052 hsdevp->desc[tag] = dma_dwc_xfer_setup(qc);
1053 if (!hsdevp->desc[tag])
1054 return AC_ERR_SYSTEM;
1055 } else {
1056 hsdevp->desc[tag] = NULL;
1057 }
1058
1059 if (ata_is_ncq(qc->tf.protocol)) {
1060 sata_dwc_scr_read(&ap->link, SCR_ACTIVE, &sactive);
1061 sactive |= (0x00000001 << tag);
1062 sata_dwc_scr_write(&ap->link, SCR_ACTIVE, sactive);
1063
1064 trace_ata_tf_load(ap, &qc->tf);
1065 ap->ops->sff_tf_load(ap, &qc->tf);
> 1066 trace_ata_exec_command(qp, &qc->tf, tag);
1067 sata_dwc_exec_command_by_tag(ap, &qc->tf, tag,
1068 SATA_DWC_CMD_ISSUED_PEND);
1069 } else {
1070 return ata_bmdma_qc_issue(qc);
1071 }
1072 return 0;
1073 }
1074
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 51613 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-03 18:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-03 18:11 [hare-scsi-devel:ata-debug.v3 21/40] drivers/ata/sata_dwc_460ex.c:1066:26: error: 'qp' undeclared; did you mean 'ap'? kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.