Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-4089

Unneeded semicolon in enc_pools_release_free_pages

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.6.0
    • None
    • None
    • 3
    • 10992

    Description

      From upstream kernel commits:

      Author: Fengguang Wu <fengguang.wu@intel.com>
      Date:   Sat Sep 14 19:56:25 2013 -0700
      
          staging/lustre: fix coccinelle warnings
          
          drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c:217:2-3: Unneeded semicolon
          
          Removes unneeded semicolon.
          
          Generated by: coccinelle/misc/semicolon.cocci
          CC: Peng Tao <bergwolf@gmail.com>
          Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
          Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      
      diff --git a/drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c b/drivers/staging/l
      index e90c8fb..26f3f41 100644
      --- a/drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c
      +++ b/drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c
      @@ -207,7 +207,7 @@ static void enc_pools_release_free_pages(long npages)
                              p_idx++;
                              g_idx = 0;
                      }
      -       };
      +       }
       
              /* free unused pools */
              while (p_idx_max1 < p_idx_max2) {
      

      Attachments

        Activity

          People

            wc-triage WC Triage
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: