lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 9 Mar 2017 13:29:01 -0500
From:   Tejun Heo <tj@...nel.org>
To:     Corcodel Marian <asd@...ian1000.go.ro>
Cc:     Li Zefan <lizefan@...wei.com>, cgroups@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: Used void functions follows non void

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ