* [PATCH v3 1/3] staging: vme_user: add the spaces around the "*" @ 2022-12-09 2:17 Matt Jan 2022-12-09 2:17 ` [PATCH v3 2/3] staging: vme_user: remove unnecessary spaces Matt Jan 2022-12-09 2:17 ` [PATCH v3 3/3] staging: vme_user: replace 'unsigned' with 'unsigned int' Matt Jan 0 siblings, 2 replies; 5+ messages in thread From: Matt Jan @ 2022-12-09 2:17 UTC (permalink / raw) To: Martyn Welch, Manohar Vanga, Greg Kroah-Hartman, linux-kernel, linux-staging Cc: Matt Jan Add a space around the "*" at vme_bridge.h to clear up a checkpatch check. Signed-off-by: Matt Jan <zoo868e@gmail.com> --- Changelog v2->v3: Resend the patch set in properly threaded and move the patch changelog to correct position, noted by Greg Kroah-Hartman <gregkh@linuxfoundation.org> v1->v2: Resend the correct patch set, noted by Greg Kroah-Hartman <gregkh@linuxfoundation.org> drivers/staging/vme_user/vme_bridge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vme_user/vme_bridge.h b/drivers/staging/vme_user/vme_bridge.h index 0bbefe9851d7..e17a8f7de165 100644 --- a/drivers/staging/vme_user/vme_bridge.h +++ b/drivers/staging/vme_user/vme_bridge.h @@ -4,7 +4,7 @@ #include "vme.h" -#define VME_CRCSR_BUF_SIZE (508*1024) +#define VME_CRCSR_BUF_SIZE (508 * 1024) /* * Resource structures */ -- 2.25.1 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v3 2/3] staging: vme_user: remove unnecessary spaces 2022-12-09 2:17 [PATCH v3 1/3] staging: vme_user: add the spaces around the "*" Matt Jan @ 2022-12-09 2:17 ` Matt Jan 2022-12-09 2:17 ` [PATCH v3 3/3] staging: vme_user: replace 'unsigned' with 'unsigned int' Matt Jan 1 sibling, 0 replies; 5+ messages in thread From: Matt Jan @ 2022-12-09 2:17 UTC (permalink / raw) To: Martyn Welch, Manohar Vanga, Greg Kroah-Hartman, linux-kernel, linux-staging Cc: Matt Jan Remove unnecessary spaces before function pointer arguments in vme_bridge.h. This is done with command ':%s/) (/)('. Signed-off-by: Matt Jan <zoo868e@gmail.com> --- Changelog v2->v3: Resend the patch set in properly threaded and move the patch changelog to correct position, noted by Greg Kroah-Hartman <grekh@linuxfoundation.org> v1->v2: Resend the correct patch set, noted by Greg Kroah-Hartman <gregkh@linuxfoundation.org> drivers/staging/vme_user/vme_bridge.h | 32 +++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/vme_user/vme_bridge.h b/drivers/staging/vme_user/vme_bridge.h index e17a8f7de165..5da2643e20d5 100644 --- a/drivers/staging/vme_user/vme_bridge.h +++ b/drivers/staging/vme_user/vme_bridge.h @@ -128,45 +128,45 @@ struct vme_bridge { struct mutex irq_mtx; /* Slave Functions */ - int (*slave_get) (struct vme_slave_resource *, int *, + int (*slave_get)(struct vme_slave_resource *, int *, unsigned long long *, unsigned long long *, dma_addr_t *, u32 *, u32 *); - int (*slave_set) (struct vme_slave_resource *, int, unsigned long long, + int (*slave_set)(struct vme_slave_resource *, int, unsigned long long, unsigned long long, dma_addr_t, u32, u32); /* Master Functions */ - int (*master_get) (struct vme_master_resource *, int *, + int (*master_get)(struct vme_master_resource *, int *, unsigned long long *, unsigned long long *, u32 *, u32 *, u32 *); - int (*master_set) (struct vme_master_resource *, int, + int (*master_set)(struct vme_master_resource *, int, unsigned long long, unsigned long long, u32, u32, u32); - ssize_t (*master_read) (struct vme_master_resource *, void *, size_t, + ssize_t (*master_read)(struct vme_master_resource *, void *, size_t, loff_t); - ssize_t (*master_write) (struct vme_master_resource *, void *, size_t, + ssize_t (*master_write)(struct vme_master_resource *, void *, size_t, loff_t); - unsigned int (*master_rmw) (struct vme_master_resource *, unsigned int, + unsigned int (*master_rmw)(struct vme_master_resource *, unsigned int, unsigned int, unsigned int, loff_t); /* DMA Functions */ - int (*dma_list_add) (struct vme_dma_list *, struct vme_dma_attr *, + int (*dma_list_add)(struct vme_dma_list *, struct vme_dma_attr *, struct vme_dma_attr *, size_t); - int (*dma_list_exec) (struct vme_dma_list *); - int (*dma_list_empty) (struct vme_dma_list *); + int (*dma_list_exec)(struct vme_dma_list *); + int (*dma_list_empty)(struct vme_dma_list *); /* Interrupt Functions */ - void (*irq_set) (struct vme_bridge *, int, int, int); - int (*irq_generate) (struct vme_bridge *, int, int); + void (*irq_set)(struct vme_bridge *, int, int, int); + int (*irq_generate)(struct vme_bridge *, int, int); /* Location monitor functions */ - int (*lm_set) (struct vme_lm_resource *, unsigned long long, u32, u32); - int (*lm_get) (struct vme_lm_resource *, unsigned long long *, u32 *, + int (*lm_set)(struct vme_lm_resource *, unsigned long long, u32, u32); + int (*lm_get)(struct vme_lm_resource *, unsigned long long *, u32 *, u32 *); int (*lm_attach)(struct vme_lm_resource *, int, void (*callback)(void *), void *); - int (*lm_detach) (struct vme_lm_resource *, int); + int (*lm_detach)(struct vme_lm_resource *, int); /* CR/CSR space functions */ - int (*slot_get) (struct vme_bridge *); + int (*slot_get)(struct vme_bridge *); /* Bridge parent interface */ void *(*alloc_consistent)(struct device *dev, size_t size, -- 2.25.1 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v3 3/3] staging: vme_user: replace 'unsigned' with 'unsigned int' 2022-12-09 2:17 [PATCH v3 1/3] staging: vme_user: add the spaces around the "*" Matt Jan 2022-12-09 2:17 ` [PATCH v3 2/3] staging: vme_user: remove unnecessary spaces Matt Jan @ 2022-12-09 2:17 ` Matt Jan 1 sibling, 0 replies; 5+ messages in thread From: Matt Jan @ 2022-12-09 2:17 UTC (permalink / raw) To: Martyn Welch, Manohar Vanga, Greg Kroah-Hartman, linux-kernel, linux-staging Cc: Matt Jan Update the bare use of "unsigned" to the preferred "unsigned int". Signed-off-by: Matt Jan <zoo868e@gmail.com> --- Changelog v2->v3: Resend the patch set in properly threaded and move the patch changelog to correct position, noted by Greg Kroah-Hartman <gregkh@linuxfoundation.org> v1->v2: Resend the correct patch set, noted by Greg Kroah-Hartman <gregkh@linuxfoundation.org> Align the comment correctly, noted by Dan Carpenter <error27@gmail.com> drivers/staging/vme_user/vme_bridge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vme_user/vme_bridge.h b/drivers/staging/vme_user/vme_bridge.h index 5da2643e20d5..11df0a5e7f7b 100644 --- a/drivers/staging/vme_user/vme_bridge.h +++ b/drivers/staging/vme_user/vme_bridge.h @@ -84,7 +84,7 @@ struct vme_error_handler { unsigned long long end; /* End of error window */ unsigned long long first_error; /* Address of the first error */ u32 aspace; /* Address space of error window*/ - unsigned num_errors; /* Number of errors */ + unsigned int num_errors; /* Number of errors */ }; struct vme_callback { -- 2.25.1 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20221208140531.3840-1-zoo868e@gmail.com>]
* Re: [PATCH v3 1/3] staging: vme_user: add the spaces around the "*" [not found] <20221208140531.3840-1-zoo868e@gmail.com> @ 2022-12-08 16:01 ` Greg Kroah-Hartman [not found] ` <CAB9pA+-2tZQDXxQ4JPrXb6K0HH=gv_9SAPKp1DSrk_M6OxL06g@mail.gmail.com> 0 siblings, 1 reply; 5+ messages in thread From: Greg Kroah-Hartman @ 2022-12-08 16:01 UTC (permalink / raw) To: Matt Jan; +Cc: Martyn Welch, Manohar Vanga, linux-kernel, linux-staging On Thu, Dec 08, 2022 at 10:05:32PM +0800, Matt Jan wrote: > Add a space around the "*" at vme_bridge.h to clear up a checkpatch > check. > > Signed-off-by: Matt Jan <zoo868e@gmail.com> This series never showed up on lore.kernel.org, why not? It seems like you are spoofing the gmail.com address? Or is something else going wrong on your email side? thanks, greg k-h ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <CAB9pA+-2tZQDXxQ4JPrXb6K0HH=gv_9SAPKp1DSrk_M6OxL06g@mail.gmail.com>]
* Re: [PATCH v3 1/3] staging: vme_user: add the spaces around the "*" [not found] ` <CAB9pA+-2tZQDXxQ4JPrXb6K0HH=gv_9SAPKp1DSrk_M6OxL06g@mail.gmail.com> @ 2022-12-08 18:20 ` Greg Kroah-Hartman 0 siblings, 0 replies; 5+ messages in thread From: Greg Kroah-Hartman @ 2022-12-08 18:20 UTC (permalink / raw) To: 詹敬平 Cc: Martyn Welch, Manohar Vanga, linux-kernel, linux-staging On Fri, Dec 09, 2022 at 12:55:41AM +0800, 詹敬平 wrote: > That's weird. The email send by command 'git send-mail' not appear in my > '[Gmail]/Sent mail' folder, but the email send by mutt does. Maybe I need > configure the .gitconfog? > > Here is my .gitconfog > > [user] > email = zoo868e@gmail.com > name = Matt Jan > [core] > autocrlf = input No idea, sorry but do realize that when you send email, gmail will not show mail that you sent, that's a common issue. Also you just sent this in html format, which is rejected by the mailing lists :( thanks, greg k-h ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-12-09 2:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-09 2:17 [PATCH v3 1/3] staging: vme_user: add the spaces around the "*" Matt Jan
2022-12-09 2:17 ` [PATCH v3 2/3] staging: vme_user: remove unnecessary spaces Matt Jan
2022-12-09 2:17 ` [PATCH v3 3/3] staging: vme_user: replace 'unsigned' with 'unsigned int' Matt Jan
[not found] <20221208140531.3840-1-zoo868e@gmail.com>
2022-12-08 16:01 ` [PATCH v3 1/3] staging: vme_user: add the spaces around the "*" Greg Kroah-Hartman
[not found] ` <CAB9pA+-2tZQDXxQ4JPrXb6K0HH=gv_9SAPKp1DSrk_M6OxL06g@mail.gmail.com>
2022-12-08 18:20 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®