diff options
| author | Scott Long <scottl@FreeBSD.org> | 2020-02-07 09:22:08 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2020-02-07 09:22:08 +0000 |
| commit | d176b8039e91164cd25271ff6191a4fb1a03fe97 (patch) | |
| tree | d1382f2fb54cb240d3aeda803ae80070bf8ecf13 /sys/dev/flash | |
| parent | a2abae8dc92a5778b3405cfbc1f20eaf7a067074 (diff) | |
Notes
Diffstat (limited to 'sys/dev/flash')
| -rw-r--r-- | sys/dev/flash/at45d.c | 2 | ||||
| -rw-r--r-- | sys/dev/flash/mx25l.c | 2 | ||||
| -rw-r--r-- | sys/dev/flash/n25q.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/flash/at45d.c b/sys/dev/flash/at45d.c index c5339576c3d1d..2c7402dbbe824 100644 --- a/sys/dev/flash/at45d.c +++ b/sys/dev/flash/at45d.c @@ -493,7 +493,7 @@ at45d_task(void *arg) len = sc->pagesize - offset; break; default: - berr = EINVAL; + berr = EOPNOTSUPP; goto out; } diff --git a/sys/dev/flash/mx25l.c b/sys/dev/flash/mx25l.c index 3d146882eea74..916829dc6c976 100644 --- a/sys/dev/flash/mx25l.c +++ b/sys/dev/flash/mx25l.c @@ -658,7 +658,7 @@ mx25l_task(void *arg) bp->bio_data, bp->bio_bcount); break; default: - bp->bio_error = EINVAL; + bp->bio_error = EOPNOTSUPP; } diff --git a/sys/dev/flash/n25q.c b/sys/dev/flash/n25q.c index b885da983fcbe..cf7bfeef1ee1a 100644 --- a/sys/dev/flash/n25q.c +++ b/sys/dev/flash/n25q.c @@ -462,7 +462,7 @@ n25q_task(void *arg) bp->bio_data, bp->bio_bcount); break; default: - bp->bio_error = EINVAL; + bp->bio_error = EOPNOTSUPP; } biodone(bp); |
