]> Gentwo Git Trees - linux/.git/commit
cxl: Fix comment regarding cxl_query_cmd() return data
authorDave Jiang <dave.jiang@intel.com>
Fri, 13 Sep 2024 22:32:16 +0000 (15:32 -0700)
committerDave Jiang <dave.jiang@intel.com>
Wed, 18 Sep 2024 22:29:29 +0000 (15:29 -0700)
commit423c9baae4c7fe73d5812e28610418fd2e8050bd
tree342e7b62b0085217e1a9ede4554fc98db08ffdf0
parentb5209da36b19b573cf25fe7e698e3a45b0f40a75
cxl: Fix comment regarding cxl_query_cmd() return data

The code indicates that the min of n_commands and total commands
is returned. The comment incorrectly says it's the max(). Correct
comment to min().

Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Link: https://patch.msgid.link/20240913223216.3234173-1-dave.jiang@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/core/mbox.c