]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
target: tcm_mod_builder: small fixups
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 6 Dec 2011 10:20:31 +0000 (11:20 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 14 Dec 2011 11:38:25 +0000 (11:38 +0000)
commitced38c8c00962c9b6c1fcd330572406162d150b9
tree56b4ebdfd419c2b8bfe4e30d7a41770ae39f0274
parent77271de645631cb1dc4563d564f9dd5c214b5eed
target: tcm_mod_builder: small fixups

This includes:
- remove on _ in "__NAMELEN" in $fabric _make_tport
- target_fabric_configfs_init() returns an error pointer and not NULL
  anymore. Consider that.
- replace (!(var_name)) with (!var_name). The extra () are not required
- remove #ifdef MODULE. If the code is builtin it needs an init function
  or the code is useless
- put exit/clean functions into __exit

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Documentation/target/tcm_mod_builder.py