habanalabs/gaudi: fix comment to reflect current code
authorOded Gabbay <ogabbay@kernel.org>
Sun, 5 Jun 2022 09:56:36 +0000 (12:56 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Tue, 12 Jul 2022 06:09:22 +0000 (09:09 +0300)
commit8742a75a1c3f4c93efedfa5004d18c87e467ca3b
tree532baf3fa3726f091e9fc40dde2f0b1744b6533f
parentd0c92afc0ef826932937a27a973d7d024e98be18
habanalabs/gaudi: fix comment to reflect current code

Due to code changes in the past few years, the original comment of
how parser->user_cb_size is checked was not correct anymore.

Fix it to reflect current code and add more explanation as the code
is more complex now.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/gaudi/gaudi.c