mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Used void functions follows non void
       [not found] <65a50f47-b87a-790d-cc16-0b873bffdc97@marian1000.go.ro>
@ 2017-03-09 18:29 ` Tejun Heo
  0 siblings, 0 replies; only message in thread
From: Tejun Heo @ 2017-03-09 18:29 UTC (permalink / raw)
  To: Corcodel Marian; +Cc: Li Zefan, cgroups, linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-09 18:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <65a50f47-b87a-790d-cc16-0b873bffdc97@marian1000.go.ro>
2017-03-09 18:29 ` Used void functions follows non void Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®