[PATCH 05/10] mtd: rawnand: qcom: Use EOPNOTSUPP instead of ENOTSUPP
Miquel Raynal
miquel.raynal at bootlin.com
Fri Aug 18 07:41:29 PDT 2023
On Sat, 2023-08-05 at 17:41:41 UTC, Manivannan Sadhasivam wrote:
> Checkpatch complains over the usage of ENOTSUPP for new patches as below:
>
> WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP
>
> So let's fix the error code which is already present in qcom_check_op().
>
> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam at linaro.org>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
More information about the linux-mtd
mailing list