[PATCH] powerpc/powernv/prd: Unregister OPAL_MSG_PRD2 notifier during module unload

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Fri Oct 29 03:57:46 AEDT 2021


On 10/1/21 11:40 AM, Daniel Axtens wrote:
> Hi Vasant,
> 
>> Commit 587164cd, introduced new opal message type (OPAL_MSG_PRD2) and added
>> opal notifier. But I missed to unregister the notifier during module unload
>> path. This results in below call trace if you try to unload and load
>> opal_prd module.
>>
>> Fixes: 587164cd ("powerpc/powernv: Add new opal message type")
> 
> In reviewing this patch, I've become a bit worried the underlying patch
> has another issue that we should fix.

Thanks for the review. I have addressed below comments in v2.

-Vasant



More information about the Linuxppc-dev mailing list