* [PATCH] NFS: Clean up errors in nfs_page.h
@ 2023-10-13 3:12 chenguohua
2023-10-13 10:50 ` Jeff Layton
0 siblings, 1 reply; 2+ messages in thread
From: chenguohua @ 2023-10-13 3:12 UTC (permalink / raw)
To: trond.myklebust, anna; +Cc: linux-nfs, linux-kernel
Fix the following errors reported by checkpatch:
ERROR: space required after that ',' (ctx:VxO)
Signed-off-by: JiangHui Xu <xujianghui@cdjrlc.com>
---
include/linux/nfs_page.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/nfs_page.h b/include/linux/nfs_page.h
index 1c315f854ea8..6a3c54bd2c40 100644
--- a/include/linux/nfs_page.h
+++ b/include/linux/nfs_page.h
@@ -122,7 +122,7 @@ struct nfs_pageio_descriptor {
/* arbitrarily selected limit to number of mirrors */
#define NFS_PAGEIO_DESCRIPTOR_MIRROR_MAX 16
-#define NFS_WBACK_BUSY(req) (test_bit(PG_BUSY,&(req)->wb_flags))
+#define NFS_WBACK_BUSY(req) (test_bit(PG_BUSY, &(req)->wb_flags))
extern struct nfs_page *nfs_page_create_from_page(struct nfs_open_context *ctx,
struct page *page,
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] NFS: Clean up errors in nfs_page.h
2023-10-13 3:12 [PATCH] NFS: Clean up errors in nfs_page.h chenguohua
@ 2023-10-13 10:50 ` Jeff Layton
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Layton @ 2023-10-13 10:50 UTC (permalink / raw)
To: chenguohua, trond.myklebust, anna; +Cc: linux-nfs, linux-kernel
On Fri, 2023-10-13 at 11:12 +0800, chenguohua@jari.cn wrote:
> Fix the following errors reported by checkpatch:
>
> ERROR: space required after that ',' (ctx:VxO)
>
> Signed-off-by: JiangHui Xu <xujianghui@cdjrlc.com>
> ---
> include/linux/nfs_page.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/nfs_page.h b/include/linux/nfs_page.h
> index 1c315f854ea8..6a3c54bd2c40 100644
> --- a/include/linux/nfs_page.h
> +++ b/include/linux/nfs_page.h
> @@ -122,7 +122,7 @@ struct nfs_pageio_descriptor {
> /* arbitrarily selected limit to number of mirrors */
> #define NFS_PAGEIO_DESCRIPTOR_MIRROR_MAX 16
>
> -#define NFS_WBACK_BUSY(req) (test_bit(PG_BUSY,&(req)->wb_flags))
> +#define NFS_WBACK_BUSY(req) (test_bit(PG_BUSY, &(req)->wb_flags))
>
> extern struct nfs_page *nfs_page_create_from_page(struct nfs_open_context *ctx,
> struct page *page,
In general, we don't usually take patches that just clean up whitespace
damage or stylistic problems. Doing so makes backporting harder as you
end up having to pull in extra patches to fix up minor differences
before bringing in substantive patches.
If you're fixing a real bug in the same area, then sure, go ahead and
fix up the style in the surrounding code, but if these patches don't
fix real bugs then I'd suggest not taking them.
--
Jeff Layton <jlayton@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-13 10:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-13 3:12 [PATCH] NFS: Clean up errors in nfs_page.h chenguohua
2023-10-13 10:50 ` Jeff Layton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox