lpfc_debugfs_dumpHBASlim_data() stack space use

Rob Evers
2011-07-12T19:57:23Z

Hi James S.

I noticed:

static int
lpfc_debugfs_dumpHBASlim_data(struct lpfc_hba *phba, char *buf, int size)
{
int len = 0;
int i, off;
uint32_t *ptr;
char buffer[1024];

Would 'char *buffer=kmalloc()' be more appropriate here?

Rob