diff options
author | Luben Tuikov <[email protected]> | 2021-08-24 11:01:32 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-08-30 14:59:33 -0400 |
commit | a6a355a22f7a0efa6a11bc90b5161f394d51fe95 (patch) | |
tree | 40d3fb53af720f92593c9d669efe6eeb437d1408 /net/lapb/lapb_timer.c | |
parent | fbd2a6003a259fe12750ceb5efc47432c3cc7ce4 (diff) |
drm/amdgpu: Fixes to returning VBIOS RAS EEPROM address
1) Generalize the function--if the user didn't set
i2c_address, still return true/false to
indicate whether VBIOS contains the RAS EEPROM
address. This function shouldn't evaluate
whether the user set the i2c_address pointer or
not.
2) Don't touch the caller's i2c_address, unless
you have to--this function shouldn't have side
effects.
3) Correctly set the function comment as a
kernel-doc comment.
Cc: John Clements <[email protected]>
Cc: Hawking Zhang <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Luben Tuikov <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions