Re: [PATCH 34/47] staging/lustre/libcfs: add CPU table functions for uniprocessor

2014-04-29 Thread Dan Carpenter
On Sun, Apr 27, 2014 at 01:06:58PM -0400, Oleg Drokin wrote: > int > +cfs_cpt_table_print(struct cfs_cpt_table *cptab, char *buf, int len) > +{ > + int rc = 0; GCC has a feature where it warns about unitialized variables. If you do bogus it disables this safety feature. Also the bogus a

[PATCH 34/47] staging/lustre/libcfs: add CPU table functions for uniprocessor

2014-04-27 Thread Oleg Drokin
From: Li Xi Some CPU table functions for uniprocessor architecture is missing. Signed-off-by: Li Xi Signed-off-by: James Simmons Reviewed-on: http://review.whamcloud.com/8873 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4199 Reviewed-by: Bob Glossman Reviewed-by: Dmitry Eremin Reviewe