mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
Eliminate another compiler warning in some build modes
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4746 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1572,7 +1572,7 @@ readpage:
|
||||
static int prepare_read(struct file *filp, struct scatterlist *sg, int sg_cnt,
|
||||
pgoff_t offset)
|
||||
{
|
||||
struct page *page;
|
||||
struct page *page = NULL;
|
||||
int i, res;
|
||||
loff_t off, last = ((offset + sg_cnt - 1) << PAGE_SHIFT) +
|
||||
sg[sg_cnt - 1].offset + sg[sg_cnt - 1].length;
|
||||
|
||||
Reference in New Issue
Block a user