Re: Used void functions follows non void

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 09, 2017 at 04:39:10PM +0200, Corcodel Marian wrote:
> 
> Make compiler to print errors message ;
> run make;
>  Bellow is  errors message from compiler:
> include/linux/cgroup.h:424:2: warning: ‘return’ with no value, in function
> returning non-void [-Wreturn-type]
>   return task_css_set_check(task, false);
>   ^
> include/linux/cgroup.h: In function ‘task_css’:
> include/linux/cgroup.h:414:35: error: expected expression before ‘->’ token
>   task_css_set_check((task), (__c))->subsys[(subsys_id)]
>                                    ^
> include/linux/cgroup.h:437:9: note: in expansion of macro ‘task_css_check’
>   return task_css_check(task, subsys_id, false);
>          ^
> include/linux/cgroup.h: In function ‘task_css_is_root’:
> include/linux/cgroup.h:414:35: error: expected expression before ‘->’ token
>   task_css_set_check((task), (__c))->subsys[(subsys_id)]
>                                    ^
> include/linux/cgroup.h:475:9: note: in expansion of macro ‘task_css_check’
>   return task_css_check(task, subsys_id, true) ==

Can you please share the .config used and the kernel version?

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux