Searched hist:b05d4c57 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/dax/ |
H A D | super.c | b05d4c57 Tue May 25 12:24:28 CDT 2021 Ira Weiny <ira.weiny@intel.com> dax: Ensure errno is returned from dax_direct_access
If the caller specifies a negative nr_pages that is an invalid parameter.
Return -EINVAL to ensure callers get an errno if they want to check it.
Reviewed-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Link: https://lore.kernel.org/r/20210525172428.3634316-4-ira.weiny@intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
|