From: David Miller Subject: Re: [PATCH 1/1] isdn: Use kernel_{send,recv}msg instead of open coding Date: Thu, 21 May 2009 16:49:29 -0700 (PDT) Message-ID: <20090521.164929.241809587.davem@davemloft.net> References: <20090521154126.GH5956@ghostprotocols.net> <20090521.151443.79607416.davem@davemloft.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: isdn@linux-pingi.de, paul.moore@hp.com, netdev@vger.kernel.org, vanhoof@redhat.com, williams@redhat.com, linux-security-module@vger.kernel.org To: acme@redhat.com Return-path: In-Reply-To: <20090521.151443.79607416.davem@davemloft.net> Sender: linux-security-module-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: David Miller Date: Thu, 21 May 2009 15:14:43 -0700 (PDT) > From: Arnaldo Carvalho de Melo > Date: Thu, 21 May 2009 12:41:26 -0300 > >> Reducing the number of direct users of sock_{recv,send}msg. >> >> Signed-off-by: Arnaldo Carvalho de Melo > > Nice work, applied, thanks! Nevermind, I'm reverting, this doesn't even build: drivers/isdn/mISDN/l1oip_core.c: In function 'l1oip_socket_send': drivers/isdn/mISDN/l1oip_core.c:354: warning: passing argument 3 of 'kernel_sendmsg' makes pointer from integer without a cast drivers/isdn/mISDN/l1oip_core.c:354: error: too few arguments to function 'kernel_sendmsg' drivers/isdn/mISDN/l1oip_core.c: In function 'l1oip_socket_thread': drivers/isdn/mISDN/l1oip_core.c:729: warning: passing argument 3 of 'kernel_recvmsg' makes pointer from integer without a cast drivers/isdn/mISDN/l1oip_core.c:729: error: too few arguments to function 'kernel_recvmsg'