eprintf("Cannot process cmd %d %llu %llu\n",
eprintf("Cannot process cmd %d %" PRIu64 " %" PRIu64 "\n",
static int cmd_queue(int fd, char *reqbuf, char *resbuf){	int result, len = 0;	struct tgt_event *ev_req = (struct tgt_event *) reqbuf;	struct tgt_event *ev_res = NLMSG_DATA(resbuf);	uint64_t cid = ev_req->k.cmd_req.cid;	uint8_t *scb;	int (*fn) (int, uint64_t, uint8_t *, uint8_t *, int *);	memset(resbuf, 0, NL_BUFSIZE);	scb = (uint8_t *) ev_req->data;	dprintf("%" PRIu64 " %x\n", cid, scb[0]);	fn = dl_proto_cmd_process(ev_req->k.cmd_req.tid);	if (fn)		result = fn(ev_req->k.cmd_req.tid,			    ev_req->k.cmd_req.dev_id, scb,			    (uint8_t *) ev_res->data, &len);	else {		result = -EINVAL;		eprintf("Cannot process cmd %d %llu %llu\n",			ev_req->k.cmd_req.tid, ev_req->k.cmd_req.dev_id, cid);	}	memset(ev_res, 0, sizeof(*ev_res));	ev_res->u.cmd_res.cid = cid;	ev_res->u.cmd_res.len = len;	ev_res->u.cmd_res.result = result;	log_error("scsi_cmd_process res %d len %d\n", result, len);	return __nl_write(fd, TGT_UEVENT_CMD_RES, resbuf,			  NLMSG_SPACE(sizeof(*ev_res) + len));}