linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: change prev_offset type to unsigned long
@ 2020-08-17 15:06 Bean Huo
  2020-08-17 15:18 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: Bean Huo @ 2020-08-17 15:06 UTC (permalink / raw)
  To: akpm, linux-mm, linux-kernel; +Cc: Bean Huo

From: Bean Huo <beanhuo@micron.com>

Signed-off-by: Bean Huo <beanhuo@micron.com>
---
 mm/filemap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/filemap.c b/mm/filemap.c
index cf4bdf7803b6..d736c7a4b826 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -2025,7 +2025,7 @@ ssize_t generic_file_buffered_read(struct kiocb *iocb,
 	pgoff_t last_index;
 	pgoff_t prev_index;
 	unsigned long offset;      /* offset into pagecache page */
-	unsigned int prev_offset;
+	unsigned long prev_offset;
 	int error = 0;
 
 	if (unlikely(*ppos >= inode->i_sb->s_maxbytes))
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-17 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-17 15:06 [PATCH] mm: change prev_offset type to unsigned long Bean Huo
2020-08-17 15:18 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).