OSDN Git Service

Documentation/x86/boot.rst: Correct the example of SETUP_INDIRECT
authorCao jin <jojing64@gmail.com>
Wed, 27 Jan 2021 08:49:11 +0000 (16:49 +0800)
committerJonathan Corbet <corbet@lwn.net>
Thu, 28 Jan 2021 22:25:31 +0000 (15:25 -0700)
commitbcadb65fd64889cc3cf1ca4b8025d91b59ec1b02
treef58b2cce1fabc3f570f29cd0127d4c5548cd3215
parent187623b1d8b21b6fdab9b963465f71ad47b8c279
Documentation/x86/boot.rst: Correct the example of SETUP_INDIRECT

struct setup_data.len is the length of data field. In case of
SETUP_INDIRECT, it should be sizeof(setup_indirect).

Signed-off-by: Cao jin <jojing64@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Link: https://lore.kernel.org/r/20210127084911.63438-1-jojing64@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/x86/boot.rst