diff options
author | 2022-05-02 21:13:11 -0400 | |
---|---|---|
committer | 2022-05-03 17:41:32 -0700 | |
commit | 2b156fb57d8f0d28f2207edc646751f4717cf20d (patch) | |
tree | 09dcdefbc52d4d480fa016def61f7ab21f241abf /scripts/gdb/linux/utils.py | |
parent | bnxt_en: Fix possible bnxt_open() failure caused by wrong RFS flag (diff) | |
download | wireguard-linux-2b156fb57d8f0d28f2207edc646751f4717cf20d.tar.xz wireguard-linux-2b156fb57d8f0d28f2207edc646751f4717cf20d.zip |
bnxt_en: Initiallize bp->ptp_lock first before using it
bnxt_ptp_init() calls bnxt_ptp_init_rtc() which will acquire the ptp_lock
spinlock. The spinlock is not initialized until later. Move the
bnxt_ptp_init_rtc() call after the spinlock is initialized.
Fixes: 24ac1ecd5240 ("bnxt_en: Add driver support to use Real Time Counter for PTP")
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Reviewed-by: Saravanan Vajravel <saravanan.vajravel@broadcom.com>
Reviewed-by: Andy Gospodarek <andrew.gospodarek@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Damodharam Ammepalli <damodharam.ammepalli@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions