[STYLE] Fix issues from checkpatch.pl 04/38604/11
authorDmitry Kovalenko <d.kovalenko@samsung.com>
Wed, 22 Apr 2015 15:07:11 +0000 (18:07 +0300)
committerDmitry Kovalenko <d.kovalenko@samsung.com>
Thu, 30 Apr 2015 10:17:07 +0000 (13:17 +0300)
commitfa9e1004f58dfde4a3a114b6c57bed3a584710e2
tree8ccd36f7cb4763fe54c26eb00d6240a34fd1f5fa
parent823167ff5296299a977b4378cca82759b51580a4
[STYLE] Fix issues from checkpatch.pl

not fixed issues (191):
  LINUX_VERSION_CODE (56)
  do not add new typedefs
  Use #include <linux/...> instead of <asm/...>
  externs should be avoided in .c files
  EXPORT_SYMBOL(foo); should immediately follow its function/variable
  do not use assignment in if condition
  use of in_atomic() is incorrect outside core kernel code
  Macros with complex values should be enclosed in parenthesis
  sizeof(& should be avoided
  usage of NR_CPUS is often wron
  uprobe/arch/arm/swap-asm/swap_uprobes.c (over 80 chars)

Change-Id: I1efb075ff2b47b78c56818e921a358868ce19948
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
88 files changed:
buffer/buffer_queue.c
buffer/buffer_queue.h
buffer/swap_buffer_module.c
buffer/swap_buffer_module.h
driver/device_driver.c
driver/driver_defs.h
driver/driver_to_buffer.c
driver/us_interaction.c
driver/us_interaction_msg.h
energy/debugfs_energy.c
energy/debugfs_energy.h
energy/energy.c
energy/lcd/lcd_base.c
energy/lcd/lcd_debugfs.c
energy/lcd/maru.c
energy/lcd/s6e8aa0.c
energy/lcd/s6e8aa0_panel.c
energy/tm_stat.h
kprobe/arch/arm/swap-asm/memory_rwx.c
kprobe/arch/arm/swap-asm/swap_kprobes.c
kprobe/arch/arm/swap-asm/swap_kprobes.h
kprobe/arch/arm/swap-asm/trampoline_arm.S
kprobe/arch/arm/swap-asm/trampoline_arm.h
kprobe/arch/asm-mips/dbi_kprobes.c
kprobe/arch/asm-mips/dbi_kprobes.h
kprobe/arch/x86/swap-asm/swap_kprobes.c
kprobe/arch/x86/swap-asm/swap_kprobes.h
kprobe/swap_kdebug.h
kprobe/swap_kprobes.c
kprobe/swap_kprobes.h
kprobe/swap_kprobes_deps.c
kprobe/swap_kprobes_deps.h
kprobe/swap_slots.c
ks_features/features_data.c
ks_features/file_ops.c
ks_features/ks_features.c
ks_features/ks_map.c
ks_features/syscall_list.h
ks_manager/ks_manager.c
ksyms/ksyms.c
ksyms/ksyms_module.c
ksyms/no_ksyms.c
master/swap_debugfs.c
master/swap_initializer.c
parser/cpu_ctrl.c
parser/features.c
parser/msg_buf.c
parser/msg_cmd.c
parser/msg_parser.c
parser/parser_defs.h
parser/swap_msg_parser.c
parser/us_inst.c
sampler/sampler_hrtimer.c
sampler/sampler_timer.c
sampler/swap_sampler_module.c
uprobe/arch/arm/swap-asm/swap_uprobes.c
uprobe/arch/arm/swap-asm/swap_uprobes.h
uprobe/arch/x86/swap-asm/swap_uprobes.c
uprobe/arch/x86/swap-asm/swap_uprobes.h
uprobe/swap_uprobes.c
uprobe/swap_uprobes.h
us_manager/debugfs_us_manager.c
us_manager/helper.c
us_manager/img/img_file.c
us_manager/img/img_ip.c
us_manager/img/img_proc.c
us_manager/img/img_proc.h
us_manager/pf/pf_group.c
us_manager/pf/proc_filters.c
us_manager/pf/proc_filters.h
us_manager/sspt/ip.c
us_manager/sspt/sspt.h
us_manager/sspt/sspt_debug.h
us_manager/sspt/sspt_feature.c
us_manager/sspt/sspt_feature.h
us_manager/sspt/sspt_file.c
us_manager/sspt/sspt_file.h
us_manager/sspt/sspt_page.c
us_manager/sspt/sspt_proc.c
us_manager/sspt/sspt_proc.h
us_manager/us_manager.c
us_manager/us_slot_manager.c
writer/debugfs_writer.c
writer/event_filter.c
writer/kernel_operations.h
writer/kernel_operations_arm.c
writer/kernel_operations_x86.c
writer/swap_writer_module.c