Fix more issues detected by checkpatch

Leave a blank line between declarations and definitions. Remove duplicate
words from comments.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9177 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2020-11-02 02:07:17 +00:00
parent 98285d10fd
commit 0ab62f9527
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1556,7 +1556,7 @@ typedef void (*rcu_callback_t)(struct rcu_head *);
(!defined(RHEL_MAJOR) || RHEL_MAJOR -0 < 7 || \
RHEL_MAJOR -0 == 7 && RHEL_MINOR -0 < 7)
/*
* See also commit 546a9d8519ed ("rcu: Export debug_init_rcu_head() and and
* See also commit 546a9d8519ed ("rcu: Export debug_init_rcu_head() and
* debug_init_rcu_head()") # v3.16.
*/
static inline void init_rcu_head(struct rcu_head *head) { }
+2 -2
View File
@@ -742,8 +742,8 @@ enum scst_tg_sup {
/*
* Error code returned by target attribute sysfs methods if invoked after
* scst_register_target() finished but before before scst_tgt_set_tgt_priv()
* has been invoked.
* scst_register_target() finished but before scst_tgt_set_tgt_priv() has been
* invoked.
*/
enum {
E_TGT_PRIV_NOT_YET_SET = EBUSY
+2 -1
View File
@@ -6001,6 +6001,7 @@ ssize_t kernel_write(struct file *file, const void *buf, size_t count,
{
mm_segment_t old_fs = get_fs();
ssize_t result;
set_fs(KERNEL_DS);
{
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
@@ -8189,7 +8190,7 @@ static struct request *blk_make_request(struct request_queue *q,
return ERR_PTR(ret);
}
/*
* See also commit commit 0abc2a10389f ("block: fix
* See also commit 0abc2a10389f ("block: fix
* blk_rq_append_bio"). That commit has been backported to
* kernel v4.14.11 as 88da02868f77.
*/