Skip to contentSkip to conversation

mm: change prev_offset type to unsigned long

PATCH In review Bean Huo 2 participants 2 messages Aug 17, 2020

Subsystems (2)
lore
Share & tools
lore

Bean Huo

author
#0 lore raw

PATCH 1/1 mm: change prev_offset type to unsigned long

From: Bean Huo <[email protected]>

---
 mm/filemap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/filemap.c +1 -1
index cf4bdf7803b6..d736c7a4b826 100644
@@ -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))
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 1 line · Bean Huo

From: Bean Huo <[email protected]>

There's no description. Please explain why this patch is needed.

Quoted 22 lines
---
 mm/filemap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/filemap.c +1 -1
index cf4bdf7803b6..d736c7a4b826 100644
@@ -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))
Signature · 1 line
2.17.1