From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Uf9yy-00032D-EH for ltp-list@lists.sourceforge.net; Wed, 22 May 2013 14:25:36 +0000 Date: Wed, 22 May 2013 16:26:46 +0200 From: chrubis@suse.cz Message-ID: <20130522142645.GD7373@rei> References: <1369218265-27999-1-git-send-email-alexey.kodanev@oracle.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1369218265-27999-1-git-send-email-alexey.kodanev@oracle.com> Subject: Re: [LTP] [PATCH] New core test of cgroups and extended attributes List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Alexey Kodanev Cc: vasily.isaenko@oracle.com, ltp-list@lists.sourceforge.net Hi! > Support of extended attributes in cgroups was added in Linux 3.7. > + /* get xattr value */ > + char xval[size]; > + if (getxattr(file, tkeys[i].name, (void *)xval, size) == -1) { The conversion from char * to void * should be automatic so the cast to (void *) shouldn't be needed, or not? The rest if fine. Waiting for resping of the tst_resm_hexd() patch before aplying this one. -- Cyril Hrubis chrubis@suse.cz ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list