}
long __do_semtimedop(int semid, struct sembuf *sops,
- unsigned nsops, const struct timespec64 *timeout,
+ unsigned int nsops, const struct timespec64 *timeout,
struct ipc_namespace *ns)
{
int error = -EINVAL;
}
static long do_semtimedop(int semid, struct sembuf __user *tsops,
- unsigned nsops, const struct timespec64 *timeout)
+ unsigned int nsops, const struct timespec64 *timeout)
{
struct sembuf fast_sops[SEMOPM_FAST];
struct sembuf *sops = fast_sops;
#endif
SYSCALL_DEFINE3(semop, int, semid, struct sembuf __user *, tsops,
- unsigned, nsops)
+ unsigned int, nsops)
{
return do_semtimedop(semid, tsops, nsops, NULL);
}