summaryrefslogtreecommitdiff
path: root/lib/fdt_sw.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-05-25 15:27:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-10 11:48:15 +0200
commitecf6dedd03b03f05459c3662d9b141bedbc1c39d (patch)
tree5a184863d260447cd144b45a3f15223bf92f9418 /lib/fdt_sw.c
parentdf22ecc41b54def624735b83784857e708bd1502 (diff)
USB: usbip: clean up mixed use of _irq() and _irqsave()
It generally doesn't make sense to use _irq() and _irqsave() in the same function because either some of the callers have disabled IRQs or they haven't. In this case, the v_recv_cmd_submit() appears to always be called with IRQs enabled so the code works fine. That means I could convert it to either _irq() or _irqsave() but I chose to use _irqsave() because it's more conservative and easier to review. Reviewed-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/Yo4gqLPtHO6XKMLn@kili Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/fdt_sw.c')
0 files changed, 0 insertions, 0 deletions