RE: [PATCH 41/47] IB/qib: Suppress gcc 7 fall-through complaints

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Subject: [PATCH 41/47] IB/qib: Suppress gcc 7 fall-through complaints
> 
> Avoid that gcc 7 reports the following warning when building with W=1:
> 
> warning: this statement may fall through [-Wimplicit-fallthrough=]
> 

Bart,

I'm ok with this but...

I'm curious if there is a documentation change in the kernel on a common tree wide approach for gcc 7.

I saw a patch to add the attribute based method of getting rid of the warning, but it doesn't appear to have been merged.

This error probably runs through all of our drivers.

Acked-by: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx>

Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux