All of lore.kernel.org
 help / color / mirror / Atom feed
* [sashal-stable:pending-5.15 155/167] drivers/s390/crypto/zcrypt_msgtype6.c:1170:39: error: use of undeclared identifier 'AP_MSG_FLAG_ADMIN'
@ 2023-08-26 10:18 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-26 10:18 UTC (permalink / raw)
  To: Sasha Levin; +Cc: oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-26 10:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-26 10:18 [sashal-stable:pending-5.15 155/167] drivers/s390/crypto/zcrypt_msgtype6.c:1170:39: error: use of undeclared identifier 'AP_MSG_FLAG_ADMIN' kernel 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.