[PATCH] Drivers: hv: vmbus: fix typo in hv_port_info struct

Greg KH greg at kroah.com
Mon Jun 29 23:03:46 UTC 2015


On Mon, Jun 29, 2015 at 06:11:22PM -0300, Fabio Estevam wrote:
> On Mon, Jun 29, 2015 at 5:55 PM, Nik Nyby <nikolas at gnu.org> wrote:
> > This fixes a typo: base_flag_bumber to base_flag_number
> >
> > Signed-off-by: Nik Nyby <nikolas at gnu.org>
> > ---
> >  drivers/hv/hyperv_vmbus.h | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h
> > index cddc0c9..6383707 100644
> > --- a/drivers/hv/hyperv_vmbus.h
> > +++ b/drivers/hv/hyperv_vmbus.h
> > @@ -141,7 +141,7 @@ struct hv_port_info {
> >                 struct {
> >                         u32 target_sint;
> >                         u32 target_vp;
> > -                       u16 base_flag_bumber;
> > +                       u16 base_flag_number;
> 
> Shouldn't it be removed? It is not used anywhere.

Be careful, this might be in a data stream that the kernel driver is
just not using, but the size is needed to properly access other fields.

Only remove it after lots of testing.


More information about the devel mailing list