[PATCH v3 02/19] scsi: libsas and users: Remove notifier indirection

2021-01-18 Thread Ahmed S. Darwish
From: John Garry LLDDs report events to libsas with .notify_port_event and .notify_phy_event callbacks. These callbacks are fixed and so there is no reason why the functions cannot be called directly, so do that. This neatens the code slightly, makes it more obvious, and reduces function pointe

Re: [PATCH v3 02/19] scsi: libsas and users: Remove notifier indirection

2021-01-18 Thread Jinpu Wang
On Mon, Jan 18, 2021 at 11:10 AM Ahmed S. Darwish wrote: > > From: John Garry > > LLDDs report events to libsas with .notify_port_event and > .notify_phy_event callbacks. > > These callbacks are fixed and so there is no reason why the functions > cannot be called directly, so do that. > > This ne

Re: [PATCH v3 02/19] scsi: libsas and users: Remove notifier indirection

2021-01-12 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH v3 02/19] scsi: libsas and users: Remove notifier indirection

2021-01-12 Thread Ahmed S. Darwish
From: John Garry LLDDs report events to libsas with .notify_port_event and .notify_phy_event callbacks. These callbacks are fixed and so there is no reason why the functions cannot be called directly, so do that. This neatens the code slightly, makes it more obvious, and reduces function pointe