From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Drebes Date: Fri, 08 Jun 2007 18:18:48 +0000 Subject: [KJ] [PATCH] [trivial] drivers/isdn/hardware/eicon/message.c: Message-Id: <200706082018.48770.lists-receive@programmierforen.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel-janitors@vger.kernel.org This patch replaces an array size calculation in drivers/isdn/hardware/eicon/message.c that was done using sizeof with the ARRAY_SIZE macro. Tested by compilation on an i386 box using "allyesconfig". Diffed against Linus' git-tree. Signed-off-by: Andi Drebes --- diff --git a/drivers/isdn/hardware/eicon/message.c b/drivers/isdn/hardware/eicon/message.c index ccd35d0..582af66 100644 --- a/drivers/isdn/hardware/eicon/message.c +++ b/drivers/isdn/hardware/eicon/message.c @@ -552,7 +552,7 @@ word api_put(APPL * appl, CAPI_MSG * msg) for(j=0;jheader.command) { _______________________________________________ Kernel-janitors mailing list Kernel-janitors@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors