Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49f16e2f authored by Bart Van Assche's avatar Bart Van Assche Committed by Jens Axboe
Browse files

skd: Report completion mismatches once



This patch removes one debug statement but otherwise does not change
any functionality.

Signed-off-by: default avatarBart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 130d733a
Loading
Loading
Loading
Loading
+4 −10
Original line number Diff line number Diff line
@@ -1564,18 +1564,12 @@ static int skd_isr_completion_posted(struct skd_device *skdev,
		 * Make sure the request ID for the slot matches.
		 */
		if (skreq->id != req_id) {
			dev_dbg(&skdev->pdev->dev,
				"mismatch comp_id=0x%x req_id=0x%x\n", req_id,
				skreq->id);
			{
				u16 new_id = cmp_cntxt;
			dev_err(&skdev->pdev->dev,
				"Completion mismatch comp_id=0x%04x skreq=0x%04x new=0x%04x\n",
					req_id, skreq->id, new_id);
				req_id, skreq->id, cmp_cntxt);

			continue;
		}
		}

		SKD_ASSERT(skreq->state == SKD_REQ_STATE_BUSY);