diff options
| author | Tomer Tayar <ttayar@habana.ai> | 2022-01-12 11:00:52 +0200 |
|---|---|---|
| committer | Oded Gabbay <ogabbay@kernel.org> | 2022-02-28 14:22:02 +0200 |
| commit | ca4c8e4e7b57eec403e9887cd8b47d2ff8c97811 (patch) | |
| tree | ab4c0cf6f40291ac6015c3b5a9df4512301ac410 /net/lapb/lapb_in.c | |
| parent | 7169f0dfecf7745c810782f3f5fe22ba2a8d9ba1 (diff) | |
habanalabs: avoid copying pll data if pll_info_get fails
If reading PLL info from F/W fails, the PLL info is not set in the
"result" variable, and hence shouldn't be copied to the caller's array.
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
