lkml.org 
[lkml]   [2023]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH v3] staging: vme_user: fix alignment of open parenthesis and deleted trailing spaces
    Fixed all CHECK: Alignment should match open parenthesis
    and deleted the trailing whitespaces as reported by
    checkpatch to adhere to the Linux kernel coding-style
    guidelines.

    Signed-off-by: Alexon Oliveira <alexondunkan@gmail.com>
    ---

    Changes in v3:
    - Rebased against staging.git and staging-next branch, noted by Greg KH

    Changes in v2:
    - Fixed changelog, noted by Greg KH

    drivers/staging/vme_user/vme.c | 8 ++++----
    1 file changed, 4 insertions(+), 4 deletions(-)

    diff --git a/drivers/staging/vme_user/vme.c b/drivers/staging/vme_user/vme.c
    index 977c81e2f3c7..741593d75a63 100644
    --- a/drivers/staging/vme_user/vme.c
    +++ b/drivers/staging/vme_user/vme.c
    @@ -563,7 +563,7 @@ EXPORT_SYMBOL(vme_master_request);
    * returned.
    */
    int vme_master_set(struct vme_resource *resource, int enabled,
    - unsigned long long vme_base, unsigned long long size,
    + unsigned long long vme_base, unsigned long long size,
    u32 aspace, u32 cycle, u32 dwidth)
    {
    struct vme_bridge *bridge = find_bridge(resource);
    @@ -614,7 +614,7 @@ EXPORT_SYMBOL(vme_master_set);
    * device or if an invalid resource has been provided.
    */
    int vme_master_get(struct vme_resource *resource, int *enabled,
    - unsigned long long *vme_base, unsigned long long *size,
    + unsigned long long *vme_base, unsigned long long *size,
    u32 *aspace, u32 *cycle, u32 *dwidth)
    {
    struct vme_bridge *bridge = find_bridge(resource);
    @@ -1045,7 +1045,7 @@ EXPORT_SYMBOL(vme_dma_pci_attribute);
    * Return: Pointer to VME DMA attribute, NULL on failure.
    */
    struct vme_dma_attr *vme_dma_vme_attribute(unsigned long long address,
    - u32 aspace, u32 cycle,
    + u32 aspace, u32 cycle,
    u32 dwidth)
    {
    struct vme_dma_attr *attributes;
    @@ -1841,7 +1841,7 @@ EXPORT_SYMBOL(vme_unregister_bridge);
    /* - Driver Registration --------------------------------------------------- */

    static int __vme_register_driver_bus(struct vme_driver *drv,
    - struct vme_bridge *bridge,
    + struct vme_bridge *bridge,
    unsigned int ndevs)
    {
    int err;
    --
    2.41.0
    \
     
     \ /
      Last update: 2023-08-08 18:50    [W:8.043 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site