drivers: hv: Fix EXPORT_SYMBOL and tab spaces issue
authorVasanth <vasanth3g@gmail.com>
Wed, 10 Mar 2021 05:21:55 +0000 (10:51 +0530)
committerWei Liu <wei.liu@kernel.org>
Mon, 22 Mar 2021 10:55:03 +0000 (10:55 +0000)
1.Fixed EXPORT_SYMBOL should be follow immediately function/variable.
2.Fixed code tab spaces issue.

Signed-off-by: Vasanth M <vasanth3g@gmail.com>
Link: https://lore.kernel.org/r/20210310052155.39460-1-vasanth3g@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/channel_mgmt.c

index f0ed730e2e4e40355764db79f6d77254fe455162..f3cf4af01e10217561d6d2b64fc6451bf7cb28a4 100644 (file)
@@ -333,7 +333,6 @@ fw_error:
        negop->icversion_data[1].minor = icmsg_minor;
        return found_match;
 }
-
 EXPORT_SYMBOL_GPL(vmbus_prep_negotiate_resp);
 
 /*
@@ -593,10 +592,10 @@ static void vmbus_process_offer(struct vmbus_channel *newchannel)
         * CPUS_READ_UNLOCK             CPUS_WRITE_UNLOCK
         *
         * Forbids: CPU1's LOAD from *not* seing CPU2's STORE &&
-        *              CPU2's SEARCH from *not* seeing CPU1's INSERT
+        *              CPU2's SEARCH from *not* seeing CPU1's INSERT
         *
         * Forbids: CPU2's SEARCH from seeing CPU1's INSERT &&
-        *              CPU2's LOAD from *not* seing CPU1's STORE
+        *              CPU2's LOAD from *not* seing CPU1's STORE
         */
        cpus_read_lock();
 
@@ -980,7 +979,7 @@ static void vmbus_onoffer(struct vmbus_channel_message_header *hdr)
                 *                                      UNLOCK channel_mutex
                 *
                 * Forbids: r1 == valid_relid &&
-                *              channels[valid_relid] == channel
+                *              channels[valid_relid] == channel
                 *
                 * Note.  r1 can be INVALID_RELID only for an hv_sock channel.
                 * None of the hv_sock channels which were present before the