Re: [PATCH] Fix warnings from CIFS on 2.5.61

Dave Kleikamp (shaggy@austin.ibm.com)
Tue, 18 Feb 2003 07:07:42 -0600


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/