[PATCH 3.4 087/125] mISDN: fix a loop count

2016-10-12 Thread lizf
From: Dan Carpenter 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 40d24c4d8a7430aa4dfd7a665fa3faf3b05b673f upstream. There are two issue here. 1) cnt starts as maxloop + 1 so all these loops iterate one more

[PATCH 3.4 087/125] mISDN: fix a loop count

2016-10-12 Thread lizf
From: Dan Carpenter 3.4.113-rc1 review patch. If anyone has any objections, please let me know. -- commit 40d24c4d8a7430aa4dfd7a665fa3faf3b05b673f upstream. There are two issue here. 1) cnt starts as maxloop + 1 so all these loops iterate one more time than intended. 2)