Skip to content

Commit 26725f2

Browse files
standby24x7Jiri Kosina
authored andcommitted
Documentation: Fix typo in tcm_mod_builder.py
Correct spelling "alocate" to "allocate" in Documentation/target/tcm_mod_builder.py Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 7367d99 commit 26725f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Documentation/target/tcm_mod_builder.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ def tcm_mod_dump_fabric_ops(proto_ident, fabric_mod_dir_var, fabric_mod_name):
775775
buf += " struct " + fabric_mod_name + "_nacl *nacl;\n\n"
776776
buf += " nacl = kzalloc(sizeof(struct " + fabric_mod_name + "_nacl), GFP_KERNEL);\n"
777777
buf += " if (!nacl) {\n"
778-
buf += " printk(KERN_ERR \"Unable to alocate struct " + fabric_mod_name + "_nacl\\n\");\n"
778+
buf += " printk(KERN_ERR \"Unable to allocate struct " + fabric_mod_name + "_nacl\\n\");\n"
779779
buf += " return NULL;\n"
780780
buf += " }\n\n"
781781
buf += " return &nacl->se_node_acl;\n"

0 commit comments

Comments
 (0)