firmware: octeontx2: sfp-info: Update sfp_info_data
commit fab11ccb74b109188b2dca84495c5718c9324a6d from git@git.assembla.com:cavium/WindRiver.linux.git This fix is to solve the NULL pointer issue which happens when trying to unregister the mub_device. Populate the sfp_info_data mdev member before accessing it in mub_device_unregister(). Fixes: 9317c51441b2 ("sfp-info: Populate sfp_info_data.mdev before using") Signed-off-by:Piyush Malgujar <pmalgujar@marvell.com> Change-Id: I8d1b9a46748480a500311301e7eddeff252dbf79 Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/88224 Reviewed-by:
Chandrakala Chavva <cchavva@marvell.com> Tested-by:
Sunil Kovvuri Goutham <sgoutham@marvell.com> Signed-off-by:
Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
Loading
Please register or sign in to comment