>>> On 11.01.17 at 06:13, <yi.y....@linux.intel.com> wrote: > On 17-01-10 06:46:03, Jan Beulich wrote: >> >>> On 14.12.16 at 05:07, <yi.y....@linux.intel.com> wrote: >> > +int psr_get_info(unsigned int socket, enum cbm_type type, >> > + uint32_t dat[], uint32_t array_len) >> > +{ >> > + struct psr_socket_info *info = get_socket_info(socket); >> > + struct feat_node *feat_tmp; >> >> With the hook function taking a pointer to const I don#t see why >> this one can't be const, too. >> > Do you mean feat_tmp? Thanks!
Not sure why you ask - yes, that's why I've placed the comment at precisely this line. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel