Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bus: fsl-mc: dprc: Fix a couple of misspelling and formatting issues

Fixes the following W=1 kernel build warning(s):

drivers/bus/fsl-mc/dprc.c:345: warning: Function parameter or member 'attr' not described in 'dprc_get_attributes'
drivers/bus/fsl-mc/dprc.c:521: warning: Function parameter or member 'obj_type' not described in 'dprc_get_obj_region'

Cc: Stuart Yoder <stuyoder@gmail.com>
Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210617110500.15907-4-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lee Jones and committed by
Greg Kroah-Hartman
4c366247 d71b57dc

+2 -2
+2 -2
drivers/bus/fsl-mc/dprc.c
··· 334 334 * @mc_io: Pointer to MC portal's I/O object 335 335 * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_' 336 336 * @token: Token of DPRC object 337 - * @attributes Returned container attributes 337 + * @attr: Returned container attributes 338 338 * 339 339 * Return: '0' on Success; Error code otherwise. 340 340 */ ··· 504 504 * @mc_io: Pointer to MC portal's I/O object 505 505 * @cmd_flags: Command flags; one or more of 'MC_CMD_FLAG_' 506 506 * @token: Token of DPRC object 507 - * @obj_type; Object type as returned in dprc_get_obj() 507 + * @obj_type: Object type as returned in dprc_get_obj() 508 508 * @obj_id: Unique object instance as returned in dprc_get_obj() 509 509 * @region_index: The specific region to query 510 510 * @region_desc: Returns the requested region descriptor