diff -r 69056c46aa4d -r bc2d4bf9cbe5 master/cdev.c --- a/master/cdev.c Thu Sep 06 19:52:17 2012 +0200 +++ b/master/cdev.c Thu Sep 06 20:22:24 2012 +0200 @@ -110,7 +110,7 @@ /*****************************************************************************/ /** Constructor. - * + * * \return 0 in case of success, else < 0 */ int ec_cdev_init( @@ -1674,12 +1674,12 @@ ec_domain_t *domain; off_t offset; int ret; - + if (unlikely(!priv->requested)) return -EPERM; /* Get the sum of the domains' process data sizes. */ - + priv->process_data_size = 0; if (down_interruptible(&master->master_sem)) @@ -1688,7 +1688,7 @@ list_for_each_entry(domain, &master->domains, list) { priv->process_data_size += ecrt_domain_size(domain); } - + up(&master->master_sem); if (priv->process_data_size) { @@ -1813,7 +1813,7 @@ ) { ec_master_state_t data; - + if (unlikely(!priv->requested)) return -EPERM; @@ -1870,7 +1870,7 @@ ) { ec_ioctl_app_time_t data; - + if (unlikely(!priv->requested)) return -EPERM; @@ -2458,7 +2458,7 @@ ec_ioctl_sc_state_t data; const ec_slave_config_t *sc; ec_slave_config_state_t state; - + if (unlikely(!priv->requested)) return -EPERM; @@ -2630,7 +2630,7 @@ ec_ioctl_domain_state_t data; const ec_domain_t *domain; ec_domain_state_t state; - + if (unlikely(!priv->requested)) return -EPERM;