lkml.org 
[lkml]   [2021]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 13/36] scsi: pmcraid: Correct function name pmcraid_show_adapter_id() in header
    Date
    Fixes the following W=1 kernel build warning(s):

    drivers/scsi/pmcraid.c:4079: warning: expecting prototype for pmcraid_show_io_adapter_id(). Prototype was for pmcraid_show_adapter_id() instead

    Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
    Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
    Cc: Anil Ravindranath <anil_ravindranath@pmc-sierra.com>
    Cc: linux-scsi@vger.kernel.org
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    ---
    drivers/scsi/pmcraid.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c
    index c98e39eb04b24..bffd9a9349e72 100644
    --- a/drivers/scsi/pmcraid.c
    +++ b/drivers/scsi/pmcraid.c
    @@ -4063,7 +4063,7 @@ static struct device_attribute pmcraid_driver_version_attr = {
    };

    /**
    - * pmcraid_show_io_adapter_id - Display driver assigned adapter id
    + * pmcraid_show_adapter_id - Display driver assigned adapter id
    * @dev: class device struct
    * @attr: unused
    * @buf: buffer
    --
    2.27.0
    \
     
     \ /
      Last update: 2021-03-17 10:14    [W:2.098 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site