summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@bootlin.com>2026-01-07 14:04:52 +0100
committerRob Herring (Arm) <robh@kernel.org>2026-02-03 20:58:12 -0600
commit5dff92a7bde9a8ef3b709f65e347cb1c33260cf4 (patch)
tree42ee2ca5876b1154ff28cdff058ca7ec5e5c41bf /include/linux/i2c/git@git.tavy.me:linux.git
parent0365adafdb9bb9f7b5dc6793a8db3854beac0a94 (diff)
of: reserved_mem: Fix placement of __free() annotation
The __free() annotation was incorrectly placed before the variable name instead of after it, which resulted in the following checkpatch errors: ERROR: need consistent spacing around '*' (ctx:WxV) + struct device_node __free(device_node) *target = of_parse_phandle(np, "memory-region", idx); ^ WARNING: function definition argument 'idx' should also have an identifier name + struct device_node __free(device_node) *target = of_parse_phandle(np, "memory-region", idx); As part of this cleanup, also remove the useless return statement flagged by checkpatch. Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Link: https://patch.msgid.link/20260107-mtd-memregion-v3-1-f9fc9107b992@bootlin.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions