nvme/cmb_copy: Carriage return between return type and function name.
Meanwhile, checking new gerrit for committing a new patch. Signed-off-by: dongx.yi <dongx.yi@intel.com> Change-Id: I33c0f5bf5b13a147777a9831c9c6e6079b90590f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/999 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
parent
33981a6d30
commit
044704995d
@ -68,7 +68,8 @@ struct config {
|
|||||||
static struct config g_config;
|
static struct config g_config;
|
||||||
|
|
||||||
/* Namespaces index from 1. Return 0 to invoke an error */
|
/* Namespaces index from 1. Return 0 to invoke an error */
|
||||||
static unsigned get_nsid(const struct spdk_nvme_transport_id *trid)
|
static unsigned
|
||||||
|
get_nsid(const struct spdk_nvme_transport_id *trid)
|
||||||
{
|
{
|
||||||
if (!strcmp(trid->traddr, g_config.read.trid.traddr)) {
|
if (!strcmp(trid->traddr, g_config.read.trid.traddr)) {
|
||||||
return g_config.read.nsid;
|
return g_config.read.nsid;
|
||||||
@ -79,7 +80,8 @@ static unsigned get_nsid(const struct spdk_nvme_transport_id *trid)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int get_rw(const struct spdk_nvme_transport_id *trid)
|
static int
|
||||||
|
get_rw(const struct spdk_nvme_transport_id *trid)
|
||||||
{
|
{
|
||||||
if (!strcmp(trid->traddr, g_config.read.trid.traddr)) {
|
if (!strcmp(trid->traddr, g_config.read.trid.traddr)) {
|
||||||
return CMB_COPY_READ;
|
return CMB_COPY_READ;
|
||||||
|
Loading…
Reference in New Issue
Block a user