OpenNuvoton / NUC970_Linux_Kernel

Linux Kernel Source Code for NUC970 Series Microprocessor
Other
68 stars 69 forks source link

pnand_phyaddr type issue #50

Closed xuganlai closed 4 years ago

xuganlai commented 4 years ago

hi
now i have a issue:pnand_phyaddr the member of struct nuc970_nand_info type is unsigned char * ,why not unsigned char?thanks.

yachen commented 4 years ago

Unsigned char can't hold address.

xuganlai commented 4 years ago

why before use it is not allocated.feel the usage have a risk.the type should be unsigned int,no unsigned char

yachen commented 4 years ago

It's allocated. Pls check probe function.