Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-block.git] / drivers / crypto / ccp / sev-dev.c
index b1f3327f65e0eda8db71de61c16e90d7aa8e7c74..f97166fba9d93061737f51766f7bb3d1e4f2757f 100644 (file)
@@ -892,7 +892,7 @@ static int sev_ioctl_do_get_id2(struct sev_issue_cmd *argp)
                /*
                 * The length of the ID shouldn't be assumed by software since
                 * it may change in the future.  The allocation size is limited
-                * to 1 << (PAGE_SHIFT + MAX_ORDER - 1) by the page allocator.
+                * to 1 << (PAGE_SHIFT + MAX_ORDER) by the page allocator.
                 * If the allocation fails, simply return ENOMEM rather than
                 * warning in the kernel log.
                 */