branch | stable-1.5 |
changeset 2486 | 807983200019 |
parent 2484 | 1cf54e2452c4 |
child 2487 | ccafdf1e261f |
2485:5535603c34a0 | 2486:807983200019 |
---|---|
2432 ec_ioctl_context_t *ctx /**< Private data structure of file handle. */ |
2432 ec_ioctl_context_t *ctx /**< Private data structure of file handle. */ |
2433 ) |
2433 ) |
2434 { |
2434 { |
2435 ec_ioctl_sc_emerg_t io; |
2435 ec_ioctl_sc_emerg_t io; |
2436 ec_slave_config_t *sc; |
2436 ec_slave_config_t *sc; |
2437 int ret; |
|
2438 |
2437 |
2439 if (unlikely(!ctx->requested)) { |
2438 if (unlikely(!ctx->requested)) { |
2440 return -EPERM; |
2439 return -EPERM; |
2441 } |
2440 } |
2442 |
2441 |