lkml.org 
[lkml]   [2021]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] scsi: libsas and users: Remove notifier indirection
    Hi John,

    On Tue, Jan 12, 2021 at 01:28:32AM +0800, John Garry wrote:
    > 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 pointer usage, which is generally a good thing. Downside is that
    > there are 2x more symbol exports.
    >
    > Signed-off-by: John Garry <john.garry@huawei.com>
    >

    Since this patch necessitates a careful manual rebase of _every_ patch
    in my series, I've included it at the top of my v2 submission and
    rebased everything on top:

    https://lkml.kernel.org/r/20210112110647.627783-1-a.darwish@linutronix.de

    Some left-over 'sas_ha' local variables were removed, and I've mentioned
    that in the commit log of course.

    Thanks!

    --
    Ahmed S. Darwish
    Linutronix GmbH

    \
     
     \ /
      Last update: 2021-01-12 12:27    [W:3.001 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site