Skip to content
Snippets Groups Projects
user avatar
Steven Rostedt authored
The Linux ftrace subsystem style for comparing is:

  var == 1
  var > 0

and not:

  1 == var
  0 < var

It is considered that Linux developers are smart enough not to do the

  if (var = 1)

mistake.

Cc: John Reiser <jreiser@bitwagon.com>
Link: http://lkml.kernel.org/r/20110421023737.290712238@goodmis.org


Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
dd5477ff
Name Last commit Last update
..