Re: [PATCH] Fix warnings from CIFS on 2.5.61

From: Dave Kleikamp (shaggy@austin.ibm.com)
Date: Tue Feb 18 2003 - 08:07:42 EST


On Monday 17 February 2003 16:49, Stephen Hemminger wrote:

> + pSMB->MaxCount = cpu_to_le16(min_t(const int,
> + count,
> + (tcon->ses->server->maxBuf -
> + MAX_CIFS_HDR_SIZE) & 0xFFFFFF00));

The type here should be const unsigned int. Both count and maxBuf are
unsigned.

-- 
David Kleikamp
IBM Linux Technology Center

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:21 EST