From: kernel test robot <lkp@intel.com>
To: Sasha Levin <sashal@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [sashal-stable:pending-5.15 155/167] drivers/s390/crypto/zcrypt_msgtype6.c:1170:39: error: use of undeclared identifier 'AP_MSG_FLAG_ADMIN'
Date: Sat, 26 Aug 2023 18:18:41 +0800 [thread overview]
Message-ID: <202308261835.iFGQGo8Q-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git pending-5.15
head: 9d4510ff70a0941bfdd50e530e365b240f7d64ea
commit: c28383389215cca0a5c3d93f1064725ecca8526d [155/167] s390/zcrypt: do not retry administrative requests
config: s390-randconfig-r015-20230826 (https://download.01.org/0day-ci/archive/20230826/202308261835.iFGQGo8Q-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce: (https://download.01.org/0day-ci/archive/20230826/202308261835.iFGQGo8Q-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308261835.iFGQGo8Q-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/s390/crypto/zcrypt_msgtype6.c:1170:39: error: use of undeclared identifier 'AP_MSG_FLAG_ADMIN'
1170 | if (rc == -EAGAIN && ap_msg->flags & AP_MSG_FLAG_ADMIN)
| ^
drivers/s390/crypto/zcrypt_msgtype6.c:1279:39: error: use of undeclared identifier 'AP_MSG_FLAG_ADMIN'
1279 | if (rc == -EAGAIN && ap_msg->flags & AP_MSG_FLAG_ADMIN)
| ^
2 errors generated.
vim +/AP_MSG_FLAG_ADMIN +1170 drivers/s390/crypto/zcrypt_msgtype6.c
1142
1143 /*
1144 * The request distributor calls this function if it picked the CEXxC
1145 * device to handle a send_cprb request.
1146 * @zq: pointer to zcrypt_queue structure that identifies the
1147 * CEXxC device to the request distributor
1148 * @xcRB: pointer to the send_cprb request buffer
1149 */
1150 static long zcrypt_msgtype6_send_cprb(bool userspace, struct zcrypt_queue *zq,
1151 struct ica_xcRB *xcRB,
1152 struct ap_message *ap_msg)
1153 {
1154 int rc;
1155 struct response_type *rtype = (struct response_type *)(ap_msg->private);
1156
1157 init_completion(&rtype->work);
1158 rc = ap_queue_message(zq->queue, ap_msg);
1159 if (rc)
1160 goto out;
1161 rc = wait_for_completion_interruptible(&rtype->work);
1162 if (rc == 0) {
1163 rc = ap_msg->rc;
1164 if (rc == 0)
1165 rc = convert_response_xcrb(userspace, zq, ap_msg, xcRB);
1166 } else
1167 /* Signal pending. */
1168 ap_cancel_message(zq->queue, ap_msg);
1169
> 1170 if (rc == -EAGAIN && ap_msg->flags & AP_MSG_FLAG_ADMIN)
1171 rc = -EIO; /* do not retry administrative requests */
1172
1173 out:
1174 return rc;
1175 }
1176
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-08-26 10:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202308261835.iFGQGo8Q-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sashal@kernel.org \
/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 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.