lkml.org 
[lkml]   [2020]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/1] device-dax: avoid an unnecessary check in alloc_dev_dax_range()
Date
v1 --> v2:
In v1, I use the "goto" statement to merge two identical __release_region() calls.
However, the new patch https://lkml.org/lkml/2020/12/18/735 deletes one of them, the
"goto" becomes worthless. So when krealloc() failed, directly call __release_region()
and return error code.


Zhen Lei (1):
device-dax: avoid an unnecessary check in alloc_dev_dax_range()

drivers/dax/bus.c | 20 ++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)

--
2.26.0.106.g9fadedd


\
 
 \ /
  Last update: 2020-12-19 09:21    [W:0.028 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site