RE: [PATCH 1/4] pmemblk, dev-dax: load libpmem and libpmemblk at startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Elliott, Robert (Persistent Memory)
> Sent: Wednesday, January 04, 2017 12:55 AM
> Subject: [PATCH 1/4] pmemblk, dev-dax: load libpmem and libpmemblk at
> startup
> 
...
> diff --git a/configure b/configure
> index fc15782..ca69052 100755
> --- a/configure
> +++ b/configure
> @@ -1573,11 +1573,12 @@ int main(int argc, char **argv)
>  {
>    int rc;
>    rc = pmem_is_pmem(0, 0);
> -  return 0;
> +  return rc;

That change should not be applied - the return code is irrelevant
on the compiling machine (0 is the expected result since the len
being checked is zero). This is just used to check if a program
making that function call compiles or not.


--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux